Python Forum

Full Version: VSCode Setup and configuring to run with Python
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Dear Python-Experts,

hope youre well and all goes all right: i wish you a happy new year.


at the moment i am seeting up a VSCode on a win10 Box.

i get several error messages during the process. [Image: 1609752008292-png.1020481]

Quote:@id:terminal.integrated.commandsToSkipShell,terminal.integrated.sendKeybindingsToShell,terminal.integrated.allowChords

and this one: [Image: 1609752104774-png.1020482]


Quote:AutoConnect enabled, ignoring 'address' setting (see Global Settings)Searching for PyCom boards on serial...
No PyCom boards found on USB

well i think that i need to do some more settings to get the VSCode running correctly


any suggestions..?
hi there

well i have looked after various options and things - but afaik i did not find out what goes wrong here.

guess that i have set up VScode wrong -

probably i have to throw away PlatformIO -

i guess that vscode waits to run and work with ESP32 (see below)

VSC normally runs a C++ Debugger: i guess that i have to tell VSCode that it will work with python.


> Executing task: C:\Users\Kasper\.platformio\penv\Scripts\pio.exe run <

Processing esp32dev (platform: espressif32; board: esp32dev; framework: arduino)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html
PLATFORM: Espressif 32 (1.10.0) > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
 - framework-arduinoespressif32 2.10003.190916 (1.0.3)
 - tool-esptoolpy 1.20600.0 (2.6.0)
 - toolchain-xtensa32 2.50200.80 (5.2.0)
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 26 compatible libraries
Scanning dependencies...
No dependencies
Building in release mode
Compiling .pio\build\esp32dev\src\main.cpp.o
Linking .pio\build\esp32dev\firmware.elf
Building .pio\build\esp32dev\firmware.bin
Retrieving maximum program size .pio\build\esp32dev\firmware.elf
Checking size .pio\build\esp32dev\firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM:   [          ]   4.5% (used 14628 bytes from 327680 bytes)  
Flash: [==        ]  15.9% (used 208524 bytes from 1310720 bytes)
esptool.py v2.6
=========================================================================================================== [SUCCESS] Took 8.48 seconds ===========================================================================================================


Terminal will be reused by tasks, press any key to close it.
well i also have had a closer look at the manpages: https://marketplace.visualstudio.com/ite...hon.python

but at the moment i have no glue whats going on here.

any ideas Smile
Typically I have installed extensions - Python, Kite, and others. There are a number of youtube videos that walk you through the process