Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Next Next commit
Add Stella variant
  • Loading branch information
pennam committed Jun 30, 2025
commit e2b7865c761b98cd65486f4c136b9cfab96ed6a4
16 changes: 4 additions & 12 deletions boards.txt
Original file line number Diff line number Diff line change
Expand Up @@ -880,13 +880,13 @@ 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.variant=STELLA
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.board=STELLA
stella.build.ldscript=linker_script.ld
stella.compiler.mbed.arch.define=-DARDUINO_ARCH_NRF52840
stella.compiler.mbed.defines={build.variant.path}/defines.txt
Expand All @@ -899,19 +899,11 @@ stella.compiler.mbed="{build.variant.path}/libs/libmbed.a" "{build.variant.path}
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.pid.1=0x0076
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_port.1.pid=0x0076

stella.upload.tool=bossac
stella.upload.tool.default=bossac
Expand Down
2 changes: 1 addition & 1 deletion stella.variables
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export FLAVOUR="stella"
export VARIANTS=("ARDUINO_NANO33BLE")
export VARIANTS=("STELLA")
export FQBNS=("stella")
export LIBRARIES=("PDM SPI Wire MRI USBHID USBMIDI USBMSD ThreadDebug Scheduler SFU Nano33BLE_System SocketWrapper MLC")
export BOOTLOADERS=("nano33ble")
24 changes: 24 additions & 0 deletions variants/STELLA/cflags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
-c
-std=gnu11
-DAPPLICATION_ADDR=0x10000
-DAPPLICATION_SIZE=0xf0000
-DMBED_RAM_SIZE=0x40000
-DMBED_RAM_START=0x20000000
-DMBED_ROM_SIZE=0x100000
-DMBED_ROM_START=0x0
-DMBED_TRAP_ERRORS_ENABLED=1
-Os
-Wall
-Wextra
-Wno-missing-field-initializers
-Wno-unused-parameter
-fdata-sections
-ffunction-sections
-fmessage-length=0
-fno-exceptions
-fomit-frame-pointer
-funsigned-char
-mcpu=cortex-m4
-mfloat-abi=softfp
-mfpu=fpv4-sp-d16
-mthumb
2 changes: 2 additions & 0 deletions variants/STELLA/conf/.mbedignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
mbed-os/connectivity/drivers/cellular/*
mbed-os/connectivity/nanostack/*
19 changes: 19 additions & 0 deletions variants/STELLA/conf/mbed_app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"macros": [
"NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS=8",
"NRFX_WDT_ENABLED=1"
],
"target_overrides": {
"*": {
"target.printf_lib": "std",
"platform.stdio-buffered-serial": false,
"platform.stdio-baud-rate": 115200,
"platform.default-serial-baud-rate": 115200,
"platform.callback-nontrivial": true,
"rtos.main-thread-stack-size": 32768,
"cordio.max-connections": 5,
"platform.all-stats-enabled": true,
"target.mbed_app_start": "0x10000"
}
}
}
26 changes: 26 additions & 0 deletions variants/STELLA/cxxflags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
-Wvla
-c
-fno-rtti
-std=gnu++14
-DAPPLICATION_ADDR=0x10000
-DAPPLICATION_SIZE=0xf0000
-DMBED_RAM_SIZE=0x40000
-DMBED_RAM_START=0x20000000
-DMBED_ROM_SIZE=0x100000
-DMBED_ROM_START=0x0
-DMBED_TRAP_ERRORS_ENABLED=1
-Os
-Wall
-Wextra
-Wno-missing-field-initializers
-Wno-unused-parameter
-fdata-sections
-ffunction-sections
-fmessage-length=0
-fno-exceptions
-fomit-frame-pointer
-funsigned-char
-mcpu=cortex-m4
-mfloat-abi=softfp
-mfpu=fpv4-sp-d16
-mthumb
71 changes: 71 additions & 0 deletions variants/STELLA/defines.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@

-DARM_MATH_CM4
-DBOARD_PCA10056
-D__CMSIS_RTOS
-DCMSIS_VECTAB_VIRTUAL
-DCMSIS_VECTAB_VIRTUAL_HEADER_FILE=\"cmsis_nvic.h\"
-DCOMPONENT_FLASHIAP=1
-DCONFIG_GPIO_AS_PINRESET
-D__CORTEX_M4
-DDEVICE_ANALOGIN=1
-DDEVICE_FLASH=1
-DDEVICE_I2C=1
-DDEVICE_I2C_ASYNCH=1
-DDEVICE_I2CSLAVE=1
-DDEVICE_INTERRUPTIN=1
-DDEVICE_LPTICKER=1
-DDEVICE_PORTIN=1
-DDEVICE_PORTINOUT=1
-DDEVICE_PORTOUT=1
-DDEVICE_PWMOUT=1
-DDEVICE_SERIAL=1
-DDEVICE_SERIAL_ASYNCH=1
-DDEVICE_SERIAL_FC=1
-DDEVICE_SLEEP=1
-DDEVICE_SPI=1
-DDEVICE_SPI_ASYNCH=1
-DDEVICE_SYSTICK_CLK_OFF_DURING_SLEEP=1
-DDEVICE_TRNG=1
-DDEVICE_USBDEVICE=1
-DDEVICE_USTICKER=1
-DDEVICE_WATCHDOG=1
-DFEATURE_BLE=1
-DFEATURE_CRYPTOCELL310=1
-DFEATURE_STORAGE=1
-D__FPU_PRESENT=1
-D__MBED__=1
-DMBED_BUILD_TIMESTAMP=1747135494.1730473
-D__MBED_CMSIS_RTOS_CM
-DMBED_MPU_CUSTOM
-DMBED_TICKLESS
-DMBEDTLS_CONFIG_HW_SUPPORT
-DNRF52840_XXAA
-DNRF52_PAN_20
-DSWI_DISABLE0
-DTARGET_ARDUINO_NANO33BLE
-DTARGET_CORDIO
-DTARGET_CORDIO_LL
-DTARGET_CORTEX
-DTARGET_CORTEX_M
-DTARGET_LIKE_CORTEX_M4
-DTARGET_LIKE_MBED
-DTARGET_M4
-DTARGET_MCU_NRF52840
-DTARGET_NAME=ARDUINO_NANO33BLE
-DTARGET_NORDIC
-DTARGET_NORDIC_CORDIO
-DTARGET_NRF52
-DTARGET_NRF52840
-DTARGET_NRF5x
-DTARGET_RELEASE
-DTARGET_RTOS_M4_M7
-DTARGET_SDK_15_0
-DTARGET_SOFTDEVICE_NONE
-DTOOLCHAIN_GCC
-DTOOLCHAIN_GCC_ARM
-DWSF_MAX_HANDLERS=10
-DMBED_NO_GLOBAL_USING_DIRECTIVE=1
-DCORE_MAJOR=
-DCORE_MINOR=
-DCORE_PATCH=
-DUSE_ARDUINO_PINOUT
Loading