←back to thread

76 points todsacerdoti | 1 comments | | HN request time: 0.241s | source
Show context
Graziano_M ◴[] No.43684510[source]
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/...

replies(1): >>43684894 #
1. grmnygrmny2 ◴[] No.43684894[source]
Amazing! Thank you!