esp32: update for soc refactor in esp-idf 9edab21385b6349340d7e3ac27b730e44a127fd3
authorAndy Green <andy@warmcat.com>
Sun, 16 Apr 2017 23:38:28 +0000 (07:38 +0800)
committerAndy Green <andy@warmcat.com>
Sun, 16 Apr 2017 23:40:15 +0000 (07:40 +0800)
cross-esp32.cmake

index bea0b54..8bed6ca 100644 (file)
@@ -25,6 +25,7 @@ SET(CMAKE_C_FLAGS "-nostdlib -Wall -Werror \
        -I${IDF_PATH}/components/esp32/include/ \
        -I${IDF_PATH}/components/bootloader_support/include/ \
        -I${IDF_PATH}/components/app_update/include/ \
+       -I$(IDF_PATH)/components/soc/esp32/include/ \
        ${LWS_C_FLAGS} -Os \
        -I${IDF_PATH}/components/nvs_flash/test_nvs_host \
        -I${IDF_PATH}/components/freertos/include" CACHE STRING "" FORCE)