From 83ce2dfcb73da5e2e59a3232dfb930710d687f2f Mon Sep 17 00:00:00 2001 From: hathach Date: Mon, 1 Mar 2021 22:30:39 +0700 Subject: [PATCH] fix freeRTOS config symbol warning with latest kernel --- examples/device/cdc_msc_freertos/src/FreeRTOSConfig.h | 1 + examples/device/hid_composite_freertos/src/FreeRTOSConfig.h | 1 + 2 files changed, 2 insertions(+) diff --git a/examples/device/cdc_msc_freertos/src/FreeRTOSConfig.h b/examples/device/cdc_msc_freertos/src/FreeRTOSConfig.h index 494452d43..7b2b93d7b 100644 --- a/examples/device/cdc_msc_freertos/src/FreeRTOSConfig.h +++ b/examples/device/cdc_msc_freertos/src/FreeRTOSConfig.h @@ -71,6 +71,7 @@ extern uint32_t SystemCoreClock; #define configUSE_TIME_SLICING 0 #define configUSE_NEWLIB_REENTRANT 0 #define configENABLE_BACKWARD_COMPATIBILITY 1 +#define configSTACK_ALLOCATION_FROM_SEPARATE_HEAP 0 #define configSUPPORT_STATIC_ALLOCATION 1 #define configSUPPORT_DYNAMIC_ALLOCATION 0 diff --git a/examples/device/hid_composite_freertos/src/FreeRTOSConfig.h b/examples/device/hid_composite_freertos/src/FreeRTOSConfig.h index 494452d43..7b2b93d7b 100644 --- a/examples/device/hid_composite_freertos/src/FreeRTOSConfig.h +++ b/examples/device/hid_composite_freertos/src/FreeRTOSConfig.h @@ -71,6 +71,7 @@ extern uint32_t SystemCoreClock; #define configUSE_TIME_SLICING 0 #define configUSE_NEWLIB_REENTRANT 0 #define configENABLE_BACKWARD_COMPATIBILITY 1 +#define configSTACK_ALLOCATION_FROM_SEPARATE_HEAP 0 #define configSUPPORT_STATIC_ALLOCATION 1 #define configSUPPORT_DYNAMIC_ALLOCATION 0