mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-05-20 20:19:04 -04:00
configSTACK_ALLOCATION_FROM_SEPARATE_HEAP was added recently in https://github.com/FreeRTOS/FreeRTOS-Kernel/pull/267. This macro was used in portable.h before its default value was defined, resulting in a warning when built with -Wundef. This changes moves the default value definition for configSTACK_ALLOCATION_FROM_SEPARATE_HEAP to portable.h to ensure that it is defined before first use. portUSING_MPU_WRAPPERS check in mpu_wrappers.h was updated in https://github.com/FreeRTOS/FreeRTOS-Kernel/pull/285. The new check results in a warning when built with -Wundef because portUSING_MPU_WRAPPERS is not defined yet. This changes adds the default value definition for portUSING_MPU_WRAPPERS to portable.h to ensure that it is defined before first use. Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com> |
||
---|---|---|
.. | ||
atomic.h | ||
croutine.h | ||
deprecated_definitions.h | ||
event_groups.h | ||
FreeRTOS.h | ||
list.h | ||
message_buffer.h | ||
mpu_prototypes.h | ||
mpu_wrappers.h | ||
portable.h | ||
projdefs.h | ||
queue.h | ||
semphr.h | ||
stack_macros.h | ||
StackMacros.h | ||
stdint.readme | ||
stream_buffer.h | ||
task.h | ||
timers.h |