From 69a1b555e4848b1016c683c9d180e8f1e09f0cbc Mon Sep 17 00:00:00 2001 From: hathach Date: Wed, 24 Apr 2019 12:23:11 +0700 Subject: [PATCH] force NFC as GPIO --- Makefile | 6 +----- README.md | 4 ++-- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 8c74c35..3b767da 100644 --- a/Makefile +++ b/Makefile @@ -101,8 +101,6 @@ SD_NAME = s140 DFU_DEV_REV = 52840 endif - - #****************************************************************************** # SOURCE FILES #****************************************************************************** @@ -252,8 +250,8 @@ CFLAGS += -DMK_BOOTLOADER_VERSION=0x0$(SD_VER1)0$(SD_VER2)0$(SD_VER3)UL CFLAGS += -D__HEAP_SIZE=0 CFLAGS += -DCONFIG_GPIO_AS_PINRESET +CFLAGS += -DCONFIG_NFCT_PINS_AS_GPIOS CFLAGS += -DBLE_STACK_SUPPORT_REQD -CFLAGS += -DBSP_DEFINES_ONLY CFLAGS += -DSWI_DISABLE0 CFLAGS += -DSOFTDEVICE_PRESENT CFLAGS += -DFLOAT_ABI_HARD @@ -296,9 +294,7 @@ LDFLAGS += --specs=nano.specs -lc -lnosys #****************************************************************************** ASMFLAGS += -x assembler-with-cpp ASMFLAGS += -D__HEAP_SIZE=0 -ASMFLAGS += -DCONFIG_GPIO_AS_PINRESET ASMFLAGS += -DBLE_STACK_SUPPORT_REQD -ASMFLAGS += -DBSP_DEFINES_ONLY ASMFLAGS += -DSWI_DISABLE0 ASMFLAGS += -DSOFTDEVICE_PRESENT ASMFLAGS += -DFLOAT_ABI_HARD diff --git a/README.md b/README.md index 6834ac0..967c2df 100644 --- a/README.md +++ b/README.md @@ -4,13 +4,13 @@ This is a CDC/DFU/UF2 bootloader for nRF52 boards. - [Adafruit Feather nRF52832](https://www.adafruit.com/product/3406) - [Adafruit Feather nRF52840 Express](https://www.adafruit.com/product/4062) +- [Electronut Labs Papyr](https://docs.electronut.in/papyr/) +- MakerDiary MDK nRF52840 USB Dongle - Nordic nRF52840DK PCA10056 - Nordic nRF52840DK PCA10059 ("Dongle") - Particle Argon - Particle Boron - Particle Xenon -- MakerDiary MDK nRF52840 USB Dongle -- [Electronut Labs Papyr](https://docs.electronut.in/papyr/) UF2 is an easy-to-use bootloader that appears as a flash drive. You can just copy `.uf2`-format application images to the flash drive to load new firmware.