Skip to content

Commit 69a1b55

Browse files
committed
force NFC as GPIO
1 parent ca40056 commit 69a1b55

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

Makefile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,6 @@ SD_NAME = s140
101101
DFU_DEV_REV = 52840
102102
endif
103103

104-
105-
106104
#******************************************************************************
107105
# SOURCE FILES
108106
#******************************************************************************
@@ -252,8 +250,8 @@ CFLAGS += -DMK_BOOTLOADER_VERSION=0x0$(SD_VER1)0$(SD_VER2)0$(SD_VER3)UL
252250

253251
CFLAGS += -D__HEAP_SIZE=0
254252
CFLAGS += -DCONFIG_GPIO_AS_PINRESET
253+
CFLAGS += -DCONFIG_NFCT_PINS_AS_GPIOS
255254
CFLAGS += -DBLE_STACK_SUPPORT_REQD
256-
CFLAGS += -DBSP_DEFINES_ONLY
257255
CFLAGS += -DSWI_DISABLE0
258256
CFLAGS += -DSOFTDEVICE_PRESENT
259257
CFLAGS += -DFLOAT_ABI_HARD
@@ -296,9 +294,7 @@ LDFLAGS += --specs=nano.specs -lc -lnosys
296294
#******************************************************************************
297295
ASMFLAGS += -x assembler-with-cpp
298296
ASMFLAGS += -D__HEAP_SIZE=0
299-
ASMFLAGS += -DCONFIG_GPIO_AS_PINRESET
300297
ASMFLAGS += -DBLE_STACK_SUPPORT_REQD
301-
ASMFLAGS += -DBSP_DEFINES_ONLY
302298
ASMFLAGS += -DSWI_DISABLE0
303299
ASMFLAGS += -DSOFTDEVICE_PRESENT
304300
ASMFLAGS += -DFLOAT_ABI_HARD

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ This is a CDC/DFU/UF2 bootloader for nRF52 boards.
44

55
- [Adafruit Feather nRF52832](https://www.adafruit.com/product/3406)
66
- [Adafruit Feather nRF52840 Express](https://www.adafruit.com/product/4062)
7+
- [Electronut Labs Papyr](https://docs.electronut.in/papyr/)
8+
- MakerDiary MDK nRF52840 USB Dongle
79
- Nordic nRF52840DK PCA10056
810
- Nordic nRF52840DK PCA10059 ("Dongle")
911
- Particle Argon
1012
- Particle Boron
1113
- Particle Xenon
12-
- MakerDiary MDK nRF52840 USB Dongle
13-
- [Electronut Labs Papyr](https://docs.electronut.in/papyr/)
1414

1515
UF2 is an easy-to-use bootloader that appears as a flash drive. You can just copy `.uf2`-format
1616
application images to the flash drive to load new firmware.

0 commit comments

Comments
 (0)