mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
feat(freertos): soft-preempting linux simulator
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user