Skip to content

Commit e2b7865

Browse files
committed
Add Stella variant
1 parent 6e79acd commit e2b7865

18 files changed

+1467
-13
lines changed

boards.txt

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -880,13 +880,13 @@ stella.build.core=arduino
880880
stella.build.crossprefix=arm-none-eabi-
881881
stella.build.compiler_path={runtime.tools.arm-none-eabi-gcc-7-2017q4.path}/bin/
882882

883-
stella.build.variant=ARDUINO_NANO33BLE
883+
stella.build.variant=STELLA
884884
stella.build.mcu=cortex-m4
885885
stella.build.extra_flags=
886886
stella.build.architecture=cortex-m4
887887
stella.build.fpu=-mfpu=fpv4-sp-d16
888888
stella.build.float-abi=-mfloat-abi=softfp
889-
stella.build.board=ARDUINO_NANO33BLE
889+
stella.build.board=STELLA
890890
stella.build.ldscript=linker_script.ld
891891
stella.compiler.mbed.arch.define=-DARDUINO_ARCH_NRF52840
892892
stella.compiler.mbed.defines={build.variant.path}/defines.txt
@@ -899,19 +899,11 @@ stella.compiler.mbed="{build.variant.path}/libs/libmbed.a" "{build.variant.path}
899899
stella.vid.0=0x2341
900900
stella.pid.0=0x005a
901901
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
902+
stella.pid.1=0x0076
907903
stella.upload_port.0.vid=0x2341
908904
stella.upload_port.0.pid=0x005a
909905
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
906+
stella.upload_port.1.pid=0x0076
915907

916908
stella.upload.tool=bossac
917909
stella.upload.tool.default=bossac

stella.variables

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export FLAVOUR="stella"
2-
export VARIANTS=("ARDUINO_NANO33BLE")
2+
export VARIANTS=("STELLA")
33
export FQBNS=("stella")
44
export LIBRARIES=("PDM SPI Wire MRI USBHID USBMIDI USBMSD ThreadDebug Scheduler SFU Nano33BLE_System SocketWrapper MLC")
55
export BOOTLOADERS=("nano33ble")

variants/STELLA/cflags.txt

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
-c
2+
-std=gnu11
3+
-DAPPLICATION_ADDR=0x10000
4+
-DAPPLICATION_SIZE=0xf0000
5+
-DMBED_RAM_SIZE=0x40000
6+
-DMBED_RAM_START=0x20000000
7+
-DMBED_ROM_SIZE=0x100000
8+
-DMBED_ROM_START=0x0
9+
-DMBED_TRAP_ERRORS_ENABLED=1
10+
-Os
11+
-Wall
12+
-Wextra
13+
-Wno-missing-field-initializers
14+
-Wno-unused-parameter
15+
-fdata-sections
16+
-ffunction-sections
17+
-fmessage-length=0
18+
-fno-exceptions
19+
-fomit-frame-pointer
20+
-funsigned-char
21+
-mcpu=cortex-m4
22+
-mfloat-abi=softfp
23+
-mfpu=fpv4-sp-d16
24+
-mthumb

