Hello Burtrum,
as mentioned by Ivan, we will be adding the examples shortly. In the meantime, the basic concept with an example is described in the documentation here: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/build-system-v2.html. This might be useful until the ...
Search found 12 matches
- Thu Jan 15, 2026 8:58 am
- Forum: ESP-IDF
- Topic: Build System V2 - Example Code?
- Replies: 5
- Views: 652
- Thu Jul 10, 2025 10:17 am
- Forum: ESP-IDF
- Topic: adding lib to component trouble
- Replies: 4
- Views: 486
Re: adding lib to component trouble
Hello,
as MicroController already stated the dependency needs to be added to the lvgl cmake component registration.
I tried with hello_world project
$ idf.py add-dependency "espressif/libpng^1.6.39~1"
$ idf.py add-dependency "lvgl/lvgl^9.3.0"
$ idf.py menuconfig # Component config ---> LVGL ...
as MicroController already stated the dependency needs to be added to the lvgl cmake component registration.
I tried with hello_world project
$ idf.py add-dependency "espressif/libpng^1.6.39~1"
$ idf.py add-dependency "lvgl/lvgl^9.3.0"
$ idf.py menuconfig # Component config ---> LVGL ...
- Thu Jul 10, 2025 9:02 am
- Forum: ESP-IDF
- Topic: project_description.json not being created
- Replies: 2
- Views: 432
Re: project_description.json not being created
Hello,
the project's CMakeLists.txt seems strange. First the project() is called before project.cmake is included. Note that the whole esp-idf build logic is part of the project() macro which is defined in project.cmake and overrides the default cmake's project() function. Also the build system ...
the project's CMakeLists.txt seems strange. First the project() is called before project.cmake is included. Note that the whole esp-idf build logic is part of the project() macro which is defined in project.cmake and overrides the default cmake's project() function. Also the build system ...
- Mon Dec 16, 2024 1:22 pm
- Forum: ESP-IDF
- Topic: idf.py size: no symbol for libfreertos.a reference
- Replies: 2
- Views: 2323
Re: idf.py size: no symbol for libfreertos.a reference
Hello,
apologies for the inconvenience. I believe this issue should be resolved in esp-idf-size 1.6.1 with the following commit: https://github.com/espressif/esp-idf-size/commit/6b05f30c74847359939ec819df26e1c516a6cbb6. In this particular instance, the problem was with the '.size' directive for the ...
apologies for the inconvenience. I believe this issue should be resolved in esp-idf-size 1.6.1 with the following commit: https://github.com/espressif/esp-idf-size/commit/6b05f30c74847359939ec819df26e1c516a6cbb6. In this particular instance, the problem was with the '.size' directive for the ...
- Fri Aug 09, 2024 7:59 am
- Forum: ESP-IDF
- Topic: Beginner's issues with flashing via serial port
- Replies: 2
- Views: 2633
Re: Beginner's issues with flashing via serial port
Hello,
it seems you just selected a wrong device file. It should be something like /dev/ttyACM0. You can check dmesg
sudo dmesg
[ 629.711014] usb 3-2: new full-speed USB device number 3 using xhci_hcd
[ 629.866286] usb 3-2: New USB device found, idVendor=303a, idProduct=1001, bcdDevice= 1.01 ...
it seems you just selected a wrong device file. It should be something like /dev/ttyACM0. You can check dmesg
sudo dmesg
[ 629.711014] usb 3-2: new full-speed USB device number 3 using xhci_hcd
[ 629.866286] usb 3-2: New USB device found, idVendor=303a, idProduct=1001, bcdDevice= 1.01 ...
- Wed Aug 07, 2024 5:49 am
- Forum: ESP-IDF
- Topic: ESP32-C2: Too little Ram left after BLE and WiFi init.
- Replies: 2
- Views: 1201
Re: ESP32-C2: Too little Ram left after BLE and WiFi init.
Hello,
maybe the following docs may help
https://docs.espressif.com/projects/esp ... erall-size
https://docs.espressif.com/projects/esp ... imizations
Thank you
maybe the following docs may help
https://docs.espressif.com/projects/esp ... erall-size
https://docs.espressif.com/projects/esp ... imizations
Thank you
- Tue Jul 23, 2024 8:36 am
- Forum: General Discussion
- Topic: idf.py size does not product the
- Replies: 3
- Views: 2133
Re: idf.py size does not product the
Hello,
the new output format from the refactored version of esp-idf-size should be available by default starting with version 5.3. For older versions, you can switch to the refactored version by setting the ESP_IDF_SIZE_NG env. variable export ESP_IDF_SIZE_NG=1 Note that the refactored version is ...
the new output format from the refactored version of esp-idf-size should be available by default starting with version 5.3. For older versions, you can switch to the refactored version by setting the ESP_IDF_SIZE_NG env. variable export ESP_IDF_SIZE_NG=1 Note that the refactored version is ...
- Fri Aug 25, 2023 5:05 pm
- Forum: General Discussion
- Topic: No toolchain file found error
- Replies: 5
- Views: 3566
Re: No toolchain file found error
Hello,
the selected toolchain and target do not match as reported in the error message. I guess maybe the plugin takes the target from the stale sdkconfig, but it's hard say. Anyway the cmake command is obviously wrong. -DCMAKE_TOOLCHAIN_FILE refers to eps32c6, but -DIDF_TARGET is set to esp32. You ...
the selected toolchain and target do not match as reported in the error message. I guess maybe the plugin takes the target from the stale sdkconfig, but it's hard say. Anyway the cmake command is obviously wrong. -DCMAKE_TOOLCHAIN_FILE refers to eps32c6, but -DIDF_TARGET is set to esp32. You ...
- Fri Aug 25, 2023 8:01 am
- Forum: ESP-IDF
- Topic: install.sh on v4.2 fails on recent Debian with python 3.11
- Replies: 3
- Views: 4301
Re: install.sh on v4.2 fails on recent Debian with python 3.11
Hello,
this will probably not be much of help, but the commit https://github.com/espressif/esp-idf/commit/3974be7fec1ea6c529ecbee795c0152b42b61d55 from https://github.com/espressif/esp-idf/issues/10116 referenced here was backported to v4.2 https://github.com/espressif/esp-idf/commit ...
this will probably not be much of help, but the commit https://github.com/espressif/esp-idf/commit/3974be7fec1ea6c529ecbee795c0152b42b61d55 from https://github.com/espressif/esp-idf/issues/10116 referenced here was backported to v4.2 https://github.com/espressif/esp-idf/commit ...
- Fri Aug 25, 2023 7:13 am
- Forum: ESP-IDF
- Topic: Two diferents versions de esp-idf in diferents directories
- Replies: 4
- Views: 3160
Re: Two diferents versions de esp-idf in diferents directories
Hello,
I believe there should be no problem. Tools are properly versioned and python env is also based on esp-idf version. Meaning there should be no collision.
Let's say I have the esp-idf repository already cloned in the esp-idf directory.
git clone --reference esp-idf --single-branch --branch ...
I believe there should be no problem. Tools are properly versioned and python env is also based on esp-idf version. Meaning there should be no collision.
Let's say I have the esp-idf repository already cloned in the esp-idf directory.
git clone --reference esp-idf --single-branch --branch ...