Forum Replies Created
-
AuthorPosts
-
September 22, 2019 at 00:39 in reply to: ESP32: Not possible to create valid empty esp32 arduino project #25866cvalentinParticipant
Hi,
I don’t see the 1.0.3 esp32 package in the list under “Online”. I only see the 1.0.1 package. Is the 1.0.3 package already deployed?
Regards,
ChristianSeptember 21, 2019 at 14:11 in reply to: ESP32: Not possible to create valid empty esp32 arduino project #25847cvalentinParticipantHi,
I can’t get the command line by using Process Monitor. Can you tell me how I can retrieve it?
I have some more information for you:I still use the Arduino ESP32 package from the Arduino IDE because the version supported by VisualGDB is 1.0.1 which does not have some important bug fixes especially for SPI slave mode.
If I close Visual Studio and delete this folder “C:\Users\chris\AppData\Local\VisualGDB” and restart Visual Studio, I can create a new ESP32 Arduino project with VisualGDB which is valid and can successfully compile the code. But as soon as I close the solution and re-open it, VisualGDB again shows the project as corrupt and compilation fails. VisualGDB shows this error after the solution is loaded:
Failed to parse code model from D:\Work\ESP32\PinballESP32\VisualGDBCache\PinballESP32-Debug-ESP32_Dev_Module\CodeModel.json:System.Exception: Arduino code model did not report any sketch sources
at ix.h1.c_2(IEnumerable`1 a)
Compiler output:Please can you give me further advice? (Also it would be good if you could update your ESP32 Arduino package to version 1.0.3 then I can use this).
Regards,
Christian- This reply was modified 4 years, 7 months ago by cvalentin.
September 15, 2019 at 10:24 in reply to: ESP32: Not possible to create valid empty esp32 arduino project #25808cvalentinParticipantHi,
I have deleted the Arduino15 directory under ..\AppData\Local. When I created a new Arduino Project with VisualGDB I got the message that the ESP32 package needs to be installed by VisualGDB. I clicked on install. The package was downloaded and installed correctly. But after I have finished the new project wizard, I got exactly the same error. Arduino.h cannot be found.
What can I check next?
Kind Regards,
ChristianPS: This is the content of the output window:
—— Build started: Project: ArduinoProject1, Configuration: Debug ESP32_Dev_Module ——
Launching Arduino builder…
VisualGDB: Run “C:\Program Files (x86)\Sysprogs\VisualGDB\Arduino\arduino-builder.exe -compile -logger=machine -fqbn=esp32:esp32:esp32:PSRAM=disabled,PartitionScheme=default,CPUFreq=240,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,DebugLevel=none -build-path C:\Work\ESP32\ArduinoProject1\Output\ESP32_Dev_Module\Debug -unoptimize=sketch -hardware “C:/Program Files (x86)/Arduino/hardware” -hardware C:\Users\chris\Documents/ArduinoData/packages -tools “C:/Program Files (x86)/Arduino/tools-builder” -tools C:\Users\chris\Documents/ArduinoData/packages -built-in-libraries “C:/Program Files (x86)/Arduino/libraries” -libraries C:\Users\chris\Documents/Arduino/Libraries -prefs=runtime.tools.esptool_py.path=C:\Users\chris\Documents\ArduinoData\packages\esp32\tools\esptool_py\2.6.0 -prefs=runtime.tools.xtensa-esp32-elf-gcc.path=C:\Users\chris\Documents\ArduinoData\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-80-g6c4433a-5.2.0 sketches/ArduinoProject1.ino” in directory “C:\Work\ESP32\ArduinoProject1” on local computer
info: Progress 0.00
info: Progress 2.94
info: Progress 5.88
info: Progress 8.82
info: Progress 9.03
info: Progress 9.24
info: Progress 9.45
info: Progress 9.66
info: Progress 9.87
info: Progress 10.08
info: Progress 10.29
info: Progress 10.50
info: Progress 10.71
info: Progress 10.92
info: Progress 11.13
info: Progress 11.34
info: Progress 11.55
info: Progress 11.76
info: Progress 14.71
info: Progress 17.65
info: Progress 20.59
info: Progress 23.53
info: Progress 26.47
info: Progress 29.41
info: Progress 32.35
info: Progress 35.29
info: Progress 0.00
error: ctags pattern is missing————————————————————-
Command exited with code 1
Executable: C:\Program Files (x86)\Sysprogs\VisualGDB\Arduino\arduino-builder.exe
Arguments: -compile -logger=machine -fqbn=esp32:esp32:esp32:PSRAM=disabled,PartitionScheme=default,CPUFreq=240,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,DebugLevel=none -build-path C:\Work\ESP32\ArduinoProject1\Output\ESP32_Dev_Module\Debug -unoptimize=sketch -hardware “C:/Program Files (x86)/Arduino/hardware” -hardware C:\Users\chris\Documents/ArduinoData/packages -tools “C:/Program Files (x86)/Arduino/tools-builder” -tools C:\Users\chris\Documents/ArduinoData/packages -built-in-libraries “C:/Program Files (x86)/Arduino/libraries” -libraries C:\Users\chris\Documents/Arduino/Libraries -prefs=runtime.tools.esptool_py.path=C:\Users\chris\Documents\ArduinoData\packages\esp32\tools\esptool_py\2.6.0 -prefs=runtime.tools.xtensa-esp32-elf-gcc.path=C:\Users\chris\Documents\ArduinoData\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-80-g6c4433a-5.2.0 sketches/ArduinoProject1.ino
Directory: C:\Work\ESP32\ArduinoProject1
VisualGDB: Error: Command-line action failed
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========- This reply was modified 4 years, 8 months ago by cvalentin.
-
AuthorPosts