4 ms·
To embed a binary in esp-idf I believe you need something like: create_resources(${CMAKE_CURRENT_LIST_DIR}/../../binaries/RAM_APP ${CMAKE_BINARY_DIR}/binar
by Graziano_M 2y ago
To embed a binary in esp-idf I believe you need something like:
create_resources(${CMAKE_CURRENT_LIST_DIR}/../../binaries/RAM_APP ${CMAKE_BINARY_DIR}/binaries.c)
set_property(SOURCE ${CMAKE_BINARY_DIR}/binaries.c PROPERTY GENERATED 1)
Or using `EMBED_FILES`
I just happened to be looking at this very thing today that had to do this: https://github.com/espressif/esp-serial-flasher/blob/master/examples/esp32_load_ram_example/main/CMakeLists.txt https://github.com/espressif/esp-serial-flasher/blob/master/...
- grmnygrmny2 2y agoAmazing! Thank you!