Ingestion-sdk-c: creating .cbor on esp32 esp-idf

I would like to use esp32 for data collection, posting .cbor data via http-client POST. Esp-idf recommends creating components, I would like to have a .cbor creation component.

Running make with the xtensa-esp32-elf- toolset seems to make all the .o files but I am not sure how to prevent it from creating a standalone binary. at the end get /cpu_start.c:583: undefined reference to app_main’`

Has anyone done this. What would my makefile look like? Has anyone seen a cmake version?

Am I better off using Google’s IoT Core Embedded C SDK?

Hi @mcktimo,

@rafaelbidese wrote an example some time ago to collect data with an ESP32-Cam: https://github.com/rafaelbidese/ei-projects/tree/ef7c4b91aa7f964e029c4e50e873c5ff2836b56b/esp32-examples. It’s using Arduino but it is a good starting point.

Aurelien

2 Likes