feat(freertos): soft-preempting linux simulator

This commit is contained in:
Guillaume Souchere
2026-06-04 11:36:21 +02:00
parent 848fbc8d74
commit 78420f2614
19 changed files with 1428 additions and 946 deletions
+4
View File
@@ -1,3 +1,7 @@
# This is a manual mock that supplies `main()` if FreeRTOS is mocked
idf_component_register(SRCS "startup_mock.c"
REQUIRES main esp_event)
# Prevent esp_system from providing main() since this component provides it
idf_component_get_property(esp_system_lib esp_system COMPONENT_LIB)
target_compile_definitions(${esp_system_lib} PRIVATE ESP_SYSTEM_LINUX_NO_MAIN)