Skip to content

Commit 5e1716f

Browse files
author
dominus97
committed
Added support for Nucleo F303RE
I am not sure if it's the right SP, but the basic blink code works. What does the SP stand for? Stack pointer? Also, if you could tell me where to look for the correct address, I would. I looked in the reference manual and the programming manual that STM provides, with no luck. Cheers
1 parent 87952c5 commit 5e1716f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libraries/rtos/rtx/TARGET_CORTEX_M/RTX_CM_lib.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,9 @@ osThreadDef_t os_thread_def_main = {(os_pthread)main, osPriorityNormal, 0, NULL}
298298
#elif defined(TARGET_STM32F401VC)
299299
#define INITIAL_SP (0x20010000UL)
300300

301+
#elif defined(TARGET_STM32F303RE)
302+
#define INITIAL_SP (0x20010000UL) //Not sure if right address, but it works!
303+
301304
#else
302305
#error "no target defined"
303306

0 commit comments

Comments
 (0)