esp32: fix generation of phy_init_data.bin

Closes https://github.com/espressif/esp-idf/issues/4567
This commit is contained in:
Renz Christian Bagaporo 2020-01-08 15:58:55 +08:00 committed by bot
parent 367c3c09cc
commit 8b44275fbf

View file

@ -143,7 +143,7 @@ else()
DEPENDS ${CMAKE_CURRENT_LIST_DIR}/phy_init_data.h
COMMAND ${CMAKE_C_COMPILER} -x c -c
-I ${CMAKE_CURRENT_LIST_DIR} -I ${CMAKE_CURRENT_LIST_DIR}/include -I ${IDF_BUILD_ARTIFACTS_DIR}
-o phy_init_data.obj
-I ${CONFIG_DIR} -o phy_init_data.obj
${CMAKE_CURRENT_LIST_DIR}/phy_init_data.h
COMMAND ${CMAKE_OBJCOPY} -O binary phy_init_data.obj ${PHY_INIT_DATA_BIN}
)