arduino / arduino-ide

Arduino IDE 2.x
https://www.arduino.cc/en/software
GNU Affero General Public License v3.0
2.33k stars 396 forks source link

RC6 : does not even try to upload to STM32 (SWD) - no error #962

Closed AndKe closed 2 years ago

AndKe commented 2 years ago

Describe the problem

Unable to upload using SWD STLINKV2 - the IDE simply ignores the "upload" command (it seems) - no error, no action, nothing logged.

Same issue with RC5

To reproduce

upload to STM32 using STLink2 in SWD mode.

Expected behavior

upload

Arduino IDE version

2.0.0-rc6 Appimage

Operating system

Linux

Operating system version

Ubuntu 22.04

Additional context

$ ./arduino-ide_2.0.0-rc6_Linux_64bit.AppImage 
Starting backend process. PID: 2722735
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[2722756:0422/101912.537812:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.
Using browser-only version of superagent in non-browser environment
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
root INFO Configuration directory URI: 'file:///home/andre/.theia'
root INFO Theia app listening on http://localhost:37059.
root WARN The local plugin referenced by local-dir:/home/andre/.arduinoIDE/plugins does not exist.
root WARN The local plugin referenced by local-dir:/home/andre/.arduinoIDE/extensions does not exist.
root WARN The local plugin referenced by local-dir:/home/andre/.arduinoProIDE/plugins does not exist.
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "cortex-debug" to a VS Code extension "cortex-debug@0.3.10" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-arduino-tools" to a VS Code extension "vscode-arduino-tools@0.0.2-beta.2" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-builtin-cpp" to a VS Code extension "cpp@1.52.1" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-builtin-json" to a VS Code extension "json@1.46.1" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-builtin-json-language-features" to a VS Code extension "json-language-features@1.46.1" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-de" to a VS Code extension "vscode-language-pack-de@1.53.2" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-fr" to a VS Code extension "vscode-language-pack-fr@1.53.2" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-ja" to a VS Code extension "vscode-language-pack-ja@1.53.2" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-nl" to a VS Code extension "vscode-language-pack-nl@1.48.3" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-tr" to a VS Code extension "vscode-language-pack-tr@1.53.2" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-zh-hans" to a VS Code extension "vscode-language-pack-zh-hans@1.53.2" with engines:
root INFO Deploying backend plugin "cortex-debug@0.3.10" from "/tmp/.mount_arduindO97TM/resources/app/plugins/cortex-debug/extension/dist/extension"
root INFO Deploying backend plugin "vscode-arduino-tools@0.0.2-beta.2" from "/tmp/.mount_arduindO97TM/resources/app/plugins/vscode-arduino-tools/extension/dist/bundle"
root INFO Deploying backend plugin "cpp@1.52.1" from "/tmp/.mount_arduindO97TM/resources/app/plugins/vscode-builtin-cpp/extension"
root INFO Deploying backend plugin "json@1.46.1" from "/tmp/.mount_arduindO97TM/resources/app/plugins/vscode-builtin-json/extension"
root INFO Deploying backend plugin "json-language-features@1.46.1" from "/tmp/.mount_arduindO97TM/resources/app/plugins/vscode-builtin-json-language-features/extension/client/dist/jsonMain"
root INFO Deploying backend plugin "vscode-language-pack-de@1.53.2" from "/tmp/.mount_arduindO97TM/resources/app/plugins/vscode-language-pack-de/extension"
root INFO Deploying backend plugin "vscode-language-pack-fr@1.53.2" from "/tmp/.mount_arduindO97TM/resources/app/plugins/vscode-language-pack-fr/extension"
daemon INFO Starting daemon from /tmp/.mount_arduindO97TM/resources/app/node_modules/arduino-ide-extension/build/arduino-cli...
root WARN Backend ConfigServiceImpl.onStart is slow, took: 192.4 ms
root INFO Deploying backend plugin "vscode-language-pack-ja@1.53.2" from "/tmp/.mount_arduindO97TM/resources/app/plugins/vscode-language-pack-ja/extension"
daemon INFO Using config file: /home/andre/.arduinoIDE/arduino-cli.yaml
daemon INFO arduino-cli version 0.21.0
daemon INFO Executing `arduino-cli daemon`
daemon INFO Setting up Prometheus metrics on :9090/metrics
daemon INFO {"IP":"127.0.0.1","Port":"36491"}
daemon INFO Daemon is running.
root WARN Backend AuthenticationServiceImpl.onStart is slow, took: 69.9 ms
root INFO Deploying backend plugin "vscode-language-pack-nl@1.48.3" from "/tmp/.mount_arduindO97TM/resources/app/plugins/vscode-language-pack-nl/extension"
root INFO Deploying backend plugin "vscode-language-pack-tr@1.53.2" from "/tmp/.mount_arduindO97TM/resources/app/plugins/vscode-language-pack-tr/extension"
root INFO Deploying backend plugin "vscode-language-pack-zh-hans@1.53.2" from "/tmp/.mount_arduindO97TM/resources/app/plugins/vscode-language-pack-zh-hans/extension"
root INFO Deploy plugins list took: 685.7 ms
root INFO Git askpass helper is listening on http://127.0.0.1:44909.
daemon INFO Adding libraries dir [dir: /home/andre/Arduino/projects/libraries, location: user]
daemon INFO URL: https://downloads.arduino.cc/packages/package_index.json
daemon INFO Updating index [url: https://downloads.arduino.cc/packages/package_index.json]
root INFO Using Git [2.34.1] from the PATH. (/usr/bin/git)
root WARN Frontend s.configure is slow, took: 109.5 ms
root WARN Failed to resolve module: @types/body-parser
root WARN Failed to resolve module: @types/cookie
root WARN Failed to resolve module: @types/dompurify
root WARN Failed to resolve module: @types/express
root WARN Failed to resolve module: @types/fs-extra
root WARN Failed to resolve module: @types/lodash.debounce
root WARN Failed to resolve module: @types/lodash.throttle
root WARN Failed to resolve module: @types/markdown-it
root WARN Failed to resolve module: @types/react
root WARN Failed to resolve module: @types/react-dom
root WARN Failed to resolve module: @types/react-virtualized
root WARN Failed to resolve module: @types/route-parser
root WARN Failed to resolve module: @types/safer-buffer
root WARN Failed to resolve module: @types/ws
root WARN Failed to resolve module: @types/yargs
root WARN Failed to resolve module: @theia/monaco
root WARN Failed to resolve module: @theia/editor
root WARN Failed to resolve module: @types/multer
root WARN Failed to resolve module: @types/rimraf
root WARN Failed to resolve module: @types/tar-fs
root WARN Failed to resolve module: @types/uuid
root WARN Failed to resolve module: @theia/navigator
root WARN Failed to resolve module: @types/p-queue
root WARN Failed to resolve module: @theia/preferences
root WARN Failed to resolve module: @theia/editor-preview
root WARN Failed to resolve module: @theia/keymaps
root WARN Failed to resolve module: @theia/messages
root WARN Failed to resolve module: @types/diff
root WARN Failed to resolve module: @types/mime
root WARN Failed to resolve module: filenamify
root WARN Failed to resolve module: @types/request
root WARN Failed to resolve module: @types/atob
root WARN Failed to resolve module: @types/auth0-js
root WARN Failed to resolve module: @types/btoa
root WARN Failed to resolve module: @types/dateformat
root WARN Failed to resolve module: @types/deepmerge
root WARN Failed to resolve module: @types/glob
root WARN Failed to resolve module: @types/google-protobuf
root WARN Failed to resolve module: @types/js-yaml
root WARN Failed to resolve module: @types/keytar
root WARN Failed to resolve module: @types/ncp
root WARN Failed to resolve module: @types/node-fetch
root WARN Failed to resolve module: @types/ps-tree
root WARN Failed to resolve module: @types/react-select
root WARN Failed to resolve module: @types/react-tabs
root WARN Failed to resolve module: @types/temp
root WARN Failed to resolve module: @types/which
root INFO Updating index: package_index.json completed.
root INFO Updating index: package_index.json.sig completed.
daemon INFO Checking signature [error: opening signature file: open /tmp/102309941.sig: no such file or directory, index: /tmp/102309941, signaturefile: /tmp/102309941.sig]
daemon INFO Updating libraries index
root INFO Updating index: library_index.json.gz completed.
root INFO Updating index: library_index.json.sig completed.
daemon INFO Checking signature [index: /home/andre/.arduino15/package_index.json, signaturefile: /home/andre/.arduino15/package_index.json.sig, trusted: true]
daemon INFO Loading hardware from: /home/andre/.arduino15/packages
daemon INFO Loading package STM32 from: /home/andre/.arduino15/packages/STM32/hardware
daemon INFO Adding monitor tool [protocol: serial, tool: builtin:serial-monitor]
daemon INFO Loaded platform [platform: {ID:"STM32:stm32",Installed:"1.9.0",Latest:"1.9.0",Name:"STM32 Boards (selected from submenu)"}]
daemon INFO Checking existence of 'tools' path: /home/andre/.arduino15/packages/STM32/tools
daemon INFO Loading tools from dir: /home/andre/.arduino15/packages/STM32/tools
daemon INFO Loaded tool [tool: Version: 5.5.1]
daemon INFO Loaded tool [tool: Version: 1.4.0]
daemon INFO Loaded tool [tool: Version: 9.2.1-1.1]
daemon INFO Loading package arduino from: /home/andre/.arduino15/packages/arduino/hardware
daemon INFO Checking signature [error: opening signature file: open /home/andre/.arduino15/packages/arduino/hardware/avr/1.8.5/installed.json.sig: no such file or directory, index: /home/andre/.arduino15/packages/arduino/hardware/avr/1.8.5/installed.json, signaturefile: /home/andre/.arduino15/packages/arduino/hardware/avr/1.8.5/installed.json.sig]
daemon INFO Adding monitor tool [protocol: serial, tool: builtin:serial-monitor]
daemon INFO Loaded platform [platform: {ID:"arduino:avr",Installed:"1.8.5",Latest:"1.8.5",Name:"Arduino AVR Boards"}]
daemon INFO Adding monitor tool [protocol: serial, tool: builtin:serial-monitor]
daemon INFO Loaded platform [platform: {ID:"arduino:megaavr",Installed:"1.8.7",Latest:"1.8.7",Name:"Arduino megaAVR Boards"}]
daemon INFO Adding monitor tool [protocol: serial, tool: builtin:serial-monitor]
daemon INFO Loaded platform [platform: {ID:"arduino:sam",Installed:"1.6.12",Latest:"1.6.12",Name:"Arduino SAM Boards (32-bits ARM Cortex-M3)"}]
daemon INFO Adding monitor tool [protocol: serial, tool: builtin:serial-monitor]
daemon INFO Loaded platform [platform: {ID:"arduino:samd",Installed:"1.8.13",Latest:"1.8.13",Name:"Arduino SAMD Boards (32-bits ARM Cortex-M0+)"}]
daemon INFO Checking existence of 'tools' path: /home/andre/.arduino15/packages/arduino/tools
daemon INFO Loading tools from dir: /home/andre/.arduino15/packages/arduino/tools
daemon INFO Loaded tool [tool: Version: 4.5.0 Systems: [OS: i686-mingw32, OS: x86_64-apple-darwin, OS: x86_64-pc-linux-gnu, OS: i686-pc-linux-gnu, OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu, OS: all]]
daemon INFO Loaded tool [tool: Version: 1.2.0 Systems: [OS: i686-mingw32, OS: x86_64-apple-darwin, OS: x86_64-pc-linux-gnu, OS: i686-pc-linux-gnu, OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu, OS: all]]
daemon INFO Loaded tool [tool: Version: 1.2.1 Systems: [OS: i686-linux-gnu, OS: x86_64-linux-gnu, OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu, OS: i386-apple-darwin11, OS: i686-mingw32]]
daemon INFO Loaded tool [tool: Version: 1.3.0 Systems: [OS: i686-linux-gnu, OS: x86_64-linux-gnu, OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu, OS: i386-apple-darwin11, OS: i686-mingw32]]
daemon INFO Loaded tool [tool: Version: 4.8.3-2014q1 Systems: [OS: arm-linux-gnueabihf, OS: i686-mingw32, OS: x86_64-apple-darwin, OS: x86_64-pc-linux-gnu, OS: i686-pc-linux-gnu]]
daemon INFO Loaded tool [tool: Version: 7-2017q4 Systems: [OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu, OS: i686-mingw32, OS: x86_64-apple-darwin, OS: x86_64-pc-linux-gnu, OS: i686-pc-linux-gnu]]
daemon INFO Loaded tool [tool: Version: 4.8.1-arduino5 Systems: [OS: arm-linux-gnueabihf, OS: i386-apple-darwin11, OS: x86_64-linux-gnu, OS: i686-linux-gnu, OS: i686-mingw32]]
daemon INFO Loaded tool [tool: Version: 7.3.0-atmel3.6.1-arduino5 Systems: [OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu, OS: x86_64-apple-darwin14, OS: i686-mingw32, OS: i686-linux-gnu, OS: x86_64-linux-gnu]]
daemon INFO Loaded tool [tool: Version: 7.3.0-atmel3.6.1-arduino7 Systems: [OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu, OS: x86_64-apple-darwin14, OS: i686-mingw32, OS: i686-linux-gnu, OS: x86_64-linux-gnu]]
daemon INFO Loaded tool [tool: Version: 6.3.0-arduino17 Systems: [OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu, OS: x86_64-apple-darwin12, OS: x86_64-linux-gnu, OS: i686-linux-gnu, OS: i686-mingw32]]
daemon INFO Loaded tool [tool: Version: 1.6.1-arduino Systems: [OS: arm-linux-gnueabihf, OS: i686-mingw32, OS: x86_64-apple-darwin, OS: x86_64-pc-linux-gnu, OS: i686-pc-linux-gnu]]
daemon INFO Loaded tool [tool: Version: 1.7.0-arduino3 Systems: [OS: i686-mingw32, OS: x86_64-apple-darwin, OS: x86_64-pc-linux-gnu, OS: i686-pc-linux-gnu, OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu]]
daemon INFO Loaded tool [tool: Version: 0.10.0-arduino7 Systems: [OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu, OS: i386-apple-darwin11, OS: x86_64-linux-gnu, OS: i686-linux-gnu, OS: i686-mingw32]]
daemon INFO Loading package builtin from: /home/andre/.arduino15/packages/builtin
daemon INFO Checking existence of 'tools' path: /home/andre/.arduino15/packages/builtin/tools
daemon INFO Loading tools from dir: /home/andre/.arduino15/packages/builtin/tools
daemon INFO Loaded tool [tool: Version: 5.8-arduino11 Systems: [OS: i686-pc-linux-gnu, OS: x86_64-pc-linux-gnu, OS: i686-mingw32, OS: x86_64-apple-darwin, OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu]]
daemon INFO Loaded tool [tool: Version: 0.9.2]
daemon INFO Loaded tool [tool: Version: 1.0.2]
daemon INFO Loaded tool [tool: Version: 1.0.5 Systems: [OS: i686-pc-linux-gnu, OS: x86_64-pc-linux-gnu, OS: i686-mingw32, OS: x86_64-mingw32, OS: x86_64-apple-darwin, OS: arm-linux-gnueabihf, OS: arm64-linux-gnueabihf]]
daemon INFO Loaded tool [tool: Version: 1.2.1]
daemon INFO Loaded tool [tool: Version: 1.3.0]
daemon INFO Loaded tool [tool: Version: 1.3.0-rc1]
daemon INFO Loaded tool [tool: Version: 1.3.1]
daemon INFO Loaded tool [tool: Version: 1.3.2 Systems: [OS: i686-pc-linux-gnu, OS: x86_64-pc-linux-gnu, OS: i686-mingw32, OS: x86_64-mingw32, OS: x86_64-apple-darwin, OS: arm-linux-gnueabihf, OS: arm64-linux-gnueabihf]]
daemon INFO Loaded tool [tool: Version: 0.9.1 Systems: [OS: i686-pc-linux-gnu, OS: x86_64-pc-linux-gnu, OS: i686-mingw32, OS: x86_64-mingw32, OS: x86_64-apple-darwin, OS: arm-linux-gnueabihf, OS: arm64-linux-gnueabihf]]
daemon INFO Loading package esp8266 from: /home/andre/.arduino15/packages/esp8266/hardware
daemon INFO Adding monitor tool [protocol: serial, tool: builtin:serial-monitor]
daemon INFO Loaded platform [platform: {ID:"esp8266:esp8266",Installed:"3.0.2",Latest:"3.0.2",Name:"ESP8266 Boards (3.0.2)"}]
daemon INFO Checking existence of 'tools' path: /home/andre/.arduino15/packages/esp8266/tools
daemon INFO Loading tools from dir: /home/andre/.arduino15/packages/esp8266/tools
daemon INFO Loaded tool [tool: Version: 3.0.4-gcc10.3-1757bed]
daemon INFO Loaded tool [tool: Version: 3.0.4-gcc10.3-1757bed]
daemon INFO Loaded tool [tool: Version: 3.7.2-post1]
daemon INFO Loaded tool [tool: Version: 3.0.4-gcc10.3-1757bed]
daemon INFO Loading hardware from: /home/andre/Arduino/projects/hardware
daemon INFO Adding libraries dir [dir: /home/andre/.arduino15/packages/esp8266/hardware/esp8266/3.0.2/libraries, location: platform]
daemon INFO Adding libraries dir [dir: /home/andre/.arduino15/packages/arduino/hardware/avr/1.8.5/libraries, location: platform]
daemon INFO Adding libraries dir [dir: /home/andre/.arduino15/packages/arduino/hardware/samd/1.8.13/libraries, location: platform]
daemon INFO Adding libraries dir [dir: /home/andre/.arduino15/packages/arduino/hardware/megaavr/1.8.7/libraries, location: platform]
daemon INFO Adding libraries dir [dir: /home/andre/.arduino15/packages/arduino/hardware/sam/1.6.12/libraries, location: platform]
daemon INFO Adding libraries dir [dir: /home/andre/.arduino15/packages/STM32/hardware/stm32/1.9.0/libraries, location: platform]
daemon INFO starting discovery builtin:serial-discovery process
daemon INFO starting discovery builtin:mdns-discovery process
daemon INFO started discovery builtin:serial-discovery process
daemon INFO sending command HELLO 1 "arduino-cli 0.21.0" to discovery builtin:serial-discovery
daemon INFO started discovery builtin:mdns-discovery process
daemon INFO sending command HELLO 1 "arduino-cli 0.21.0" to discovery builtin:mdns-discovery
daemon INFO from discovery builtin:serial-discovery received message type: hello, message: OK, protocol version: 1
daemon INFO from discovery builtin:mdns-discovery received message type: hello, message: OK, protocol version: 1
daemon INFO sending command START_SYNC to discovery builtin:serial-discovery
daemon INFO sending command START_SYNC to discovery builtin:mdns-discovery
daemon INFO from discovery builtin:mdns-discovery received message type: start_sync, message: OK
daemon INFO from discovery builtin:serial-discovery received message type: start_sync, message: OK
daemon INFO from discovery builtin:serial-discovery received message type: add, port: /dev/ttyS0
daemon INFO from discovery builtin:serial-discovery received message type: add, port: /dev/ttyS4
root ERROR d.registerSchemas is taking more than 500.0 ms, new schemas are ignored.
root WARN Frontend i.onStart is slow, took: 1565.8 ms
root INFO Board config changed: 
root INFO Changed application state from 'init' to 'started_contributions'.
root INFO Changed application state from 'started_contributions' to 'attached_shell'.
root INFO >>> Restoring the layout state...
Checking for update
root INFO [8cef8f14-1ed0-4600-bda2-103ffff34a76] Waiting for backend deployment took: 203.5 ms [Finished 3.156 s after frontend start]
root INFO [hosted-plugin: 2723077] PLUGIN_HOST(2723077) starting instance
root INFO [8cef8f14-1ed0-4600-bda2-103ffff34a76] Sync of 11 plugins took: 445.3 ms [Finished 3.602 s after frontend start]
Update for version 2.0.0-rc6 is not available (latest version: 2.0.0-rc6, downgrade is allowed).
root INFO <<< The layout has been successfully restored.
root INFO Changed application state from 'attached_shell' to 'initialized_layout'.
root INFO [8cef8f14-1ed0-4600-bda2-103ffff34a76][marus25.cortex-debug]: Loaded contributions.
root INFO [8cef8f14-1ed0-4600-bda2-103ffff34a76][arduino.vscode-arduino-tools]: Loaded contributions.
root INFO [8cef8f14-1ed0-4600-bda2-103ffff34a76][vscode.cpp]: Loaded contributions.
root INFO [8cef8f14-1ed0-4600-bda2-103ffff34a76][vscode.json]: Loaded contributions.
root INFO [8cef8f14-1ed0-4600-bda2-103ffff34a76][vscode.json-language-features]: Loaded contributions.
root INFO [8cef8f14-1ed0-4600-bda2-103ffff34a76][ms-ceintl.vscode-language-pack-de]: Loaded contributions.
root INFO [8cef8f14-1ed0-4600-bda2-103ffff34a76][ms-ceintl.vscode-language-pack-fr]: Loaded contributions.
root INFO [8cef8f14-1ed0-4600-bda2-103ffff34a76][ms-ceintl.vscode-language-pack-ja]: Loaded contributions.
root INFO [8cef8f14-1ed0-4600-bda2-103ffff34a76][ms-ceintl.vscode-language-pack-nl]: Loaded contributions.
root INFO [8cef8f14-1ed0-4600-bda2-103ffff34a76][ms-ceintl.vscode-language-pack-tr]: Loaded contributions.
root INFO [8cef8f14-1ed0-4600-bda2-103ffff34a76][ms-ceintl.vscode-language-pack-zh-hans]: Loaded contributions.
root INFO [8cef8f14-1ed0-4600-bda2-103ffff34a76] Load contributions of 11 plugins took: 565.2 ms [Finished 5.387 s after frontend start]
root WARN Frontend u.onDidInitializeLayout is slow, took: 565.8 ms
root INFO Finished loading frontend application after 5.415 seconds
root WARN 'cpp' language is remapped from 'source.cpp.embedded.macro' to 'source.cpp' scope
root WARN a registered grammar configuration for 'cpp' language is overridden
root INFO Changed application state from 'initialized_layout' to 'ready'.
root WARN monospace assumptions have been violated, therefore disabling monospace optimizations!
root WARN monospace assumptions have been violated, therefore disabling monospace optimizations!
root INFO [hosted-plugin: 2723077] PLUGIN_HOST(2723077): PluginManagerExtImpl/init()
root INFO [hosted-plugin: 2723077] PLUGIN_HOST(2723077): initializing(cortex-debug@0.3.10 with /tmp/.mount_arduindO97TM/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 2723077] Debugger contribution has been registered: cortex-debug
root INFO [hosted-plugin: 2723077] PLUGIN_HOST(2723077): initializing(vscode-arduino-tools@0.0.2-beta.2 with /tmp/.mount_arduindO97TM/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 2723077] PLUGIN_HOST(2723077): initializing(cpp@1.52.1 with /tmp/.mount_arduindO97TM/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 2723077] PLUGIN_HOST(2723077): initializing(json@1.46.1 with /tmp/.mount_arduindO97TM/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 2723077] PLUGIN_HOST(2723077): initializing(json-language-features@1.46.1 with /tmp/.mount_arduindO97TM/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 2723077] PLUGIN_HOST(2723077): initializing(vscode-language-pack-de@1.53.2 with /tmp/.mount_arduindO97TM/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 2723077] PLUGIN_HOST(2723077): initializing(vscode-language-pack-fr@1.53.2 with /tmp/.mount_arduindO97TM/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 2723077] PLUGIN_HOST(2723077): initializing(vscode-language-pack-ja@1.53.2 with /tmp/.mount_arduindO97TM/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 2723077] PLUGIN_HOST(2723077): initializing(vscode-language-pack-nl@1.48.3 with /tmp/.mount_arduindO97TM/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 2723077] PLUGIN_HOST(2723077): initializing(vscode-language-pack-tr@1.53.2 with /tmp/.mount_arduindO97TM/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 2723077] PLUGIN_HOST(2723077): initializing(vscode-language-pack-zh-hans@1.53.2 with /tmp/.mount_arduindO97TM/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root WARN monospace assumptions have been violated, therefore disabling monospace optimizations!
root INFO [hosted-plugin: 2723077] PLUGIN_HOST(2723077): PluginManagerExtImpl/loadPlugin(/tmp/.mount_arduindO97TM/resources/app/plugins/vscode-builtin-json-language-features/extension/client/dist/jsonMain)
root WARN monospace assumptions have been violated, therefore disabling monospace optimizations!
root WARN monospace assumptions have been violated, therefore disabling monospace optimizations!
root WARN monospace assumptions have been violated, therefore disabling monospace optimizations!
root WARN monospace assumptions have been violated, therefore disabling monospace optimizations!
root WARN monospace assumptions have been violated, therefore disabling monospace optimizations!
root WARN monospace assumptions have been violated, therefore disabling monospace optimizations!
root WARN monospace assumptions have been violated, therefore disabling monospace optimizations!
root WARN monospace assumptions have been violated, therefore disabling monospace optimizations!
root INFO [hosted-plugin: 2723077] PLUGIN_HOST(2723077): PluginManagerExtImpl/loadPlugin(/tmp/.mount_arduindO97TM/resources/app/plugins/vscode-arduino-tools/extension/dist/bundle)
root INFO [8cef8f14-1ed0-4600-bda2-103ffff34a76][marus25.cortex-debug]: Started plugin.
root INFO [8cef8f14-1ed0-4600-bda2-103ffff34a76][arduino.vscode-arduino-tools]: Started plugin.
root INFO [8cef8f14-1ed0-4600-bda2-103ffff34a76][vscode.cpp]: Started plugin.
root INFO [8cef8f14-1ed0-4600-bda2-103ffff34a76][vscode.json]: Started plugin.
root INFO [8cef8f14-1ed0-4600-bda2-103ffff34a76][vscode.json-language-features]: Started plugin.
root INFO [8cef8f14-1ed0-4600-bda2-103ffff34a76][ms-ceintl.vscode-language-pack-de]: Started plugin.
root INFO [8cef8f14-1ed0-4600-bda2-103ffff34a76][ms-ceintl.vscode-language-pack-fr]: Started plugin.
root INFO [8cef8f14-1ed0-4600-bda2-103ffff34a76][ms-ceintl.vscode-language-pack-ja]: Started plugin.
root INFO [8cef8f14-1ed0-4600-bda2-103ffff34a76][ms-ceintl.vscode-language-pack-nl]: Started plugin.
root INFO [8cef8f14-1ed0-4600-bda2-103ffff34a76][ms-ceintl.vscode-language-pack-tr]: Started plugin.
root INFO [8cef8f14-1ed0-4600-bda2-103ffff34a76][ms-ceintl.vscode-language-pack-zh-hans]: Started plugin.
root INFO [8cef8f14-1ed0-4600-bda2-103ffff34a76] Start of 11 plugins took: 2878.1 ms [Finished 8.271 s after frontend start]
root INFO Starting language server: STM32:stm32:GenF1
daemon INFO inventory.Store.ConfigFileUsed() /home/andre/.arduino15/inventory.yaml
daemon INFO inventory.Store.ConfigFileUsed() /home/andre/.arduino15/inventory.yaml
daemon INFO Searching tools required for board STM32:stm32:GenF1
daemon INFO Adding libraries dir [dir: /home/andre/Arduino/arduino-1.8.9/libraries, location: ide]
daemon INFO Adding libraries dir [dir: /home/andre/.arduino15/packages/STM32/hardware/stm32/1.9.0/libraries, location: platform]
daemon INFO Adding libraries dir [dir: /home/andre/Arduino/projects/libraries, location: user]
daemon INFO Resolving include GCS_MAVLink.h for arch stm32
daemon INFO   found better lib [lib: GCS_MAVLink, prio: 5DF]
daemon INFO Resolving include uTimerLib.h for arch stm32
daemon INFO   found better lib [lib: uTimerLib, prio: 643]
daemon INFO Resolving include SrcWrapper.h for arch stm32
daemon INFO   found better lib [lib: SrcWrapper, prio: 5E8]
daemon INFO inventory.Store.ConfigFileUsed() /home/andre/.arduino15/inventory.yaml
daemon INFO inventory.Store.ConfigFileUsed() /home/andre/.arduino15/inventory.yaml
daemon INFO Searching tools required for board STM32:stm32:GenF1
daemon INFO Adding libraries dir [dir: /home/andre/Arduino/arduino-1.8.9/libraries, location: ide]
daemon INFO Adding libraries dir [dir: /home/andre/.arduino15/packages/STM32/hardware/stm32/1.9.0/libraries, location: platform]
daemon INFO Adding libraries dir [dir: /home/andre/Arduino/projects/libraries, location: user]
daemon INFO Resolving include GCS_MAVLink.h for arch stm32
daemon INFO   found better lib [lib: GCS_MAVLink, prio: 5DF]
daemon INFO Resolving include uTimerLib.h for arch stm32
daemon INFO   found better lib [lib: uTimerLib, prio: 643]
daemon INFO Resolving include SrcWrapper.h for arch stm32
daemon INFO   found better lib [lib: SrcWrapper, prio: 5E8]

Issue checklist

per1234 commented 2 years ago

Hi @AndKe. Thanks for taking the time to submit an issue.

I see we have another report about this at https://github.com/arduino/arduino-ide/issues/770.

It is best to have only a single issue per subject so we can consolidate all relevant discussion to one place, so I'll go ahead and close this in favor of the other.

If you end up with additional information to share, feel free to comment in the other thread.

I shared a workaround in my reply there: https://github.com/arduino/arduino-ide/issues/770#issuecomment-1021087650