Embedding Binary Data using CMake help

Posts: 144
Joined: Thu May 03, 2018 1:18 pm

Embedding Binary Data using CMake help

Postby username » Wed Jun 05, 2019 5:12 am

When using make, embedding files was straightforward to me. If I wanted to add index.html & favicon.ico all I had to put this in the component.mk file:

Code: Select all

COMPONENT_EMBED_FILES := WebsiteFiles/index.html WebsiteFiles/favicon.ico WebsiteFiles/jquery-3.3.1.min.js
Trying to switch over to the new CMake, this is not so clear to me how to do it.
I was reading here, but its to vague for me to understand.
https://docs.espressif.com/projects/esp ... inary-data

Could someone provide some assistance on how to embed files for the new CMake please.


Who is online

Users browsing this forum: MSN [Bot] and 28 guests