Hi,
i am trying to figure out if its possible to add rules in yml file to include component based on some sdkconfig flag?
Ive been studying this docs but could not find any info
https://docs.espressif.com/projects/idf ... _file.html
What i am trying to do:
- make brookesia app for different display types
- i am using BSP components from espressif for p4 devkit and waveshare for P4 nano
- each devkit is connected to different type of display
- BSP components excluding each other and only one BSP is working
- there is no problem if i want to use some S3 devkit with display, because i can use if: target clause
Thanks
managed components dependency
Re: managed components dependency
I found this option
it is not ideal thou.
Cmake will fail in case BSP variable is not present, so i have to export BSP each time i open vscode.
It would be nice if it would work with default value if nor present or just to assume that VAR fail in this if clause.
Code: Select all
espressif/esp32_p4_function_ev_board:
version: '*'
rules:
- if: target in [esp32p4]
- if: $BSP==1
waveshare/esp32_p4_nano:
version: '*'
rules:
- if: target in [esp32p4]
- if: $BSP==2
Cmake will fail in case BSP variable is not present, so i have to export BSP each time i open vscode.
It would be nice if it would work with default value if nor present or just to assume that VAR fail in this if clause.
Who is online
Users browsing this forum: Corand and 148 guests