Firmware install error 'error: 'x509_crt_parse_der_core' was not declared in this scope'

Hi there!

I’ve been trying to build the firmware locally, and following the manual(device-os/gettingstarted.md at develop · particle-iot/device-os · GitHub) I run the following line

make clean all PLATFORM=photon -s program-dfu

then I encountered the following error

error: 'x509_crt_parse_der_core' was not declared in this scope
  720 |             ret = x509_crt_parse_der_core(cc, p + total_len, len - total_len);
      |                   ^~~~~~~~~~~~~~~~~~~~~~~

I am using arm-none-eabi-gcc 9.3.1and GNU Make 3.8, on Mac.

Any help would be immensely appreciated. Thank you!

Hi @jwonlee - I likely am not able to help you with this, but I’m just curious why you are not using Particle Workbench (https://www.particle.io/workbench/)?

1 Like