mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
Merge branch 'feat/esp-system-linux-support-update' into 'master'
feat(esp_system): Add linux support for freertos hooks and system init function See merge request espressif/esp-idf!46570
This commit is contained in:
@@ -30,3 +30,7 @@ idf_component_mock(INCLUDE_DIRS ${include_dirs}
|
||||
|
||||
idf_component_get_property(freertos_lib freertos COMPONENT_LIB)
|
||||
target_compile_definitions(${freertos_lib} PUBLIC "projCOVERAGE_TEST=0")
|
||||
|
||||
# When using FreeRTOS mocks, prevent esp_system from providing main() so tests can provide their own
|
||||
idf_component_get_property(esp_system_lib esp_system COMPONENT_LIB)
|
||||
target_compile_definitions(${esp_system_lib} PRIVATE ESP_SYSTEM_LINUX_NO_MAIN)
|
||||
|
||||
@@ -44,6 +44,7 @@ menu "FreeRTOS"
|
||||
# Linux FreeRTOS port supports single-core only.
|
||||
bool
|
||||
default y
|
||||
select ESP_SYSTEM_SINGLE_CORE_MODE
|
||||
|
||||
config FREERTOS_NUMBER_OF_CORES
|
||||
# Invisible option to configure the number of cores on which FreeRTOS runs
|
||||
|
||||
Reference in New Issue
Block a user