Skip to content
This repository was archived by the owner on Apr 16, 2021. It is now read-only.

Commit d22f94b

Browse files
committed
Add nano33 target
1 parent de97082 commit d22f94b

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

boards.txt

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
##############################################################
2+
3+
4+
5+
6+
##############################################################
7+
8+
9+
10+
11+
##############################################################
12+
13+
nano33ble.name=Arduino Nano 33 BLE
14+
nano33ble.build.core=arduino
15+
nano33ble.build.crossprefix=arm-none-eabi-
16+
nano33ble.build.compiler_path={runtime.tools.arm-none-eabi-gcc.path}/bin/
17+
18+
nano33ble.build.variant=ARDUINO_NANO33BLE
19+
nano33ble.build.mcu=cortex-m4
20+
nano33ble.build.extra_flags=
21+
nano33ble.build.architecture=cortex-m4
22+
nano33ble.build.board=ARDUINO_NANO33BLE
23+
nano33ble.build.ldscript=linker_script.ld
24+
nano33ble.compiler.mbed.arch.define=-DARDUINO_ARCH_NRF52840
25+
nano33ble.compiler.mbed.defines={build.variant.path}/defines.txt
26+
nano33ble.compiler.mbed.ldflags={build.variant.path}/ldflags.txt
27+
nano33ble.compiler.mbed.cflags={build.variant.path}/cflags.txt
28+
nano33ble.compiler.mbed.cxxflags={build.variant.path}/cxxflags.txt
29+
nano33ble.compiler.mbed.includes={build.variant.path}/includes.txt
30+
nano33ble.compiler.mbed.extra_ldflags=-lstdc++ -lsupc++ -lm -lc -lgcc -lnosys
31+
nano33ble.compiler.mbed="{build.variant.path}/libs/libmbed.a" "{build.variant.path}/libs/libcc_310_core.a" "{build.variant.path}/libs/libcc_310_ext.a" "{build.variant.path}/libs/libcc_310_trng.a"
32+
nano33ble.vid.0=0x2341
33+
nano33ble.pid.0=0x005a
34+
nano33ble.vid.1=0x2341
35+
nano33ble.pid.1=0x805a
36+
37+
nano33ble.upload.tool=bossac
38+
nano33ble.upload.protocol=
39+
nano33ble.upload.use_1200bps_touch=true
40+
nano33ble.upload.wait_for_upload_port=true
41+
nano33ble.upload.native_usb=true
42+
nano33ble.upload.maximum_size=983040
43+
nano33ble.upload.maximum_data_size=262144
44+
45+
nano33ble.bootloader.tool=openocd
46+
nano33ble.bootloader.extra_action.preflash=nrf5 mass_erase
47+
nano33ble.bootloader.config=-f target/nrf52.cfg
48+
nano33ble.bootloader.programmer=-f interface/cmsis-dap.cfg
49+
nano33ble.bootloader.file=nano33ble/bootloader.hex

0 commit comments

Comments
 (0)