Search found 4 matches

by CatalinM
Sat Feb 07, 2026 10:05 am
Forum: ESP-IDF
Topic: Passing variables when compiling/building project
Replies: 7
Views: 2215

Re: Passing variables when compiling/building project


The canonical way in IDF is via Kconfig: https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-guides/kconfig/component-configuration-guide.html


It is and it works great for settings that rarely change, but my use case was slightly different - I want to start the ESP without WiFi in ...
by CatalinM
Mon Jan 26, 2026 1:33 pm
Forum: ESP-IDF
Topic: Passing variables when compiling/building project
Replies: 7
Views: 2215

Re: Passing variables when compiling/building project

I know it's been 4 years, but I was looking for something like this and I couldn't find any solution on the internet.

However, I did find a way to get this going, so I want to post an answer for anyone else looking for a similar solution.

In you main `CMakeLists.txt` file, you need to define the ...
by CatalinM
Mon Dec 30, 2024 11:27 am
Forum: IDEs for ESP-IDF
Topic: Issue with VSCode finding stdlib
Replies: 2
Views: 4794

Re: Issue with VSCode finding stdlib

Yup, I have that in both `includePath` and `browse` (see my snippet above, it's below the fold). The only difference is `/*` at the end, but I've tried with or without and there's no difference.

Also tried regenerating `compile_commands.json`, without success. As far as I've noticed this only ...
by CatalinM
Sat Dec 28, 2024 6:05 pm
Forum: IDEs for ESP-IDF
Topic: Issue with VSCode finding stdlib
Replies: 2
Views: 4794

Issue with VSCode finding stdlib

Heya!

My project is building/running just fine, but VSCode (or better said the C/C++ extension) is driving me nuts not finding `stdlib.h`. I've scoured the internet and tried a lot of solutions, but it just doesn't want to work.

Here's my `c_cpp_properties.json`:
{
"configurations": [
{
"name ...

Go to advanced search