Skip to content

Add Arduino Stella #1069

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 63 additions & 1 deletion boards.txt
Original file line number Diff line number Diff line change
Expand Up @@ -871,4 +871,66 @@ giga.debug.server.openocd.scripts.1={programmer.transport_script}
giga.debug.server.openocd.scripts.2=target/stm32h7x_dual_bank.cfg
giga.debug.cortex-debug.custom.request=attach
giga.menu.target_core.cm7.debug.svd_file={runtime.platform.path}/svd/STM32H747_CM7.svd
giga.menu.target_core.cm4.debug.svd_file={runtime.platform.path}/svd/STM32H747_CM4.svd
giga.menu.target_core.cm4.debug.svd_file={runtime.platform.path}/svd/STM32H747_CM4.svd

##############################################################

stella.name=Arduino Stella
stella.build.core=arduino
stella.build.crossprefix=arm-none-eabi-
stella.build.compiler_path={runtime.tools.arm-none-eabi-gcc-7-2017q4.path}/bin/

stella.build.variant=ARDUINO_NANO33BLE
stella.build.mcu=cortex-m4
stella.build.extra_flags=
stella.build.architecture=cortex-m4
stella.build.fpu=-mfpu=fpv4-sp-d16
stella.build.float-abi=-mfloat-abi=softfp
stella.build.board=ARDUINO_NANO33BLE
stella.build.ldscript=linker_script.ld
stella.compiler.mbed.arch.define=-DARDUINO_ARCH_NRF52840
stella.compiler.mbed.defines={build.variant.path}/defines.txt
stella.compiler.mbed.ldflags={build.variant.path}/ldflags.txt
stella.compiler.mbed.cflags={build.variant.path}/cflags.txt
stella.compiler.mbed.cxxflags={build.variant.path}/cxxflags.txt
stella.compiler.mbed.includes={build.variant.path}/includes.txt
stella.compiler.mbed.extra_ldflags=-lstdc++ -lsupc++ -lm -lc -lgcc -lnosys
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"
stella.vid.0=0x2341
stella.pid.0=0x005a
stella.vid.1=0x2341
stella.pid.1=0x805a
stella.vid.2=0x2341
stella.pid.2=0x015a
stella.vid.3=0x2341
stella.pid.3=0x025a
stella.upload_port.0.vid=0x2341
stella.upload_port.0.pid=0x005a
stella.upload_port.1.vid=0x2341
stella.upload_port.1.pid=0x805a
stella.upload_port.2.vid=0x2341
stella.upload_port.2.pid=0x015a
stella.upload_port.3.vid=0x2341
stella.upload_port.3.pid=0x025a

stella.upload.tool=bossac
stella.upload.tool.default=bossac
stella.upload.protocol=
stella.upload.transport=
stella.upload.use_1200bps_touch=true
stella.upload.wait_for_upload_port=true
stella.upload.native_usb=true
stella.upload.maximum_size=983040
stella.upload.maximum_data_size=262144

stella.bootloader.tool=openocd
stella.bootloader.tool.default=openocd
stella.bootloader.extra_action.preflash=echo INFO:removed_mass-erase
stella.bootloader.config=-f target/nrf52.cfg
stella.bootloader.programmer=-f interface/cmsis-dap.cfg
stella.bootloader.file=nano33ble/bootloader.hex

stella.debug.server.openocd.scripts.0=interface/{programmer.protocol}.cfg
stella.debug.server.openocd.scripts.1={programmer.transport_script}
stella.debug.server.openocd.scripts.2=target/nrf52.cfg
stella.debug.svd_file={runtime.platform.path}/svd/nrf52840.svd
5 changes: 5 additions & 0 deletions stella.variables
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export FLAVOUR="stella"
export VARIANTS=("ARDUINO_NANO33BLE")
export FQBNS=("stella")
export LIBRARIES=("PDM SPI Wire MRI USBHID USBMIDI USBMSD ThreadDebug Scheduler SFU Nano33BLE_System SocketWrapper MLC")
export BOOTLOADERS=("nano33ble")