I was previously embedding the certificates into the firmware using the components.mk file like this
Code: Select all
COMPONENT_EMBED_TXTFILES = device_cert.pem
Code: Select all
extern const uint8_t device_cert_pem_start[] asm("_binary_device_cert_pem_start");
extern const uint8_t device_cert_pem_end[] asm("_binary_device_cert__pem_end");
Thanks
Saransh Goel