summaryrefslogtreecommitdiff
path: root/hw/bsp/mcx/FreeRTOSConfig/FreeRTOSConfig.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-06-16 14:17:25 +0700
committerhathach <[email protected]>2023-06-16 14:17:25 +0700
commita7f330fa94b7a39858f6d770737451b51f061c25 (patch)
treeb7a0d8c60908c5c0ba52c1d108db1d2cfc0eb129 /hw/bsp/mcx/FreeRTOSConfig/FreeRTOSConfig.h
parent65d6acdbfaea84c3274e359acd5e5474f04e8851 (diff)
fix build, update freertos config for cmake
Diffstat (limited to 'hw/bsp/mcx/FreeRTOSConfig/FreeRTOSConfig.h')
-rw-r--r--hw/bsp/mcx/FreeRTOSConfig/FreeRTOSConfig.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/hw/bsp/mcx/FreeRTOSConfig/FreeRTOSConfig.h b/hw/bsp/mcx/FreeRTOSConfig/FreeRTOSConfig.h
index 421106f08..b1cef793e 100644
--- a/hw/bsp/mcx/FreeRTOSConfig/FreeRTOSConfig.h
+++ b/hw/bsp/mcx/FreeRTOSConfig/FreeRTOSConfig.h
@@ -42,17 +42,16 @@
* See http://www.freertos.org/a00110.html.
*----------------------------------------------------------*/
-// IAR assembler have limited preprocessor support and it only need following macros:
+// skip if included from IAR assembler
#ifndef __IASMARM__
-// FIXME cause redundant-decls warnings
-extern uint32_t SystemCoreClock;
+ #include "fsl_device_registers.h"
#endif
/* Cortex M23/M33 port configuration. */
-#define configENABLE_MPU 0
-#define configENABLE_FPU 1
-#define configENABLE_TRUSTZONE 0
-#define configMINIMAL_SECURE_STACK_SIZE (1024)
+#define configENABLE_MPU 0
+#define configENABLE_FPU 1
+#define configENABLE_TRUSTZONE 0
+#define configMINIMAL_SECURE_STACK_SIZE (1024)
#define configUSE_PREEMPTION 1
#define configUSE_PORT_OPTIMISED_TASK_SELECTION 0