Skip to content

Commit a91d9e2

Browse files
committed
Add Arduino Stella
1 parent 1302d80 commit a91d9e2

File tree

2 files changed

+68
-1
lines changed

2 files changed

+68
-1
lines changed

boards.txt

Lines changed: 63 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -871,4 +871,66 @@ giga.debug.server.openocd.scripts.1={programmer.transport_script}
871871
giga.debug.server.openocd.scripts.2=target/stm32h7x_dual_bank.cfg
872872
giga.debug.cortex-debug.custom.request=attach
873873
giga.menu.target_core.cm7.debug.svd_file={runtime.platform.path}/svd/STM32H747_CM7.svd
874-
giga.menu.target_core.cm4.debug.svd_file={runtime.platform.path}/svd/STM32H747_CM4.svd
874+
giga.menu.target_core.cm4.debug.svd_file={runtime.platform.path}/svd/STM32H747_CM4.svd
875+
876+
##############################################################
877+
878+
stella.name=Arduino Stella
879+
stella.build.core=arduino
880+
stella.build.crossprefix=arm-none-eabi-
881+
stella.build.compiler_path={runtime.tools.arm-none-eabi-gcc-7-2017q4.path}/bin/
882+
883+
stella.build.variant=ARDUINO_NANO33BLE
884+
stella.build.mcu=cortex-m4
885+
stella.build.extra_flags=
886+
stella.build.architecture=cortex-m4
887+
stella.build.fpu=-mfpu=fpv4-sp-d16
888+
stella.build.float-abi=-mfloat-abi=softfp
889+
stella.build.board=ARDUINO_NANO33BLE
890+
stella.build.ldscript=linker_script.ld
891+
stella.compiler.mbed.arch.define=-DARDUINO_ARCH_NRF52840
892+
stella.compiler.mbed.defines={build.variant.path}/defines.txt
893+
stella.compiler.mbed.ldflags={build.variant.path}/ldflags.txt
894+
stella.compiler.mbed.cflags={build.variant.path}/cflags.txt
895+
stella.compiler.mbed.cxxflags={build.variant.path}/cxxflags.txt
896+
stella.compiler.mbed.includes={build.variant.path}/includes.txt
897+
stella.compiler.mbed.extra_ldflags=-lstdc++ -lsupc++ -lm -lc -lgcc -lnosys
898+
stella.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"
899+
stella.vid.0=0x2341
900+
stella.pid.0=0x005a
901+
stella.vid.1=0x2341
902+
stella.pid.1=0x805a
903+
stella.vid.2=0x2341
904+
stella.pid.2=0x015a
905+
stella.vid.3=0x2341
906+
stella.pid.3=0x025a
907+
stella.upload_port.0.vid=0x2341
908+
stella.upload_port.0.pid=0x005a
909+
stella.upload_port.1.vid=0x2341
910+
stella.upload_port.1.pid=0x805a
911+
stella.upload_port.2.vid=0x2341
912+
stella.upload_port.2.pid=0x015a
913+
stella.upload_port.3.vid=0x2341
914+
stella.upload_port.3.pid=0x025a
915+
916+
stella.upload.tool=bossac
917+
stella.upload.tool.default=bossac
918+
stella.upload.protocol=
919+
stella.upload.transport=
920+
stella.upload.use_1200bps_touch=true
921+
stella.upload.wait_for_upload_port=true
922+
stella.upload.native_usb=true
923+
stella.upload.maximum_size=983040
924+
stella.upload.maximum_data_size=262144
925+
926+
stella.bootloader.tool=openocd
927+
stella.bootloader.tool.default=openocd
928+
stella.bootloader.extra_action.preflash=echo INFO:removed_mass-erase
929+
stella.bootloader.config=-f target/nrf52.cfg
930+
stella.bootloader.programmer=-f interface/cmsis-dap.cfg
931+
stella.bootloader.file=nano33ble/bootloader.hex
932+
933+
stella.debug.server.openocd.scripts.0=interface/{programmer.protocol}.cfg
934+
stella.debug.server.openocd.scripts.1={programmer.transport_script}
935+
stella.debug.server.openocd.scripts.2=target/nrf52.cfg
936+
stella.debug.svd_file={runtime.platform.path}/svd/nrf52840.svd

stella.variables

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
export FLAVOUR="stella"
2+
export VARIANTS=("ARDUINO_NANO33BLE")
3+
export FQBNS=("stella")
4+
export LIBRARIES=("PDM SPI Wire MRI USBHID USBMIDI USBMSD ThreadDebug Scheduler SFU Nano33BLE_System SocketWrapper MLC")
5+
export BOOTLOADERS=("nano33ble")

0 commit comments

Comments
 (0)