[mocks]: freertos mock

[esp_event]: added preliminary host-based tests
This commit is contained in:
Jakob Hasse
2021-07-21 12:07:53 +08:00
parent 59aa60d52a
commit c9984faaef
25 changed files with 582 additions and 49 deletions

View File

@@ -74,7 +74,9 @@
// The arch-specific FreeRTOSConfig.h in port/<arch>/include.
#include_next "freertos/FreeRTOSConfig.h"
#if !(defined(FREERTOS_CONFIG_XTENSA_H) || defined(FREERTOS_CONFIG_RISCV_H))
#if !(defined(FREERTOS_CONFIG_XTENSA_H) \
|| defined(FREERTOS_CONFIG_RISCV_H) \
|| defined(FREERTOS_CONFIG_LINUX_H))
#error "Needs architecture-speific FreeRTOSConfig.h!"
#endif
@@ -244,7 +246,9 @@
kept at 1. */
#define configKERNEL_INTERRUPT_PRIORITY 1
#if !CONFIG_IDF_TARGET_LINUX
#define configUSE_NEWLIB_REENTRANT 1
#endif
#define configSUPPORT_DYNAMIC_ALLOCATION 1
#define configSUPPORT_STATIC_ALLOCATION 1