MystikReasons

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 99 total)
  • Author
    Posts
  • MystikReasons
    Participant

    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.
    MystikReasons
    Participant

    The 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.
    MystikReasons
    Participant

    Okay 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 ==========

    MystikReasons
    Participant

    You 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.
    MystikReasons
    Participant

    I 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 ==========

    in reply to: Incorrect text highlighting #26609
    MystikReasons
    Participant

    Try to download the newest version: VisualGDB 5.5 Prev. 1

    https://visualgdb.com/download/

    I also had that issue with the 5.4 version.

    MystikReasons
    Participant

    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_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.
    MystikReasons
    Participant

    Update: 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.
    MystikReasons
    Participant

    I’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.
    in reply to: Arduino Package Cleanup only shows after IDE restart #26504
    MystikReasons
    Participant

    Sry, no further informations due to clicking on the button to replace the old packages.

    You can ignore the attached screenshot.

    Attachments:
    You must be logged in to view attached files.
    in reply to: VisualGDBbuild window forces itself to the front #26463
    MystikReasons
    Participant

    The new build fixed the problem.

    About the VisualGDB build window: It seems like it was an artifact. It never happened to me again.

    in reply to: Preparing for build counter #26279
    MystikReasons
    Participant

    Thank you, the build counter has been fixed.

    in reply to: Preparing for build counter #26265
    MystikReasons
    Participant

    I could reproduce this issue on three different devices with two different projects (both STM32 CubeMX imported)

    in reply to: Preparing for build counter #26264
    MystikReasons
    Participant

    I 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).

    in reply to: Embedded BSPs STM8 #26108
    MystikReasons
    Participant

    Good afternoon @sysprogs

    Any news regarding STM8?

    And what about STM32WB, are you still working on this?

    Thank you.

Viewing 15 posts - 16 through 30 (of 99 total)