Versie 0.2 Het versturen via de NRF werkt nog niet helemaal omdat er per 4 bytes verstuurd moet worden. Wordt gefixt d.m.v. dynamic stuff!
Dependencies: BufferedSerial
Dependents: rtos_basic rtos_basic
Fork of mbed-rtos by
Revision 87:e695cd34556b, committed 2015-07-06
- Comitter:
- mbed_official
- Date:
- Mon Jul 06 09:15:38 2015 +0100
- Parent:
- 86:58c3b7759abf
- Child:
- 88:a21475017ae2
- Commit message:
- Synchronized with git revision 0a7df4e114501712e80882fb66c8a1e1ffca2dcb
Full URL: https://github.com/mbedmicro/mbed/commit/0a7df4e114501712e80882fb66c8a1e1ffca2dcb/
Changed in this revision
--- a/rtx/TARGET_CORTEX_M/RTX_CM_lib.h Wed Jul 01 08:15:48 2015 +0100 +++ b/rtx/TARGET_CORTEX_M/RTX_CM_lib.h Mon Jul 06 09:15:38 2015 +0100 @@ -316,6 +316,9 @@ #elif defined(TARGET_STM32F446RE) #define INITIAL_SP (0x20020000UL) +#elif defined(TARGET_STM32F070RB) || defined(TARGET_STM32F030R8) +#define INITIAL_SP (0x20002000UL) + #else #error "no target defined"
--- a/rtx/TARGET_CORTEX_M/RTX_Conf_CM.c Wed Jul 01 08:15:48 2015 +0100 +++ b/rtx/TARGET_CORTEX_M/RTX_Conf_CM.c Mon Jul 06 09:15:38 2015 +0100 @@ -58,7 +58,7 @@ || defined(TARGET_LPC812) || defined(TARGET_KL25Z) || defined(TARGET_KL05Z) || defined(TARGET_STM32F100RB) || defined(TARGET_STM32F051R8) \ || defined(TARGET_STM32F103RB) || defined(TARGET_LPC824) || defined(TARGET_STM32F302R8) || defined(TARGET_STM32F334R8) || defined(TARGET_STM32F334C8) \ || defined(TARGET_STM32L053R8) || defined(TARGET_STM32L053C8) || defined(TARGET_STM32F072RB) || defined(TARGET_STM32F091RC) || defined(TARGET_NZ32SC151) \ - || defined(TARGET_SSCI824) + || defined(TARGET_SSCI824) || defined(TARGET_STM32F030R8) || defined(TARGET_STM32F070RB) # define OS_TASKCNT 6 # else # error "no target defined" @@ -75,7 +75,7 @@ # elif defined(TARGET_LPC11U24) || defined(TARGET_LPC11U35_401) || defined(TARGET_LPC11U35_501) || defined(TARGET_LPCCAPPUCCINO) || defined(TARGET_LPC1114) \ || defined(TARGET_LPC812) || defined(TARGET_KL25Z) || defined(TARGET_KL05Z) || defined(TARGET_STM32F100RB) || defined(TARGET_STM32F051R8) \ || defined(TARGET_STM32F103RB) || defined(TARGET_LPC824) || defined(TARGET_STM32F302R8) || defined(TARGET_STM32F072RB) || defined(TARGET_STM32F091RC) || defined(TARGET_NZ32SC151) \ - || defined(TARGET_SSCI824) + || defined(TARGET_SSCI824) || defined(TARGET_STM32F030R8) || defined(TARGET_STM32F070RB) # define OS_SCHEDULERSTKSIZE 128 # elif defined(TARGET_STM32F334R8) || defined(TARGET_STM32F303RE) || defined(TARGET_STM32F334C8) || defined(TARGET_STM32L053R8) || defined(TARGET_STM32L053C8) # define OS_SCHEDULERSTKSIZE 112 @@ -184,6 +184,11 @@ #elif defined(TARGET_STM32F446RE) # define OS_CLOCK 180000000 +#elif defined(TARGET_STM32F030R8) +# define OS_CLOCK 48000000 + +#elif defined(TARGET_STM32F070RB) +# define OS_CLOCK 48000000 # else # error "no target defined"