You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Keyboard shortcuts for quick build & flash do not work inside ESP-IDF Monitor launched from bottom toolbar
If I open separate ESP-IDF Terminal and launch idf.py monitor -p /dev/ttyUSB0 manually then shortcuts work and I get build done and reflashed
Debug Message
--- Running make app-flash...
make: *** No rule to make target 'app-flash'. Stop.
Other Steps to Reproduce
Build some ESP32 project and flash it
Open ESP-IDF Monitor from bottom toolbar
Focus on Monitor and click Ctrl+T followed by a Ctrl+A to trigger "Build and flash the app only" which should pause the monitor, run build and re-flash the app.
Observe the error:
--- Running make app-flash...
make: *** No rule to make target 'app-flash'. Stop.
Close ESP-IDF Monitor
Open ESP-IDF Terminal from bottom toolbar
Run command idf.py monitor -p /dev/ttyUSB0 to run monitor manually
Click Ctrl+T followed by a Ctrl+A and observe feature working correctly:
--- Running /home/user/.espressif/python_env/idf5.4_py3.10_env/bin/python /home/user/esp/esp-idf/tools/idf.py app-flash...
Executing action: app-flash
Running ninja in directory /home/user/esp/project/build
Executing "ninja app-flash"...
[1/2] cd /home/user/esp/project/build/esp-idf/esptool_py && /home/user/.espressif/python_env/idf5.4_py3.10_env/bin/python /home/user/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 partition --type app /home/user/esp/project/build/partition_table/partition-table.bin /home/user/esp/project/build/project.bin
project.bin binary size 0x186d70 bytes. Smallest app partition is 0x1e0000 bytes. 0x59290 bytes (19%) free.
[1/2] cd /home/user/esp/esp-idf/components/esptool_py && /usr/bin/cmake -D IDF_PATH=/home/user/esp/esp-idf -D "SERIAL_TOOL=/home/user/.espressif/python_env/idf5.4_py3.10_env/bin/python;;/home/user/esp/esp-idf/components/esptool_py/esptool/esptool.py;--chip;esp32" -D "SERIAL_TOOL_ARGS=--before=default_reset;--after=hard_reset;write_flash;@app-flash_args" -D WORKING_DIRECTORY=/home/user/esp/project/build -P /home/user/esp/esp-idf/components/esptool_py/run_serial_tool.cmake
esptool.py --chip esp32 -p /dev/ttyUSB0 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size detect 0x10000 project.bin
esptool.py v4.8.1
Serial port /dev/ttyUSB0
Connecting....
Chip is ESP32-D0WDQ6 (revision v1.0)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 3c:71:bf:59:2e:60
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Auto-detected Flash size: 4MB
Flash will be erased from 0x00010000 to 0x00196fff...
Compressed 1600880 bytes to 1004497...
Writing at 0x00010000... (1 %)
Writing at 0x0001e764... (3 %)
Writing at 0x0002dc04... (4 %)
Writing at 0x0003c102... (6 %)
Writing at 0x000472bc... (8 %)
Writing at 0x0004cdcb... (9 %)
Writing at 0x00051caf... (11 %)
Writing at 0x00056f3c... (12 %)
Writing at 0x0005d990... (14 %)
Writing at 0x000675af... (16 %)
Writing at 0x00073925... (17 %)
Writing at 0x00078b2d... (19 %)
Writing at 0x0007e048... (20 %)
Writing at 0x00083a12... (22 %)
Writing at 0x0008951c... (24 %)
Writing at 0x0008ec55... (25 %)
Writing at 0x000944d0... (27 %)
Writing at 0x0009a0b8... (29 %)
Writing at 0x0009fa96... (30 %)
Writing at 0x000a5f71... (32 %)
Writing at 0x000abd69... (33 %)
Writing at 0x000b2128... (35 %)
Writing at 0x000b7d4d... (37 %)
Writing at 0x000bd8fc... (38 %)
Writing at 0x000c3489... (40 %)
Writing at 0x000c90be... (41 %)
Writing at 0x000ce8e0... (43 %)
Writing at 0x000d43de... (45 %)
Writing at 0x000d93a8... (46 %)
Writing at 0x000de62f... (48 %)
Writing at 0x000e3962... (50 %)
Writing at 0x000e8ef5... (51 %)
Writing at 0x000ee8e6... (53 %)
Writing at 0x000f3ef7... (54 %)
Writing at 0x000f9251... (56 %)
Writing at 0x000feab2... (58 %)
Writing at 0x001045b2... (59 %)
Writing at 0x0010992a... (61 %)
Writing at 0x0010ecf6... (62 %)
Writing at 0x00113f58... (64 %)
Writing at 0x00119675... (66 %)
Writing at 0x0011ee09... (67 %)
Writing at 0x0012424a... (69 %)
Writing at 0x00129714... (70 %)
Writing at 0x0012f2d6... (72 %)
Writing at 0x00134430... (74 %)
Writing at 0x001394b8... (75 %)
Writing at 0x0013e80f... (77 %)
Writing at 0x001443e2... (79 %)
Writing at 0x00149e34... (80 %)
Writing at 0x00150257... (82 %)
Writing at 0x001562d6... (83 %)
Writing at 0x0015be20... (85 %)
Writing at 0x00165eb8... (87 %)
Writing at 0x0016cdc9... (88 %)
Writing at 0x00172585... (90 %)
Writing at 0x00179922... (91 %)
Writing at 0x0017f10f... (93 %)
Writing at 0x00184709... (95 %)
Writing at 0x00189f13... (96 %)
Writing at 0x0018fc00... (98 %)
Writing at 0x00194efe... (100 %)
Wrote 1600880 bytes (1004497 compressed) at 0x00010000 in 23.9 seconds (effective 536.5 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
Done
I (146) esp_image: segment 1: paddr=0006c714 vaddr=3ff80000 size=0001ch ( 28) load
I (146) esp_image: segment 2: paddr=0006c738 vaddr=3ffbdb60 size=038e0h ( 14560) load
I (151) esp_image: segment 3: paddr=00070020 vaddr=400d0020 size=1055a8h (1070504) map
I (424) esp_image: segment 4: paddr=001755d0 vaddr=3ffc1440 size=0235ch ( 9052) load
I (427) esp_image: segment 5: paddr=00177934 vaddr=40080000 size=1f418h (128024) load
I (481) boot: Loaded app from partition at offset 0x10000
I (481) boot: Disabling RNG early entropy source...
I have checked existing issues, online documentation and the Troubleshooting Guide
I confirm I have checked existing issues, online documentation and Troubleshooting guide.
The text was updated successfully, but these errors were encountered:
fronders
added
the
bug-report
Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue)
label
Jan 13, 2025
github-actionsbot
changed the title
IDF Monitor shortcuts do not work
IDF Monitor shortcuts do not work (VSC-1558)
Jan 13, 2025
I've made a fix for this. Could you please test it to see if it solves the reported issue?
You can test these changes by installing this VSIX by click menu View -> Command Palette..., type Install from VSIX and then select downloaded esp-idf-extension.vsix file to install the extension.
OS
Windows
Operating System version
WSL2 Ubuntu 24 under Windows 11
Visual Studio Code version
1.96.2
ESP-IDF version
5.4
Python version
3.10.12
Doctor command output
doctor_output.txt
Extension
No response
Description
Keyboard shortcuts for quick build & flash do not work inside ESP-IDF Monitor launched from bottom toolbar
If I open separate ESP-IDF Terminal and launch
idf.py monitor -p /dev/ttyUSB0
manually then shortcuts work and I get build done and reflashedDebug Message
Other Steps to Reproduce
Ctrl+T
followed by aCtrl+A
to trigger "Build and flash the app only" which should pause the monitor, run build and re-flash the app.idf.py monitor -p /dev/ttyUSB0
to run monitor manuallyCtrl+T
followed by aCtrl+A
and observe feature working correctly:I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: