Hi, Using the ESP-IDF framework in PlatformIO, I’m trying to get binary files to be linked in to objects using the component.mk directive: COMPONENT_EMBED_FILES. But it seems that PlatformIO is ignoring component.mk files in my project hierarchy.
The structure of my project is:
The contents of component.mk is simply: COMPONENT_EMBED_FILES := sound.wav
The main.c files references the binary object as by creating an external reference to it as shown below:
extern const uint8_t sound_wav_start asm("_binary_sound_wav_start");
extern const uint8_t sound_wav_end asm("_binary_sound_wav_end");
Has anyone had success including binary files in their project under PlatformIO using the ESP-IDF framework?