Replies: 5 comments 1 reply
-
|
After debugging for the last day, checking so many different things, I think it comes down to how your plugin is setup to use clang instead of GNU. The project I am working on uses the GNU compiler and it seems like when I try to use your plugin to reconfigure it attempts to compile with clang. I am not smart enough with neovim plugins yet to do anything like this but just making sure to document this in case somebody has this issue in the future. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @csdarren, I have not used Arduino as a component in esp-idf yet. A long time back I started out with Arduino as well, and also used platform.io, which was great at the time! As I figured out how to work with microcontrollers and how things work, I migrated to esp-idf, and lately further to esp-rust. I would like to encourage you to get started with esp-idf, as soon as you cross the initial learning curve barrier, it's fun! Since I'm no active Arduino developer at the time, I can't reliably make this plugin work for Arduino, but if people want to contribute, it would be great to be able to support it. |
Beta Was this translation helpful? Give feedback.
-
|
I actually still had it open so here is the errors I am getting. They just get spammed anytime I scroll through my main project. |
Beta Was this translation helpful? Give feedback.
-
|
Can you check if which clangd
clangd --versionThis should point the to the ESP folder. Also run the command |
Beta Was this translation helpful? Give feedback.
-
|
Okay I figured out the problem... I had some of your plugins code commented out while I wasnt working with the ESP32, so I didnt get the warnings that it cant find clangd each time I started a file. Is there a way you could make it so that error message only shows up when editing c/c++ files? or another identifier that is more specific to esp32's? Or maybe it already does this and I had something else going on. Either way, problem fixed and I appreciate you! Using 'which' is very nice i need to start using that more often during config |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
I am pretty new to ESP32 still, having only done simple blink scripts in the past through other IDE's like arduino and platformio, I saw your project and thought I would dive back into ESP32's since I can stay inside neovim now! This is my first experience using esp-idf, and while I understand what is going on pretty well, the project I am trying to flash to my esp32 was built in an .ino arduino file, and my attempts to conver this into an esp-idf project have been very unsuccessful :(
Have you got any experience loading arduino as a component? I have followed espressif's official guide on loading arduino as a component (manually).
I have successfully flashed several non-arduino projects with your tool / manual idf.py terminal commands.
I am currently stuck on idf.py build within the project directory that includes arduino as a component. I have attached my terminal output... Any help is greatly appreciated!
log.txt
Beta Was this translation helpful? Give feedback.
All reactions