summaryrefslogtreecommitdiff
path: root/examples/device/cdc_msc_freertos/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-03-11 00:47:13 +0700
committerhathach <[email protected]>2020-03-11 00:47:13 +0700
commit6a1416d18a81b7c82261f38ffc85c8ed5bf8df30 (patch)
treed8be3df8a9cb625330fad2d9ca18ff0116524930 /examples/device/cdc_msc_freertos/src
parent487b887f80f1b73a72a627a21b12c1185a147104 (diff)
fix cortex M7, M23, M33 freertos build
Diffstat (limited to 'examples/device/cdc_msc_freertos/src')
-rw-r--r--examples/device/cdc_msc_freertos/src/FreeRTOSConfig.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/device/cdc_msc_freertos/src/FreeRTOSConfig.h b/examples/device/cdc_msc_freertos/src/FreeRTOSConfig.h
index 309a9a01b..8083cad7c 100644
--- a/examples/device/cdc_msc_freertos/src/FreeRTOSConfig.h
+++ b/examples/device/cdc_msc_freertos/src/FreeRTOSConfig.h
@@ -103,6 +103,15 @@
#error "FreeRTOSConfig.h need to include low level mcu header for configuration"
#endif
+extern uint32_t SystemCoreClock;
+
+
+/* Cortex M23/M33 port configuration. */
+#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
#define configCPU_CLOCK_HZ SystemCoreClock