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
39
39
# Build
40
40
feather52.build.mcu=cortex-m4
41
41
feather52.build.f_cpu=64000000
42
- feather52.build.board=FEATHER52
42
+ feather52.build.board=NRF52_FEATHER
43
43
feather52.build.core=nRF5
44
44
feather52.build.variant=feather52
45
45
46
+ # compatiable with other lib only, would remove in the future
47
+ feather52.build.extra_flags=-DARDUINO_FEATHER52
48
+
46
49
# Debug Menu
47
50
feather52.menu.debug.l0=Level 0 (Release)
48
51
feather52.menu.debug.l0.build.debug_flags=-DCFG_DEBUG=0
@@ -66,10 +69,13 @@ feather52.menu.debug.l2.build.debug_flags=-DCFG_DEBUG=2
66
69
# Build
67
70
#metro52.build.mcu=cortex-m4
68
71
#metro52.build.f_cpu=64000000
69
- #metro52.build.board=METRO52
72
+ #metro52.build.board=NRF52_METRO
70
73
#metro52.build.core=nRF5
71
74
#metro52.build.variant=metro52
72
75
76
+ # compatiable with other lib only, would remove in the future
77
+ #metro52.build.extra_flags=-DARDUINO_FEATHER52
78
+
73
79
# Debug Menu
74
80
#metro52.menu.debug.l0=Level 0 (Release)
75
81
#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
59
59
rtos.path={build.core.path}/freertos
60
60
nffs.path={runtime.platform.path}/libraries/nffs/src
61
61
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"
63
63
64
64
nffs.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"
65
65
You can’t perform that action at this time.
0 commit comments