Build Dirs :
This is what I see when creating project and building.
Definition :
[temp] = c:\users\herman\appdata\temp\vmbuilds
[project] = c:\userdata\vmicro\projects
projectname = BuildDirTest.
Core = esp32 v2.0.2
Shared Cache for Core = false
Create Vmicro empty project BuildDirTest
- in [temp] a directory is created "BuildDirTest\esp32_d32\Debug\.vm_sys" only containing arduino_version.txt
- in [project] a directory is created which contains the project structure, including the BuildDirTest.ino
First build.
- in [temp] no change
- in [project] a directory is created "Debug" which holds
on toplevel the BuildDirTest.ino & .cpp & the compile intermediate (.o & .d files)
in subdir core the compile intermediates from core.
Second build.
- in [temp] no change
- in [project] a directory is created "Debug\Debug" which contains BuildDirTest.cpp
Third build.
- in [temp] no change
- in [project] a directory is created "Debug\Debug\Debug" which contains another BuildDirTest.cpp
Clean project.
from Micro build output. "Deleted temporary build folder 'C:\Users\Herman\AppData\Local\Temp\VMBuilds\BuildDirTest\esp32_d32\Debug'
- in [temp] the debug directory is deleted
- in [project] no change
I see three issues in this :
- Unnecessary creation of diretory in [temp]
- Adding unnecessary additional levels of Debug in [project]
- Clean function deletes wrong directory.
CPP only :
Understand the "non arduino compliance". Will stick to the "empty project.ino".
Remove library from project
What is the correct way to remove a library from a project ?
I add a library to a project. See it in the src\_micro-api-readonly\libraries directory.
Looks like the library.h file is only visible to .cpp files when I have a inlcude library.h in the ino file ??
But when I do that I can use it.
Then I delete the library by rightclick on it's name, Delete. It is correctly removed from the display.
But I still can include the library.h in the project.
Looking in the projects vcxproj I see the library in the AdditionalIncludeDirectories.
aries\MessageTransfer\src;
IDE configuration.
Still struggling with correct setup, busy with that.
When trying to install STM32 MCU Boards, I get the error message "The UF2 tool is not available for windows". It displays "Downloading or unpacking 1 Package. But does not finish.
Is there a way to see what is happening ?
In every IDE the boardmanager is already loaded with the autodiscovery. Is there way to prevent this and only see the ones added in the view ?