change board macro for nrf52 board
- ARDUINO_NRF52_FEATHER for feather52 (previously ARDUINO_FEATHER52). - ARDUINO_NRF52_METRO for metro52 - ARDUINO_NRF52_ADAFRUIT for both feather52, metro52 and other nrf52 board made by Adafruit. ARDUINO_FEATHER52 is still defined to be backward compatible with other libraries.
This commit is contained in:
1 parent
a5c59c668d
commit
a91529fc9b
2 files changed
+9
-3
No files matched your search
+8
-2
@@ -39,10 +39,13 @@ feather52.upload.maximum_data_size=51072
|
||||
# Build
|
||||
feather52.build.mcu=cortex-m4
|
||||
feather52.build.f_cpu=64000000
|
||||
feather52.build.board=FEATHER52
|
||||
feather52.build.board=NRF52_FEATHER
|
||||
feather52.build.core=nRF5
|
||||
feather52.build.variant=feather52
|
||||
|
||||
# compatiable with other lib only, would remove in the future
|
||||
feather52.build.extra_flags=-DARDUINO_FEATHER52
|
||||
|
||||
# Debug Menu
|
||||
feather52.menu.debug.l0=Level 0 (Release)
|
||||
feather52.menu.debug.l0.build.debug_flags=-DCFG_DEBUG=0
|
||||
@@ -66,10 +69,13 @@ feather52.menu.debug.l2.build.debug_flags=-DCFG_DEBUG=2
|
||||
# Build
|
||||
#metro52.build.mcu=cortex-m4
|
||||
#metro52.build.f_cpu=64000000
|
||||
#metro52.build.board=METRO52
|
||||
#metro52.build.board=NRF52_METRO
|
||||
#metro52.build.core=nRF5
|
||||
#metro52.build.variant=metro52
|
||||
|
||||
# compatiable with other lib only, would remove in the future
|
||||
#metro52.build.extra_flags=-DARDUINO_FEATHER52
|
||||
|
||||
# Debug Menu
|
||||
#metro52.menu.debug.l0=Level 0 (Release)
|
||||
#metro52.menu.debug.l0.build.debug_flags=-DCFG_DEBUG=0
|
||||
|
||||
+1
-1
@@ -59,7 +59,7 @@ nrf.sdk.path={build.core.path}/SDK
|
||||
rtos.path={build.core.path}/freertos
|
||||
nffs.path={runtime.platform.path}/libraries/nffs/src
|
||||
|
||||
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"
|
||||
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"
|
||||
|
||||
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"
|
||||
|
||||
|
||||
Reference in new issue
Block a user