Search found 3 matches

by gonzalo
Mon Apr 24, 2023 5:44 pm
Forum: IDEs for ESP-IDF
Topic: Automatically grey out disabled code by Preprocessor Directives (#define)
Replies: 1
Views: 1885

Re: Automatically grey out disabled code by Preprocessor Directives (#define)

I've found the issue. Intellisense is configured differently in the VSCode IDF Extension default templeate than in Platformio. Adding "compileCommands": "${workspaceFolder}/build/compile_commands.json" to .vscode/c_cpp_properties.json and changing C_Cpp.intelliSenseEngine to default in .vscode/setti...
by gonzalo
Fri Apr 21, 2023 4:59 pm
Forum: IDEs for ESP-IDF
Topic: Automatically grey out disabled code by Preprocessor Directives (#define)
Replies: 1
Views: 1885

Automatically grey out disabled code by Preprocessor Directives (#define)

Hello. I'm in the transition of porting my whole project from Platformio+Arduino to IDF VS Code Extension+IDF+Arduino I miss a feature that I'm not sure if it's Platformio specific. In my project I configure how the code is compiled enabling and disabling #define s (preprocessor directives). Previou...
by gonzalo
Fri Jan 21, 2022 12:11 pm
Forum: ESP-IDF
Topic: Arduino Ring Buffer - Make it Thread Safe
Replies: 1
Views: 2487

Arduino Ring Buffer - Make it Thread Safe

Hello everyone. First time writing here but long time Arduino ESP32 stack user. I have wrote a Ring Buffer with high level C++ and now I would like to be able to share that ring buffer between multiple writers and one reader. I would like to know how to avoid this situacion in ESP32-IDF (arduino sta...