Forum Replies Created
-
AuthorPosts
-
JohananParticipant
I did it and it suggested the cleanup, I clicked OK, and it cleaned up.
Then started a new project, same result. output from Build:
————————————————————-
Command exited with code 1
Executable: C:\Program Files (x86)\Sysprogs\VisualGDB\Arduino\arduino-builder.exe
Arguments: -compile -logger=machine -fqbn=stm32duino:STM32F1:genericSTM32F103C:device_variant=STM32F103C8,upload_method=DFUUploadMethod,cpu_speed=speed_72mhz,opt=osstd -build-path C:\MyWork\ArduinoProjects\ArduinoProject1\Output\Generic_STM32F103C_series\Debug -unoptimize=sketch -hardware “C:\Program Files (x86)\Arduino/hardware” -hardware C:\Users\Johanan\AppData\Local/Arduino15/packages -tools “C:\Program Files (x86)\Arduino/tools-builder” -tools C:\Users\Johanan\AppData\Local/Arduino15/packages -built-in-libraries “C:\Program Files (x86)\Arduino/libraries” -libraries C:\Users\Johanan\Documents\Arduino\ -prefs=runtime.tools.stm32tools.path=C:\Users\Johanan\AppData\Local\Arduino15\packages\stm32duino\tools\stm32tools\2019.9.24 sketches/ArduinoProject1.ino
Directory: C:\MyWork\ArduinoProjects\ArduinoProject1
VisualGDB: Error: Command-line action failed
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========And the output from VisualGDB Advanced Project Subsystem is:
Checking if any source files need uploading…
Saved the code model to C:\MyWork\ArduinoProjects\ArduinoProject1\VisualGDBCache\ArduinoProject1-Debug-Generic_STM32F103C_series\BuildCommandLines.txt
Failed to parse code model from C:\MyWork\ArduinoProjects\ArduinoProject1\VisualGDBCache\ArduinoProject1-Debug-Generic_STM32F103C_series\CodeModel.json:System.Exception: Arduino code model did not report any sketch sources
at ov1.j1.m_2(IEnumerable`1 a)
Compiler output:
Checking if any source files need uploading…
Saved the code model to C:\MyWork\ArduinoProjects\ArduinoProject2\VisualGDBCache\ArduinoProject2-Debug-Arduino_Leonardo\BuildCommandLines.txt
Failed to parse code model from C:\MyWork\ArduinoProjects\ArduinoProject2\VisualGDBCache\ArduinoProject2-Debug-Arduino_Leonardo\CodeModel.json:System.Exception: Arduino code model did not report any sketch sources
at ov1.j1.m_2(IEnumerable`1 a)
Compiler output:
Loading cached code model from C:\MyWork\ArduinoProjects\ArduinoProject1\VisualGDBCache\ArduinoProject1-Debug-Generic_STM32F103C_series\BuildCommandLines.txt…
Failed to parse code model from C:\MyWork\ArduinoProjects\ArduinoProject1\VisualGDBCache\ArduinoProject1-Debug-Generic_STM32F103C_series\CodeModel.json:System.Exception: Arduino code model did not report any sketch sources
at ov1.j1.m_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:\MyWork\ArduinoProjects\ArduinoProject1\VisualGDBCache\ArduinoProject1-Debug-Generic_STM32F103C_series\BuildFileStats.txt.old vs C:\MyWork\ArduinoProjects\ArduinoProject1\VisualGDBCache\ArduinoProject1-Debug-Generic_STM32F103C_series\BuildFileStats.txt.new). Rerunning code model query..
Saved the code model to C:\MyWork\ArduinoProjects\ArduinoProject1\VisualGDBCache\ArduinoProject1-Debug-Generic_STM32F103C_series\BuildCommandLines.txt
Failed to parse code model from C:\MyWork\ArduinoProjects\ArduinoProject1\VisualGDBCache\ArduinoProject1-Debug-Generic_STM32F103C_series\CodeModel.json:System.Exception: Arduino code model did not report any sketch sources
at ov1.j1.m_2(IEnumerable`1 a)
Compiler output:Hope this gives a clue.
BTW I do have it on my laptop, with much fewer Arduino broads installed, but on the laptop it looks OK at first glance – I did not play too much with it.
Regards
JohananParticipantWill try that.
Of course, I could berry my head in the sand, and leave it without optimization.
I am concerned that this is a bad sign, and if not taken care of, it will hit me bad sometime later down the road…
Thanks
- This reply was modified 5 years, 10 months ago by Johanan.
JohananParticipantActually I am using USB host.
Wonder what will happen if I remove it for testing.
- This reply was modified 5 years, 10 months ago by Johanan.
JohananParticipantI downloaded Beta 2, nothing changed.
See attached screens.
Regards
Johanan
Attachments:
You must be logged in to view attached files.JohananParticipantho ho ho..
Thanks
I should have posted this before wasting so much time….
JohananParticipantIndeed using NOLODAD solved the problem.
it took me some time to figure out how to use it so here is the linker script on external rams, if someone needs it and don’t like to read the linker tutorial…
<hr />
MEMORY
{
FLASH (RX) : ORIGIN = 0x08040000, LENGTH = 1792K
SRAM (RWX) : ORIGIN = 0x20000000, LENGTH = 192K
CCMRAM (RWX) : ORIGIN = 0x10000000, LENGTH = 64K
NVRAM (RWX) : ORIGIN = 0x40024000, LENGTH = 4K
SDRAM (RW) : ORIGIN = 0xC0000000, LENGTH = 8M
}_estack = 0x20030000;
SECTIONS
{
.sdram (NOLOAD):
{
*(SD_ram*);
*(SD_ram);
} > SDRAM.nvram (NOLOAD) :
{
*(NV_ram*);
*(NV_ram);
} > NVRAM.ccram (NOLOAD) :
{
*(CCM_ram);
} > CCMRAM -
AuthorPosts