RTX port for nrf52 based targets.

pull/2234/head
Vincent Coubard 2016-06-14 22:40:15 +01:00
parent 9d85bfda25
commit aa19a973cd
2 changed files with 8 additions and 2 deletions

View File

@ -510,6 +510,9 @@ osThreadDef_t os_thread_def_main = {(os_pthread)pre_main, osPriorityNormal, 1U,
#elif defined(TARGET_MCU_NORDIC_16K)
#define INITIAL_SP (0x20004000UL)
#elif defined(TARGET_MCU_NRF52832)
#define INITIAL_SP (0x20010000UL)
#else
#error "no target defined"

View File

@ -64,7 +64,7 @@
|| defined(TARGET_STM32F103RB) || defined(TARGET_LPC824) || defined(TARGET_STM32F302R8) || defined(TARGET_STM32F334R8) || defined(TARGET_STM32F334C8) \
|| defined(TARGET_STM32L031K6) || defined(TARGET_STM32L053R8) || defined(TARGET_STM32L053C8) || defined(TARGET_STM32L073RZ) || defined(TARGET_STM32F072RB) || defined(TARGET_STM32F091RC) || defined(TARGET_NZ32_SC151) \
|| defined(TARGET_SSCI824) || defined(TARGET_STM32F030R8) || defined(TARGET_STM32F070RB) \
|| defined(TARGET_EFM32HG_STK3400) || defined(TARGET_MCU_NRF51822) || defined(TARGET_BEETLE)
|| defined(TARGET_EFM32HG_STK3400) || defined(TARGET_MCU_NRF51822) || defined(TARGET_BEETLE) || defined(TARGET_MCU_NRF52832)
# define OS_TASKCNT 6
# else
# error "no target defined"
@ -104,7 +104,7 @@
|| defined(TARGET_STM32L031K6) || defined(TARGET_STM32L053R8) || defined(TARGET_STM32L053C8) || defined(TARGET_STM32L073RZ) \
|| defined(TARGET_EFM32HG_STK3400) || defined(TARGET_BEETLE)
# define OS_MAINSTKSIZE 112
# elif defined(TARGET_MCU_NRF51822)
# elif defined(TARGET_MCU_NRF51822) || defined(TARGET_MCU_NRF52832)
# define OS_MAINSTKSIZE 512
# else
# error "no target defined"
@ -264,6 +264,9 @@
#elif defined(TARGET_MCU_NRF51822)
# define OS_CLOCK 32768
#elif defined(TARGET_MCU_NRF52832)
# define OS_CLOCK 64000000
# else
# error "no target defined"
# endif