Copyright © https://mongoose-os.com

Mongoose OS Forum

frame

ESP32 Extra Component

Hello,

How can I add a custom esp32 extra component to the build ?

I have tried to add this lines to mos.yml without success :

cdefs:
ESP_IDF_EXTRA_COMPONENTS: ~/DEV/ESP32/my_custom_component.

I have this error : my_custom_component.h no such file or directory ...

Thank you

Comments

  • After reading the Makefile.build I seen that ESP_IDF_EXTRA_COMPONENTS corresponding to the components name and not the path, I have changed the previous configuration to :

    cdefs:
    ESP_IDF_EXTRA_COMPONENTS: my_custom_component

    I have also added my_custom_component directory to $IDF_PATH/components but without success I have still the error...

Sign In or Register to comment.