error.h to mbed_error.h
Dependents: ch5_mbed_lightweight_Web_server_dust_sensor
Fork of mbed-rtos by
Revision 64:5448826aa700, committed 2015-01-29
- Comitter:
- mbed_official
- Date:
- Thu Jan 29 07:30:28 2015 +0000
- Parent:
- 62:444020d511f5
- Commit message:
- Synchronized with git revision 07ed4ec541befacdba1c38bf057c7c2209aa9d00
Full URL: https://github.com/mbedmicro/mbed/commit/07ed4ec541befacdba1c38bf057c7c2209aa9d00/
Extended RTOS support for LPC4330 Target
Changed in this revision
diff -r 444020d511f5 -r 5448826aa700 rtx/TARGET_CORTEX_M/RTX_CM_lib.h --- a/rtx/TARGET_CORTEX_M/RTX_CM_lib.h Thu Jan 22 07:45:07 2015 +0000 +++ b/rtx/TARGET_CORTEX_M/RTX_CM_lib.h Thu Jan 29 07:30:28 2015 +0000 @@ -238,6 +238,9 @@ #elif defined(TARGET_LPC4088) #define INITIAL_SP (0x10010000UL) +#elif defined(TARGET_LPC4330) +#define INITIAL_SP (0x10008000UL) + #elif defined(TARGET_LPC4337) #define INITIAL_SP (0x10008000UL)
diff -r 444020d511f5 -r 5448826aa700 rtx/TARGET_CORTEX_M/RTX_Conf_CM.c --- a/rtx/TARGET_CORTEX_M/RTX_Conf_CM.c Thu Jan 22 07:45:07 2015 +0000 +++ b/rtx/TARGET_CORTEX_M/RTX_Conf_CM.c Thu Jan 29 07:30:28 2015 +0000 @@ -49,7 +49,7 @@ // counting "main", but not counting "osTimerThread" // <i> Default: 6 #ifndef OS_TASKCNT -# if defined(TARGET_LPC1768) || defined(TARGET_LPC2368) || defined(TARGET_LPC4088) || defined(TARGET_LPC4337) || defined(TARGET_LPC1347) || defined(TARGET_K64F) || defined(TARGET_STM32F401RE)\ +# if defined(TARGET_LPC1768) || defined(TARGET_LPC2368) || defined(TARGET_LPC4088) || defined(TARGET_LPC4330) || defined(TARGET_LPC4337) || defined(TARGET_LPC1347) || defined(TARGET_K64F) || defined(TARGET_STM32F401RE)\ || defined(TARGET_KL46Z) || defined(TARGET_KL43Z) || defined(TARGET_STM32F407) || defined(TARGET_F407VG) || defined(TARGET_STM32F303VC) || defined(TARGET_LPC1549) || defined(TARGET_LPC11U68) \ || defined(TARGET_NRF51822) || defined(TARGET_STM32F411RE) || defined(TARGET_STM32F405RG) || defined(TARGET_K22F) || defined(TARGET_STM32F429ZI) || defined(TARGET_STM32F401VC) # define OS_TASKCNT 14 @@ -65,7 +65,7 @@ // <o>Scheduler (+ interrupts) stack size [bytes] <64-4096:8><#/4> #ifndef OS_SCHEDULERSTKSIZE -# if defined(TARGET_LPC1768) || defined(TARGET_LPC2368) || defined(TARGET_LPC4088) || defined(TARGET_LPC4337) || defined(TARGET_LPC1347) || defined(TARGET_K64F) || defined(TARGET_STM32F401RE)\ +# if defined(TARGET_LPC1768) || defined(TARGET_LPC2368) || defined(TARGET_LPC4088) || defined(TARGET_LPC4330) || defined(TARGET_LPC4337) || defined(TARGET_LPC1347) || defined(TARGET_K64F) || defined(TARGET_STM32F401RE)\ || defined(TARGET_KL46Z) || defined(TARGET_KL43Z) || defined(TARGET_STM32F407) || defined(TARGET_F407VG) || defined(TARGET_STM32F303VC) || defined(TARGET_LPC1549) || defined(TARGET_LPC11U68) \ || defined(TARGET_NRF51822) || defined(TARGET_STM32F411RE) || defined(TARGET_STM32F405RG) || defined(TARGET_K22F) || defined(TARGET_STM32F429ZI) || defined(TARGET_STM32F401VC) # define OS_SCHEDULERSTKSIZE 256 @@ -138,6 +138,9 @@ # elif defined(TARGET_LPC4088) || defined(TARGET_K64F) || defined(TARGET_K22F) # define OS_CLOCK 120000000 +# elif defined(TARGET_LPC4330) +# define OS_CLOCK 204000000 + # elif defined(TARGET_LPC4337) # define OS_CLOCK 204000000