Closed tore-espressif closed 1 year ago
It requires -t
, --target
to pass the targets. Sorry the documentation is not very clear yet. Will improve soon.
You may try with
$ cd esp-bsp
$ python -m idf_build_apps find -p /examples --recursive -t all
The result would be:
(cmake) App examples/audio, target esp32s3, sdkconfig (default), build in /home/fuhanxi/git/esp-bsp/examples/audio/build
(cmake) App examples/display, target esp32, sdkconfig (default), build in /home/fuhanxi/git/esp-bsp/examples/display/build
(cmake) App examples/display, target esp32c2, sdkconfig (default), build in /home/fuhanxi/git/esp-bsp/examples/display/build
(cmake) App examples/display, target esp32c3, sdkconfig (default), build in /home/fuhanxi/git/esp-bsp/examples/display/build
(cmake) App examples/display, target esp32s2, sdkconfig (default), build in /home/fuhanxi/git/esp-bsp/examples/display/build
(cmake) App examples/display, target esp32s3, sdkconfig (default), build in /home/fuhanxi/git/esp-bsp/examples/display/build
(cmake) App examples/display_audio, target esp32s2, sdkconfig (default), build in /home/fuhanxi/git/esp-bsp/examples/display_audio/build
(cmake) App examples/display_audio_photo, target esp32s3, sdkconfig (default), build in /home/fuhanxi/git/esp-bsp/examples/display_audio_photo/build
(cmake) App examples/display_camera, target esp32s2, sdkconfig (default), build in /home/fuhanxi/git/esp-bsp/examples/display_camera/build
(cmake) App examples/display_lvgl_demos, target esp32s3, sdkconfig (default), build in /home/fuhanxi/git/esp-bsp/examples/display_lvgl_demos/build
(cmake) App examples/display_rotation, target esp32s3, sdkconfig (default), build in /home/fuhanxi/git/esp-bsp/examples/display_rotation/build
(cmake) App examples/mqtt_example, target esp32, sdkconfig (default), build in /home/fuhanxi/git/esp-bsp/examples/mqtt_example/build
(cmake) App examples/mqtt_example, target esp32c2, sdkconfig (default), build in /home/fuhanxi/git/esp-bsp/examples/mqtt_example/build
(cmake) App examples/mqtt_example, target esp32c3, sdkconfig (default), build in /home/fuhanxi/git/esp-bsp/examples/mqtt_example/build
(cmake) App examples/mqtt_example, target esp32s2, sdkconfig (default), build in /home/fuhanxi/git/esp-bsp/examples/mqtt_example/build
(cmake) App examples/mqtt_example, target esp32s3, sdkconfig (default), build in /home/fuhanxi/git/esp-bsp/examples/mqtt_example/build
(cmake) App examples/sensors_example, target esp32, sdkconfig (default), build in /home/fuhanxi/git/esp-bsp/examples/sensors_example/build
(cmake) App examples/sensors_example, target esp32c2, sdkconfig (default), build in /home/fuhanxi/git/esp-bsp/examples/sensors_example/build
(cmake) App examples/sensors_example, target esp32c3, sdkconfig (default), build in /home/fuhanxi/git/esp-bsp/examples/sensors_example/build
(cmake) App examples/sensors_example, target esp32s2, sdkconfig (default), build in /home/fuhanxi/git/esp-bsp/examples/sensors_example/build
(cmake) App examples/sensors_example, target esp32s3, sdkconfig (default), build in /home/fuhanxi/git/esp-bsp/examples/sensors_example/build
(cmake) App examples/touchscreen_colorwheel, target esp32s3, sdkconfig (default), build in /home/fuhanxi/git/esp-bsp/examples/touchscreen_colorwheel/build
Thanks! How are is the target compatibility determined? From README header?
I can see, from sdkconfig... Thanks!
@tore-espressif there're two ways to determine that.
The manifest file way is not ESP-IDF repo specific, I'll add the related documentation in this repo later.
Hi @hfudev , I'm testing this with esp-bsp using following command:
But I get this response:
I have also tried non-recursive find, with path set directly to an example project. Tested on win10 and Ubuntu 22.04.
Could you please advise?