File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -39,10 +39,13 @@ feather52.upload.maximum_data_size=51072
3939# Build
4040feather52.build.mcu=cortex-m4
4141feather52.build.f_cpu=64000000
42- feather52.build.board=FEATHER52
42+ feather52.build.board=NRF52_FEATHER
4343feather52.build.core=nRF5
4444feather52.build.variant=feather52
4545
46+ # compatiable with other lib only, would remove in the future
47+ feather52.build.extra_flags=-DARDUINO_FEATHER52
48+
4649# Debug Menu
4750feather52.menu.debug.l0=Level 0 (Release)
4851feather52.menu.debug.l0.build.debug_flags=-DCFG_DEBUG=0
@@ -66,10 +69,13 @@ feather52.menu.debug.l2.build.debug_flags=-DCFG_DEBUG=2
6669# Build
6770#metro52.build.mcu=cortex-m4
6871#metro52.build.f_cpu=64000000
69- #metro52.build.board=METRO52
72+ #metro52.build.board=NRF52_METRO
7073#metro52.build.core=nRF5
7174#metro52.build.variant=metro52
7275
76+ # compatiable with other lib only, would remove in the future
77+ #metro52.build.extra_flags=-DARDUINO_FEATHER52
78+
7379# Debug Menu
7480#metro52.menu.debug.l0=Level 0 (Release)
7581#metro52.menu.debug.l0.build.debug_flags=-DCFG_DEBUG=0
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ nrf.sdk.path={build.core.path}/SDK
5959rtos.path={build.core.path}/freertos
6060nffs.path={runtime.platform.path}/libraries/nffs/src
6161
62- compiler.nrf.flags=-DNRF5 -DNRF52 -DS132 "-I{nrf.sdk.path}/components/toolchain/" "-I{nrf.sdk.path}/components/toolchain/CMSIS/Include" "-I{nrf.sdk.path}/components/toolchain/gcc/" "-I{nrf.sdk.path}/components/device/" "-I{nrf.sdk.path}/components/drivers_nrf/delay/" "-I{nrf.sdk.path}/components/softdevice/s132/headers/" "-I{rtos.path}/source/include" "-I{rtos.path}/config" "-I{rtos.path}/portable/GCC/nrf52" "-I{rtos.path}/portable/CMSIS/nrf52"
62+ compiler.nrf.flags=-DNRF5 -DNRF52 -DS132 -DARDUINO_NRF52_ADAFRUIT "-I{nrf.sdk.path}/components/toolchain/" "-I{nrf.sdk.path}/components/toolchain/CMSIS/Include" "-I{nrf.sdk.path}/components/toolchain/gcc/" "-I{nrf.sdk.path}/components/device/" "-I{nrf.sdk.path}/components/drivers_nrf/delay/" "-I{nrf.sdk.path}/components/softdevice/s132/headers/" "-I{rtos.path}/source/include" "-I{rtos.path}/config" "-I{rtos.path}/portable/GCC/nrf52" "-I{rtos.path}/portable/CMSIS/nrf52"
6363
6464nffs.includes="-I{nffs.path}/fs/nffs/include" "-I{nffs.path}/fs/fs/include" "-I{nffs.path}/util/crc/include" "-I{nffs.path}/kernel/os/include" "-I{nffs.path}/kernel/os/include/os/arch/cortex_m4" "-I{nffs.path}/hw/hal/include" "-I{nffs.path}/sys/flash_map/include"
6565
You can’t perform that action at this time.
0 commit comments