variants/STELLA/conf/.mbedignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
mbed-os/connectivity/drivers/cellular/*
2+
mbed-os/connectivity/nanostack/*

variants/STELLA/conf/mbed_app.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"macros": [
3+
"NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS=8",
4+
"NRFX_WDT_ENABLED=1"
5+
],
6+
"target_overrides": {
7+
"*": {
8+
"target.printf_lib": "std",
9+
"platform.stdio-buffered-serial": false,
10+
"platform.stdio-baud-rate": 115200,
11+
"platform.default-serial-baud-rate": 115200,
12+
"platform.callback-nontrivial": true,
13+
"rtos.main-thread-stack-size": 32768,
14+
"cordio.max-connections": 5,
15+
"platform.all-stats-enabled": true,
16+
"target.mbed_app_start": "0x10000"
17+
}
18+
}
19+
}

variants/STELLA/cxxflags.txt

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
-Wvla
2+
-c
3+
-fno-rtti
4+
-std=gnu++14
5+
-DAPPLICATION_ADDR=0x10000
6+
-DAPPLICATION_SIZE=0xf0000
7+
-DMBED_RAM_SIZE=0x40000
8+
-DMBED_RAM_START=0x20000000
9+
-DMBED_ROM_SIZE=0x100000
10+
-DMBED_ROM_START=0x0
11+
-DMBED_TRAP_ERRORS_ENABLED=1
12+
-Os
13+
-Wall
14+
-Wextra
15+
-Wno-missing-field-initializers
16+
-Wno-unused-parameter
17+
-fdata-sections
18+
-ffunction-sections
19+
-fmessage-length=0
20+
-fno-exceptions
21+
-fomit-frame-pointer
22+
-funsigned-char
23+
-mcpu=cortex-m4
24+
-mfloat-abi=softfp
25+
-mfpu=fpv4-sp-d16
26+
-mthumb

variants/STELLA/defines.txt

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
2+
-DARM_MATH_CM4
3+
-DBOARD_PCA10056
4+
-D__CMSIS_RTOS
5+
-DCMSIS_VECTAB_VIRTUAL
6+
-DCMSIS_VECTAB_VIRTUAL_HEADER_FILE=\"cmsis_nvic.h\"
7+
-DCOMPONENT_FLASHIAP=1
8+
-DCONFIG_GPIO_AS_PINRESET
9+
-D__CORTEX_M4
10+
-DDEVICE_ANALOGIN=1
11+
-DDEVICE_FLASH=1
12+
-DDEVICE_I2C=1
13+
-DDEVICE_I2C_ASYNCH=1
14+
-DDEVICE_I2CSLAVE=1
15+
-DDEVICE_INTERRUPTIN=1
16+
-DDEVICE_LPTICKER=1
17+
-DDEVICE_PORTIN=1
18+
-DDEVICE_PORTINOUT=1
19+
-DDEVICE_PORTOUT=1
20+
-DDEVICE_PWMOUT=1
21+
-DDEVICE_SERIAL=1
22+
-DDEVICE_SERIAL_ASYNCH=1
23+
-DDEVICE_SERIAL_FC=1
24+
-DDEVICE_SLEEP=1
25+
-DDEVICE_SPI=1
26+
-DDEVICE_SPI_ASYNCH=1
27+
-DDEVICE_SYSTICK_CLK_OFF_DURING_SLEEP=1
28+
-DDEVICE_TRNG=1
29+
-DDEVICE_USBDEVICE=1
30+
-DDEVICE_USTICKER=1
31+
-DDEVICE_WATCHDOG=1
32+
-DFEATURE_BLE=1
33+
-DFEATURE_CRYPTOCELL310=1
34+
-DFEATURE_STORAGE=1
35+
-D__FPU_PRESENT=1
36+
-D__MBED__=1
37+
-DMBED_BUILD_TIMESTAMP=1747135494.1730473
38+
-D__MBED_CMSIS_RTOS_CM
39+
-DMBED_MPU_CUSTOM
40+
-DMBED_TICKLESS
41+
-DMBEDTLS_CONFIG_HW_SUPPORT
42+
-DNRF52840_XXAA
43+
-DNRF52_PAN_20
44+
-DSWI_DISABLE0
45+
-DTARGET_ARDUINO_NANO33BLE
46+
-DTARGET_CORDIO
47+
-DTARGET_CORDIO_LL
48+
-DTARGET_CORTEX
49+
-DTARGET_CORTEX_M
50+
-DTARGET_LIKE_CORTEX_M4
51+
-DTARGET_LIKE_MBED
52+
-DTARGET_M4
53+
-DTARGET_MCU_NRF52840
54+
-DTARGET_NAME=ARDUINO_NANO33BLE
55+
-DTARGET_NORDIC
56+
-DTARGET_NORDIC_CORDIO
57+
-DTARGET_NRF52
58+
-DTARGET_NRF52840
59+
-DTARGET_NRF5x
60+
-DTARGET_RELEASE
61+
-DTARGET_RTOS_M4_M7
62+
-DTARGET_SDK_15_0
63+
-DTARGET_SOFTDEVICE_NONE
64+
-DTOOLCHAIN_GCC
65+
-DTOOLCHAIN_GCC_ARM
66+
-DWSF_MAX_HANDLERS=10
67+
-DMBED_NO_GLOBAL_USING_DIRECTIVE=1
68+
-DCORE_MAJOR=
69+
-DCORE_MINOR=
70+
-DCORE_PATCH=
71+
-DUSE_ARDUINO_PINOUT

0 commit comments

Comments
 (0)