domenica 13 agosto 2023

ESP PROG

 

========================================

[env:az-delivery-devkit-v4]
platform = espressif32
board = az-delivery-devkit-v4
board_build.mcu: esp32
board_build.f_cpu: 240000000L
framework = arduino
monitor_speed = 115200
upload_speed = 115200
upload_port = /dev/ttyUSB2

[env:debugdelivery-devkit-v4]
platform = espressif32
board = az-delivery-devkit-v4
board_build.mcu: esp32
board_build.f_cpu: 240000000L
framework = arduino
debug_speed = 12000
debug_port = /dev/ttyUSB0
debug_tool = esp-prog
debug_init_break = tbreak setup

========================================


CTRL+SHIFT+P

Platformio Upload and Monitor (non c'e' uno shortcut)






Attenziona che la numerazione dei pin sulla fila sinistra iniziano dal 2 pin dal basso 

TMS = grigio pin 14

TCK = nero pin 13

TD0 = giallo pin 15 

TDI = bianco pin 12

GND = pin GND

Il VDD deve essere collegato al pin 3.3 V dell'ESP32 SOLO se non viene inserita l'USB 



/home/luca/.platformio/packages/toolchain-xtensa-esp32@8.4.0+2021r2-patch5/bin/xtensa-esp32-elf-gdb: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory

apt-get install libpython2.7-dev


apt install python3-venv

add user xxxx dialout

curl -fsSL https://raw.githubusercontent.com/platformio/platformio-core/develop/platformio/assets/system/99-platformio-udev.rules | sudo tee /etc/udev/rules.d/99-platformio-udev.rules



Nessun commento:

Posta un commento

ESP32-2432S028R e LVGL

La scheda ESP32-2432S028R monta un Esp Dev Module con uno schermo TFT a driver ILI9341 di 320x240 pixels 16 bit colore.Il sito di riferiment...