module: add zephyr integration
Support as a zephyr module. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
b2ff235bd0
commit
6835bfc741
|
@ -0,0 +1,18 @@
|
|||
# At the moment there is only one supported ESP32 SoC, and it is not
|
||||
# supported to omit the esp-dif HAL library, so we don't check for a
|
||||
# KConfig option to enable the HAL
|
||||
#
|
||||
# In the future it might look like this:
|
||||
# if(CONFIG_ESP_DIF_LIBRARY)
|
||||
# to allow users to disable the HAL
|
||||
if(CONFIG_SOC_ESP32)
|
||||
zephyr_include_directories(
|
||||
../components/esp32/include
|
||||
../components/soc/esp32/include
|
||||
)
|
||||
|
||||
zephyr_link_libraries(
|
||||
hal
|
||||
-L${CMAKE_CURRENT_SOURCE_DIR}/../components/esp32
|
||||
)
|
||||
endif()
|
|
@ -0,0 +1,2 @@
|
|||
build:
|
||||
cmake: zephyr
|
Loading…
Reference in New Issue