|
@@ -44,12 +44,6 @@
|
|
|
#include <stdint.h>
|
|
#include <stdint.h>
|
|
|
extern uint32_t SystemCoreClock;
|
|
extern uint32_t SystemCoreClock;
|
|
|
|
|
|
|
|
-#if defined STM32F1
|
|
|
|
|
- // This is enough for Blinky example.
|
|
|
|
|
- #define configMINIMAL_STACK_SIZE ( ( unsigned short ) 50 )
|
|
|
|
|
- #define configTOTAL_HEAP_SIZE ( ( size_t ) ( 2 * 1024 ) )
|
|
|
|
|
-#endif
|
|
|
|
|
-
|
|
|
|
|
#if defined STM32L5
|
|
#if defined STM32L5
|
|
|
#define configENABLE_TRUSTZONE 0
|
|
#define configENABLE_TRUSTZONE 0
|
|
|
#if configENABLE_TRUSTZONE
|
|
#if configENABLE_TRUSTZONE
|
|
@@ -68,12 +62,8 @@ extern uint32_t SystemCoreClock;
|
|
|
#if !defined USE_CMSIS_RTOS_V2
|
|
#if !defined USE_CMSIS_RTOS_V2
|
|
|
#define configMAX_PRIORITIES ( 5 )
|
|
#define configMAX_PRIORITIES ( 5 )
|
|
|
#endif
|
|
#endif
|
|
|
-#if !defined configMINIMAL_STACK_SIZE
|
|
|
|
|
-#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 130 )
|
|
|
|
|
-#endif
|
|
|
|
|
-#if !defined configTOTAL_HEAP_SIZE
|
|
|
|
|
-#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 8 * 1024 ) )
|
|
|
|
|
-#endif
|
|
|
|
|
|
|
+#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 50 )
|
|
|
|
|
+#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 2 * 1024 ) )
|
|
|
#define configMAX_TASK_NAME_LEN ( 10 )
|
|
#define configMAX_TASK_NAME_LEN ( 10 )
|
|
|
#define configUSE_TRACE_FACILITY 1
|
|
#define configUSE_TRACE_FACILITY 1
|
|
|
#define configUSE_16_BIT_TICKS 0
|
|
#define configUSE_16_BIT_TICKS 0
|