Forum Replies Created
-
AuthorPosts
-
November 28, 2019 at 17:24 in reply to: Can't open Arduino project after manually editing boards.txt #26623MystikReasonsParticipant
I also noticed that if you change the hardware directories under Arduino Settings and revert these changes it won’t take the new values.
See my post above: Error reading file (C:\Users\gwerderj\Documents\ArduinoData\packages\arduino\hardware\uni_erlangen\1.8.1\boards.txt:0): Invalid line format, should be ‘key=value’
You see the “uni_erlangen” keyword above but it’s not in the actual hardware directories paths anymore.
- This reply was modified 4 years, 12 months ago by MystikReasons.
Attachments:
You must be logged in to view attached files.November 28, 2019 at 17:22 in reply to: Can't open Arduino project after manually editing boards.txt #26621MystikReasonsParticipantThe new build also doesn’t want to install the missing package (‘arduino:avr’)
Failed to locate best tools for arduino:avr:uno: Platform ‘arduino:avr’ is not installed.
Launching Arduino builder…
C:\Program Files (x86)\Sysprogs\VisualGDB\Arduino\arduino-builder.exe -compile -logger=machine -fqbn=arduino:avr:uno -build-path C:\Users\gwerderj\source\repos\Arduino_MIOTY_LORA_LIKE_Dragino_BME280\Output\Arduino_Genuino_Uno\Debug -unoptimize=sketch -hardware “C:\Program Files (x86)\Sysprogs\VisualGDB\Arduino/hardware” -hardware C:\Users\gwerderj\Documents/ArduinoData/packages -hardware C:\Users\gwerderj\AppData\Local/Arduino15/packages -tools “C:\Program Files (x86)\Sysprogs\VisualGDB\Arduino/tools-builder” -tools C:\Users\gwerderj\Documents/ArduinoData/packages -tools C:\Users\gwerderj\AppData\Local/Arduino15/packages -libraries C:\Users\gwerderj\Documents/Arduino/Libraries sketches/Arduino_MIOTY_LORA_LIKE_Dragino_BME280.ino
Error reading file (C:\Users\gwerderj\Documents\ArduinoData\packages\arduino\hardware\uni_erlangen\1.8.1\boards.txt:0): Invalid line format, should be ‘key=value’
————————————————————-
Command exited with code 1
Executable: C:\Program Files (x86)\Sysprogs\VisualGDB\Arduino\arduino-builder.exe
Arguments: -compile -logger=machine -fqbn=arduino:avr:uno -build-path C:\Users\gwerderj\source\repos\Arduino_MIOTY_LORA_LIKE_Dragino_BME280\Output\Arduino_Genuino_Uno\Debug -unoptimize=sketch -hardware “C:\Program Files (x86)\Sysprogs\VisualGDB\Arduino/hardware” -hardware C:\Users\gwerderj\Documents/ArduinoData/packages -hardware C:\Users\gwerderj\AppData\Local/Arduino15/packages -tools “C:\Program Files (x86)\Sysprogs\VisualGDB\Arduino/tools-builder” -tools C:\Users\gwerderj\Documents/ArduinoData/packages -tools C:\Users\gwerderj\AppData\Local/Arduino15/packages -libraries C:\Users\gwerderj\Documents/Arduino/Libraries sketches/Arduino_MIOTY_LORA_LIKE_Dragino_BME280.ino
Directory: C:\Users\gwerderj\source\repos\Arduino_MIOTY_LORA_LIKE_Dragino_BME280
Command-line action failed========== Project Build Summary ==========
Arduino_MIOTY_LORA_LIKE_Dragino_BME280 built in 00:00
========== Build: 0 Succeeded, 1 Failed ==========Attachments:
You must be logged in to view attached files.November 28, 2019 at 17:15 in reply to: Can't open Arduino project after manually editing boards.txt #26620MystikReasonsParticipantOkay so after creating a new project from scratch with the Uno it already has build errors (just created the project).
I’m using your new build 3403.
Launching Arduino builder…
C:\Program Files (x86)\Sysprogs\VisualGDB\Arduino\arduino-builder.exe -compile -logger=machine -fqbn=arduino:avr:uno -build-path C:\Users\gwerderj\source\repos\Arduino_MIOTY_LORA_LIKE_Dragino_BME280\Output\Arduino_Genuino_Uno\Debug -unoptimize=sketch -hardware “C:\Program Files (x86)\Sysprogs\VisualGDB\Arduino/hardware” -hardware C:\Users\gwerderj\Documents/ArduinoData/packages -hardware C:\Users\gwerderj\AppData\Local/Arduino15/packages -tools “C:\Program Files (x86)\Sysprogs\VisualGDB\Arduino/tools-builder” -tools C:\Users\gwerderj\Documents/ArduinoData/packages -tools C:\Users\gwerderj\AppData\Local/Arduino15/packages -libraries C:\Users\gwerderj\Documents/Arduino/Libraries -prefs=runtime.tools.avr-gcc.path=C:\Users\gwerderj\Documents\ArduinoData\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5 -prefs=runtime.tools.avrdude.path=C:\Users\gwerderj\Documents\ArduinoData\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.arduinoOTA.path=C:\Users\gwerderj\Documents\ArduinoData\packages\arduino\tools\arduinoOTA\1.3.0 sketches/Arduino_MIOTY_LORA_LIKE_Dragino_BME280.ino
Error reading file (C:\Users\gwerderj\Documents\ArduinoData\packages\arduino\hardware\uni_erlangen\1.8.1\boards.txt:0): Invalid line format, should be ‘key=value’
————————————————————-
Command exited with code 1
Executable: C:\Program Files (x86)\Sysprogs\VisualGDB\Arduino\arduino-builder.exe
Arguments: -compile -logger=machine -fqbn=arduino:avr:uno -build-path C:\Users\gwerderj\source\repos\Arduino_MIOTY_LORA_LIKE_Dragino_BME280\Output\Arduino_Genuino_Uno\Debug -unoptimize=sketch -hardware “C:\Program Files (x86)\Sysprogs\VisualGDB\Arduino/hardware” -hardware C:\Users\gwerderj\Documents/ArduinoData/packages -hardware C:\Users\gwerderj\AppData\Local/Arduino15/packages -tools “C:\Program Files (x86)\Sysprogs\VisualGDB\Arduino/tools-builder” -tools C:\Users\gwerderj\Documents/ArduinoData/packages -tools C:\Users\gwerderj\AppData\Local/Arduino15/packages -libraries C:\Users\gwerderj\Documents/Arduino/Libraries -prefs=runtime.tools.avr-gcc.path=C:\Users\gwerderj\Documents\ArduinoData\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5 -prefs=runtime.tools.avrdude.path=C:\Users\gwerderj\Documents\ArduinoData\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.arduinoOTA.path=C:\Users\gwerderj\Documents\ArduinoData\packages\arduino\tools\arduinoOTA\1.3.0 sketches/Arduino_MIOTY_LORA_LIKE_Dragino_BME280.ino
Directory: C:\Users\gwerderj\source\repos\Arduino_MIOTY_LORA_LIKE_Dragino_BME280
Command-line action failed========== Project Build Summary ==========
Arduino_MIOTY_LORA_LIKE_Dragino_BME280 built in 00:00
========== Build: 0 Succeeded, 1 Failed ==========November 28, 2019 at 17:07 in reply to: Can't open Arduino project after manually editing boards.txt #26618MystikReasonsParticipantYou forgot to mention that I have to install the Arduino AVR Boards package in the visualgdb package manager window, I thought it would do it himself.
After reloading the project I’m still having build errors:
Loading cached code model from C:\Users\gwerderj\source\repos\Arduino_LORA\VisualGDBCache\Arduino_LORA-Debug-Arduino_Genuino_Uno\BuildCommandLines.txt…
Failed to parse code model from C:\Users\gwerderj\source\repos\Arduino_LORA\VisualGDBCache\Arduino_LORA-Debug-Arduino_Genuino_Uno\CodeModel.json:System.Exception: Arduino code model did not report any sketch sources
at bq2.j1.j_2(IEnumerable`1 a)
Compiler output:
Checking if any source files need uploading…
Checking for file modifications…
Found changed files since last query (see C:\Users\gwerderj\source\repos\Arduino_LORA\VisualGDBCache\Arduino_LORA-Debug-Arduino_Genuino_Uno\BuildFileStats.txt.old vs C:\Users\gwerderj\source\repos\Arduino_LORA\VisualGDBCache\Arduino_LORA-Debug-Arduino_Genuino_Uno\BuildFileStats.txt.new). Rerunning code model query..
Saved the code model to C:\Users\gwerderj\source\repos\Arduino_LORA\VisualGDBCache\Arduino_LORA-Debug-Arduino_Genuino_Uno\BuildCommandLines.txt
Failed to parse code model from C:\Users\gwerderj\source\repos\Arduino_LORA\VisualGDBCache\Arduino_LORA-Debug-Arduino_Genuino_Uno\CodeModel.json:System.Exception: Arduino code model did not report any sketch sources
at bq2.j1.j_2(IEnumerable`1 a)
Compiler output:========== Project Configuration Summary ==========
Arduino_LORA configured in 00:00
========== Configuration: 1 Succeeded, 0 Failed ==========Update to your last post: I will try build 3403
- This reply was modified 4 years, 12 months ago by MystikReasons.
November 28, 2019 at 17:03 in reply to: Can't open Arduino project after manually editing boards.txt #26616MystikReasonsParticipantI did as you said but it just complains about missing the ‘arduino:avr’. It doesn’t download any necessary packages.
Reloading/building the project doesn’t help either.
Loading cached code model from C:\Users\gwerderj\source\repos\Arduino_LORA\VisualGDBCache\Arduino_LORA-Debug-Arduino_Genuino_Uno\BuildCommandLines.txt…
Failed to parse code model from C:\Users\gwerderj\source\repos\Arduino_LORA\VisualGDBCache\Arduino_LORA-Debug-Arduino_Genuino_Uno\CodeModel.json:System.Exception: Arduino code model did not report any sketch sources
at bq2.j1.j_2(IEnumerable`1 a)
Compiler output:
Checking if any source files need uploading…
Checking for file modifications…
Found changed files since last query (see C:\Users\gwerderj\source\repos\Arduino_LORA\VisualGDBCache\Arduino_LORA-Debug-Arduino_Genuino_Uno\BuildFileStats.txt.old vs C:\Users\gwerderj\source\repos\Arduino_LORA\VisualGDBCache\Arduino_LORA-Debug-Arduino_Genuino_Uno\BuildFileStats.txt.new). Rerunning code model query..
Failed to locate best tools for arduino:avr:uno: Platform ‘arduino:avr’ is not installed.
Saved the code model to C:\Users\gwerderj\source\repos\Arduino_LORA\VisualGDBCache\Arduino_LORA-Debug-Arduino_Genuino_Uno\BuildCommandLines.txt
Failed to parse code model from C:\Users\gwerderj\source\repos\Arduino_LORA\VisualGDBCache\Arduino_LORA-Debug-Arduino_Genuino_Uno\CodeModel.json:System.Exception: Arduino code model did not report any sketch sources
at bq2.j1.j_2(IEnumerable`1 a)
Compiler output:========== Project Configuration Summary ==========
Arduino_LORA configured in 00:00
========== Configuration: 1 Succeeded, 0 Failed ==========MystikReasonsParticipantTry to download the newest version: VisualGDB 5.5 Prev. 1
https://visualgdb.com/download/
I also had that issue with the 5.4 version.
November 28, 2019 at 10:34 in reply to: Can't open Arduino project after manually editing boards.txt #26607MystikReasonsParticipantLaunching Arduino builder…
C:\Program Files (x86)\Sysprogs\VisualGDB\Arduino\arduino-builder.exe -compile -logger=machine -fqbn=arduino:avr:uno -build-path C:\Users\gwerderj\source\repos\Arduino_MIOTY_Dragino_sendString1\Output\Arduino_Genuino_Uno\Debug -unoptimize=sketch -hardware “C:\Program Files (x86)\Sysprogs\VisualGDB\Arduino/hardware” -hardware C:\Users\gwerderj\Documents/ArduinoData/packages -hardware C:\Users\gwerderj\AppData\Local/Arduino15/packages -tools “C:\Program Files (x86)\Sysprogs\VisualGDB\Arduino/tools-builder” -tools C:\Users\gwerderj\Documents/ArduinoData/packages -tools C:\Users\gwerderj\AppData\Local/Arduino15/packages -libraries C:\Users\gwerderj\Documents/Arduino/Libraries -prefs=runtime.tools.avr-gcc.path=C:\Users\gwerderj\Documents\ArduinoData\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5 -prefs=runtime.tools.avrdude.path=C:\Users\gwerderj\Documents\ArduinoData\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.arduinoOTA.path=C:\Users\gwerderj\Documents\ArduinoData\packages\arduino\tools\arduinoOTA\1.3.0 sketches/Arduino_MIOTY_Dragino_sendString1.ino
Error reading file (C:\Users\gwerderj\Documents\ArduinoData\packages\arduino\hardware\avr\1.8.1\boards.txt:0): Invalid line format, should be ‘key=value’
————————————————————-
Command exited with code 1
Executable: C:\Program Files (x86)\Sysprogs\VisualGDB\Arduino\arduino-builder.exe
Arguments: -compile -logger=machine -fqbn=arduino:avr:uno -build-path C:\Users\gwerderj\source\repos\Arduino_MIOTY_Dragino_sendString1\Output\Arduino_Genuino_Uno\Debug -unoptimize=sketch -hardware “C:\Program Files (x86)\Sysprogs\VisualGDB\Arduino/hardware” -hardware C:\Users\gwerderj\Documents/ArduinoData/packages -hardware C:\Users\gwerderj\AppData\Local/Arduino15/packages -tools “C:\Program Files (x86)\Sysprogs\VisualGDB\Arduino/tools-builder” -tools C:\Users\gwerderj\Documents/ArduinoData/packages -tools C:\Users\gwerderj\AppData\Local/Arduino15/packages -libraries C:\Users\gwerderj\Documents/Arduino/Libraries -prefs=runtime.tools.avr-gcc.path=C:\Users\gwerderj\Documents\ArduinoData\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5 -prefs=runtime.tools.avrdude.path=C:\Users\gwerderj\Documents\ArduinoData\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.arduinoOTA.path=C:\Users\gwerderj\Documents\ArduinoData\packages\arduino\tools\arduinoOTA\1.3.0 sketches/Arduino_MIOTY_Dragino_sendString1.ino
Directory: C:\Users\gwerderj\source\repos\Arduino_MIOTY_Dragino_sendString1
Command-line action failed========== Project Build Summary ==========
Arduino_MIOTY_Dragino_sendString1 built in 00:00
========== Build: 0 Succeeded, 1 Failed ==========Edit: I changed the clock frequency from 16 MHz to 8 MHz, not from 8 to 16 as stated above
- This reply was modified 4 years, 12 months ago by MystikReasons.
November 28, 2019 at 10:28 in reply to: Can't open Arduino project after manually editing boards.txt #26604MystikReasonsParticipantUpdate: Every Arduino project is now having errors and won’t build because it has build errors. (see screenshot)
Reloading the project doesn’t solve the issue.
Loading cached code model from C:\Users\gwerderj\source\repos\Arduino_MIOTY_Dragino_sendString1\VisualGDBCache\Arduino_MIOTY_Dragino_sendString1-Debug-Arduino_Genuino_Uno\BuildCommandLines.txt…
Failed to parse code model from C:\Users\gwerderj\source\repos\Arduino_MIOTY_Dragino_sendString1\VisualGDBCache\Arduino_MIOTY_Dragino_sendString1-Debug-Arduino_Genuino_Uno\CodeModel.json:System.Exception: Arduino code model did not report any sketch sources
at bq2.j1.j_2(IEnumerable`1 a)
Compiler output:
Checking if any source files need uploading…
Checking for file modifications…
Found changed files since last query (see C:\Users\gwerderj\source\repos\Arduino_MIOTY_Dragino_sendString1\VisualGDBCache\Arduino_MIOTY_Dragino_sendString1-Debug-Arduino_Genuino_Uno\BuildFileStats.txt.old vs C:\Users\gwerderj\source\repos\Arduino_MIOTY_Dragino_sendString1\VisualGDBCache\Arduino_MIOTY_Dragino_sendString1-Debug-Arduino_Genuino_Uno\BuildFileStats.txt.new). Rerunning code model query..
Saved the code model to C:\Users\gwerderj\source\repos\Arduino_MIOTY_Dragino_sendString1\VisualGDBCache\Arduino_MIOTY_Dragino_sendString1-Debug-Arduino_Genuino_Uno\BuildCommandLines.txt
Failed to parse code model from C:\Users\gwerderj\source\repos\Arduino_MIOTY_Dragino_sendString1\VisualGDBCache\Arduino_MIOTY_Dragino_sendString1-Debug-Arduino_Genuino_Uno\CodeModel.json:System.Exception: Arduino code model did not report any sketch sources
at bq2.j1.j_2(IEnumerable`1 a)
Compiler output:========== Project Configuration Summary ==========
Arduino_MIOTY_Dragino_sendString1 configured in 00:00
========== Configuration: 1 Succeeded, 0 Failed ==========- This reply was modified 4 years, 12 months ago by MystikReasons.
Attachments:
You must be logged in to view attached files.November 20, 2019 at 16:36 in reply to: Cancel install/update AVR Boards package won't affect fully #26507MystikReasonsParticipantI’m using version 5.5 Preview 2 build 3385
1) Open any VisualGDB project you have (Embedded/Arduino etc.)
2)Go under your VisualGDB Packages window
3)If you have installed “Arduino AVR Boards 1.8.1”, remove it
4)Now click on install “Arduino AVR Boards 1.8.1” and quickly click on “Cancel” before the download/installation
5)You will see two error messages. These are not important so you can close them
Now you will see that the progress bar is still being displayed, even if the installation has been cancelled (see attached screenshot). This shouldn’t be active anymore
Attachments:
You must be logged in to view attached files.MystikReasonsParticipantSry, no further informations due to clicking on the button to replace the old packages.
You can ignore the attached screenshot.
- This reply was modified 5 years ago by MystikReasons.
- This reply was modified 5 years ago by MystikReasons.
Attachments:
You must be logged in to view attached files.MystikReasonsParticipantThe new build fixed the problem.
About the VisualGDB build window: It seems like it was an artifact. It never happened to me again.
MystikReasonsParticipantThank you, the build counter has been fixed.
MystikReasonsParticipantI could reproduce this issue on three different devices with two different projects (both STM32 CubeMX imported)
MystikReasonsParticipantI opened the project via the “opened recently” window from Visual Studio.
There is only one project in the solution and its an Embedded one.
Originally it was created in the CubeMX and then imported over the VisualGDB manager (STM32F411RE).
This issue doesn’t happen on the build 3317 but on the 3327 it does appear (tested first the 3317 and then the 3327).
MystikReasonsParticipantGood afternoon @sysprogs
Any news regarding STM8?
And what about STM32WB, are you still working on this?
Thank you.
-
AuthorPosts