mbed thread for WIZwiki W7500
Fork of mbed-rtos by
Revision 91:f3b338bf4263, committed 2015-08-13
- Comitter:
- uasonice
- Date:
- Thu Aug 13 18:31:36 2015 +0000
- Parent:
- 90:21b438192b0f
- Commit message:
- patch for TARGET W7500
Changed in this revision
--- a/rtx/TARGET_CORTEX_M/RTX_CM_lib.h Thu Aug 13 09:00:11 2015 +0100 +++ b/rtx/TARGET_CORTEX_M/RTX_CM_lib.h Thu Aug 13 18:31:36 2015 +0000 @@ -321,6 +321,8 @@ #elif defined(TARGET_STM32F070RB) || defined(TARGET_STM32F030R8) #define INITIAL_SP (0x20002000UL) +#elif defined(TARGET_WIZwiki_W7500) +#define INITIAL_SP (0x20004000UL) #else #error "no target defined"
--- a/rtx/TARGET_CORTEX_M/RTX_Conf_CM.c Thu Aug 13 09:00:11 2015 +0100 +++ b/rtx/TARGET_CORTEX_M/RTX_Conf_CM.c Thu Aug 13 18:31:36 2015 +0000 @@ -58,7 +58,7 @@ || defined(TARGET_LPC812) || defined(TARGET_KL25Z) || defined(TARGET_KL26Z) || 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_STM32F030R8) || defined(TARGET_STM32F070RB) + || defined(TARGET_SSCI824) || defined(TARGET_STM32F030R8) || defined(TARGET_STM32F070RB) || defined(TARGET_WIZwiki_W7500) # define OS_TASKCNT 6 # else # error "no target defined" @@ -79,6 +79,8 @@ # define OS_SCHEDULERSTKSIZE 128 # elif defined(TARGET_STM32F334R8) || defined(TARGET_STM32F303RE) || defined(TARGET_STM32F334C8) || defined(TARGET_STM32L053R8) || defined(TARGET_STM32L053C8) # define OS_SCHEDULERSTKSIZE 112 +#elif defined(TARGET_WIZwiki_W7500) +#define OS_SCHEDULERSTKSIZE 64 # else # error "no target defined" # endif @@ -189,6 +191,8 @@ #elif defined(TARGET_STM32F070RB) # define OS_CLOCK 48000000 +#elif defined(TARGET_WIZwiki_W7500) +#define OS_CLOCK 20000000 # else # error "no target defined"