@@ -172,6 +172,7 @@ SRC_FILES += \
172
172
$(PROJ_DIR ) /utils.c \
173
173
$(PROJ_DIR ) /version2.c \
174
174
$(PROJ_DIR ) /amiibo_helper.c \
175
+ $(PROJ_DIR ) /mui_qrcode_helper.c \
175
176
$(PROJ_DIR ) /app_error_handler.c \
176
177
$(PROJ_DIR ) /libc_nano_stubs.c \
177
178
$(PROJ_DIR ) /hal/hal_spi_bus.c \
@@ -300,6 +301,7 @@ SRC_FILES += \
300
301
$(COMP_DIR ) /littlefs/lfs.c \
301
302
$(COMP_DIR ) /littlefs/lfs_util.c \
302
303
$(COMP_DIR ) /cwalk/src/cwalk.c \
304
+ $(COMP_DIR ) /qrcode/c/qrcodegen.c \
303
305
$(U8G2_ROOT ) /u8g2_bitmap.c \
304
306
$(U8G2_ROOT ) /u8g2_box.c \
305
307
$(U8G2_ROOT ) /u8g2_buffer.c \
@@ -522,6 +524,7 @@ INC_FOLDERS += \
522
524
$(COMP_DIR ) /littlefs \
523
525
$(COMP_DIR ) /tlsf \
524
526
$(COMP_DIR ) /cwalk/include \
527
+ $(COMP_DIR ) /qrcode/c \
525
528
$(SDK_ROOT ) /components/libraries/bsp
526
529
527
530
# Libraries common to all targets
@@ -666,14 +669,17 @@ ota:
666
669
full : settingsgen
667
670
mergehex --merge $(OUTPUT_DIRECTORY ) /settings.hex $(OUTPUT_DIRECTORY ) /bootloader.hex $(SDK_ROOT ) /components/softdevice/s112/hex/s112_nrf52_7.2.0_softdevice.hex $(OUTPUT_DIRECTORY ) /pixljs.hex --output $(OUTPUT_DIRECTORY ) /pixljs_all.hex
668
671
669
- flash_openocd :
672
+ flash_ocd : default
670
673
openocd -f interface/cmsis-dap.cfg -c " transport select swd" -f target/nrf52.cfg -d2 -c init -c " reset init" -c halt -c " program $( OUTPUT_DIRECTORY) /pixljs.hex verify" -c " reset" -c exit
671
674
672
- flash_openocd_all :
673
- openocd -f interface/cmsis-dap.cfg -c " transport select swd" -f target/nrf52.cfg -d2 -c init -c " reset init" -c halt -c " nrf5 mass_erase" -c " program $( SDK_ROOT) /components/softdevice/s112/hex/s112_nrf52_7.2.0_softdevice.hex verify" -c " program $( OUTPUT_DIRECTORY) /pixljs.hex verify" -c " reset" -c exit
675
+ flash_all_ocd :
676
+ openocd -f interface/cmsis-dap.cfg -c " transport select swd" -f target/nrf52.cfg -d2 -c init -c " reset init" -c halt -c " nrf51 mass_erase" -c " program $( SDK_ROOT) /components/softdevice/s112/hex/s112_nrf52_7.2.0_softdevice.hex verify" -c " program $( OUTPUT_DIRECTORY) /pixljs.hex verify" -c " reset" -c exit
674
677
675
- reset_openocd :
678
+ reset_ocd :
676
679
openocd -f interface/cmsis-dap.cfg -c " transport select swd" -f target/nrf52.cfg -c " init" -c " reset" -c " exit"
677
680
678
- erase_openocd :
679
- openocd -f interface/cmsis-dap.cfg -c " transport select swd" -f target/nrf52.cfg -d2 -c init -c " reset init" -c halt -c " nrf5 mass_erase" -c " reset" -c exit
681
+ erase_ocd :
682
+ openocd -f interface/cmsis-dap.cfg -c " transport select swd" -f target/nrf52.cfg -d2 -c init -c " reset init" -c halt -c " nrf51 mass_erase" -c " reset" -c exit
683
+
684
+ rtt_ocd :
685
+ openocd -f openocd/rtt.cfg
0 commit comments