test: add Linux full component build app

Exercise unrestricted Linux-target builds so unsupported hardware-only components are caught by CI.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Marius Vikhammer
2026-07-06 13:26:17 +08:00
co-authored by Cursor
parent 61c798000f
commit bd25b59620
18 changed files with 100 additions and 48 deletions
+5 -5
View File
@@ -1,5 +1,9 @@
idf_build_get_property(target IDF_TARGET)
if(${target} STREQUAL "linux")
return() # This component is not supported by the POSIX/Linux simulator
endif()
set(srcs)
set(public_include "include")
if(CONFIG_SOC_PARLIO_SUPPORTED)
@@ -17,11 +21,7 @@ if(CONFIG_SOC_PARLIO_SUPPORTED)
endif()
if(${target} STREQUAL "linux")
set(priv_requires "")
else()
set(priv_requires esp_pm esp_driver_gpio esp_mm esp_driver_bitscrambler esp_driver_dma)
endif()
set(priv_requires esp_pm esp_driver_gpio esp_mm esp_driver_bitscrambler esp_driver_dma)
idf_component_register(SRCS ${srcs}
INCLUDE_DIRS ${public_include}