Embedding Txt ESP32 implicit dependency not found

Hi,

I’m trying to save a certificate on the NVS of the ESP32. If I use this line:

build_flags =
-DCOMPONENT_EMBED_TXTFILES = scr/test.cer

I get the next lines in my output:

*** [.pio\build\featheresp32\firmware.elf] Implicit dependency C:\Users\xxxxxx.platformio\platforms\espressif32\builder=’ not found, needed by target .pio\build\featheresp32\firmware.elf’.
================================================================================ [ERROR] Took 14.59 seconds ================================================================================
The terminal process terminated with exit code: 1

And here’s my platforimio.ini file:

[env:featheresp32]
platform = espressif32
board = featheresp32
framework = arduino
monitor_speed = 115200
build_flags =
-DCOMPONENT_EMBED_TXTFILES = scr/fabnetAWS.cer
;debug_tool = esp-prog
;debug_init_break = tbreak setup
board_build.partitions = default.csv
lib_deps =
ArduinoJSon@<6.0
PubSubClient

Any suggestions?

Regards,
David

1 Like

Did you try removing the spaces around the = on that line?
They don’t show spaces in the docs: Espressif 32 — PlatformIO latest documentation

2 Likes

Hi @atanisoft,

It’s quite late now here, but I gave it a quick go and that seems to fix it! I’ll do some more tests soon.

Thanks!
David

2 Likes

Glad that it worked!

1 Like