manuelbl / ttn-esp32

The Things Network device library for ESP32 (ESP-IDF) and SX127x based devices
MIT License
301 stars 64 forks source link

Not possible to navigate menuconfig menu when using platformio #52

Closed mike6000 closed 2 years ago

mike6000 commented 2 years ago

Navigating menuconfig was not possible inside platformio. None of the keys (up, down arrow etc) worked. However ESC worked. image By running pio run -t menuconfig instead in a cmd window outside platformio the navigation keys worked. (Windows 10 OS)

manuelbl commented 2 years ago

This is a known incompatibility between Visual Studio Code and ESP-IDF. See e.g. https://github.com/espressif/vscode-esp-idf-extension/issues/6

Several workarounds are mentioned. But I'm not sure if they are all compatible with PlatformIO. Espressif recommends to use the ESP-IDF extension instead. But that's a non-PlatformIO as well.

mike6000 commented 2 years ago

My workaround was to open a separate cmd window in Windows. Then run pio run -t menuconfig outside platformio. The menuconfig navigation seems to work ok by this methos. I close this issue now, it is meant to help others that might experience the same problem when following the platformio tutorial on ttn-esp32 wiki.