stangreg / Ignitron

An ESP32 based foot pedal to control the Spark Amp and connect to the App using Bluetooth LE.
BSD 3-Clause "New" or "Revised" License
37 stars 11 forks source link

Missing Ext_nimble_config.h #23

Closed Bonekrovvn closed 7 months ago

Bonekrovvn commented 1 year ago

Hello stangreg, I'm done with hardware and my friend is doing software side, but he has problem with this missing library Ext_nimble_config.h. Could You please help me what is missing or what shoudl we do? Thank You! Vit, Czech republic 368187215_1339184213376486_2952942312821226563_n

Bonekrovvn commented 11 months ago

After reinstalling everything still that same error message so I must do some basic mistake somewhere...

stangreg commented 11 months ago

Not giving up yet...

I compared the steps from your build process with mine to see where it might fail for you.

In the beginning, the build process tries to copy some files into the Release folder depending on where it finds it first. It will first look into the project folder, then the esp32 config folders.

Can you please check if the following files exist in the given locations on your system:

Let me know which ones you find and which ones not.

What is strange is that in some paths in your build log are missing a "\", for example here: C:\Sloeber\arduinoPlugin\packages\esp32\hardware\esp32\2.0.14\variants\esp32dapartitions.csv This should be C:\Sloeber\arduinoPlugin\packages\esp32\hardware\esp32\2.0.14\variants\esp32da\partitions.csv

So it might be that some variables are not configured correctly in your Sloeber. Please check in project properties -> C/C++ Build -> Environment for the following:

You can also check if the paths have consistently "\" as a path separator and adjust accordingly to be safe. When done, please do a clean build (via Project -> Clean...) and check if you get further in the process. If so, we can do some more checks.

In addition, please let me know the value of the following variables:

I have the hope that this brings us at least a bit closer.

Bonekrovvn commented 11 months ago

I found one strange thing - that same error message appears right after creating new arduino sketch no matter how I name the new project.

stangreg commented 11 months ago

Yes, that could be because of the incorrect variable settings. I suggest doing what I mentioned above and try again

Btw: I might not be able to react much over the weekend

stangreg commented 11 months ago

I forgot maybe the most important path variable. Please make sure that the variables

runtime.tools.esptools_py.path

runtime.tools.esptools_py-4.5.1.path

runtime.tools.esptools_py4.5.1.path

have a \ at the end.

stangreg commented 11 months ago

@Bonekrovvn did you have the chance yet to try the steps I suggested in my last three messages?

Bonekrovvn commented 11 months ago

Hello, I tried but still same... I recorded new sketch process and I think that problem is at the very start https://www.youtube.com/watch?v=c6rqRISNFzY

stangreg commented 11 months ago

Thanks for the video. I cannot judge if the board config is correct, but that should not matter as the compile is independent of that.

In the video you did not adjust the environment variables in the project properties as described in my last 3 comments. Can you maybe try this and check if the compile at least goes further?

There is one longer comment and then a shorter one because I forgot one important variable.

Bonekrovvn commented 11 months ago

Should I set those variables before starting new sketch? Because all lines are empty as visible in screenshot. Snímek obrazovky 2023-11-05 191731

After starting new sketch and setting up board options it automaticaly runs those lines as captured in video. Should I ignore it and edit variables after?

Also, I am not sure if I it is ok just to drag and drop Ignitron-main file to project explorer as I always do.

Bonekrovvn commented 11 months ago

Should it look like this? Snímek obrazovky 2023-11-05 193048 Snímek obrazovky 2023-11-05 193320

stangreg commented 11 months ago

Should I set those variables before starting new sketch? Because all lines are empty as visible in screenshot.

Snímek obrazovky 2023-11-05 191731

After starting new sketch and setting up board options it automaticaly runs those lines as captured in video. Should I ignore it and edit variables after?

Also, I am not sure if I it is ok just to drag and drop Ignitron-main file to project explorer as I always do.

You need to set the variables after setting up the sketch, before you compile. If it automatically compiles after first setup, no problem, just adjust the variables and rerun the build.

I would recommend trying to build an empty sketch before trying Ignitron, so you can ensure that the build in general works.

However, when you setup the Ignitron I would recommend to start a new sketch and then select the "Import..." command in Project Menu and point to the Ignitron.ino file on your checked out folder.

stangreg commented 11 months ago

Should it look like this?

Snímek obrazovky 2023-11-05 193048

Snímek obrazovky 2023-11-05 193320

In general this is the place where you set up the variables.

However in the first screenshot the variable is pointing to a file, not a folder. For those you should not add a \ at the end.

Also, when the variable has / as separators, you can also use those instead of \ .

Please focus first on the variables I have mentioned in my comment above and try to build after adjusting the ones where I suggested.

Hopefully the build log output should at least differ from the current output and bring us one step closer.

stangreg commented 7 months ago

Issue has been stale for 100 days, closing due to inactivity.