platformio / platformio-core

Your Gateway to Embedded Software Development Excellence :alien:
https://platformio.org
Apache License 2.0
7.96k stars 795 forks source link

Unknown debug tool `um232h` #3928

Closed MainManu closed 3 years ago

MainManu commented 3 years ago

What kind of issue is this?

You can erase any parts of this template not applicable to your Issue.


Configuration

Operating system: Ubuntu 20.4

PlatformIO Version (platformio --version): 5.1.1

Description of problem

For some reason the board listed in https://docs.platformio.org/en/latest/plus/debug-tools/um232h.html seems to be unknown to my plattformio version.

Steps to Reproduce

  1. add debug_tool = um232h to platformio.ini
  2. try to upload code to a board

Actual Results

Upload fails with message Unknown debug tool um232h

Expected Results

  1. the upload does not use the same board as the debugger, so it shouldn't be affected
  2. the debugger listed in the docs should be known to plattformio

If problems with PlatformIO Build System:

The content of platformio.ini:

[env:esp32thing]
platform = espressif32
board = esp32thing
framework = arduino
lib_extra_dirs = /home/manuel/Arduino/libraries 
lib_deps = 
    sparkfun/SparkFun LSM9DS1 IMU @ ^2.0.0
    mbed-rohm/rohm-bh1790glc-driver@0.0.0+sha.4446bf1de21b

upload_port = /dev/ttyUSB1
monitor_speed = 115200 
debug_tool = um232h 

Source file to reproduce issue:

Insert here...

Additional info

I am uploading at /dev/ttyUSB0, the debugger is at /dev/ttyUSB1 99-platformio-udev.rules are already installed

valeros commented 3 years ago

Hi @MainManu! According to the docs this debug probe can only be used with the GigaDevice GD32V development platform.