top of page
Search

Debugging Rust on ESP32-S3

  • Writer: Brent Lewis
    Brent Lewis
  • Jan 21, 2024
  • 1 min read

{ // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { // more info at: https://github.com/Marus/cortex-debug/blob/master/package.json "name": "Attach", "type": "cortex-debug", "request": "attach", // launch will fail when attempting to download the app into the target "cwd": "${workspaceRoot}", "executable": "${workspaceRoot}/target/xtensa-esp32s3-espidf/debug/esp-sandbox", //!MODIFY "servertype": "openocd", "interface": "jtag", "toolchainPrefix": "xtensa-esp32s3-espidf", //!MODIFY "openOCDPreConfigLaunchCommands": ["set ESP_RTOS none"], "serverpath": "/home/coder0xff/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230921/openocd-esp32/bin/openocd", //!MODIFY "gdbPath": "/home/coder0xff/.espressif/tools//xtensa-esp-elf-gdb/12.1_20221002/xtensa-esp-elf-gdb/bin/xtensa-esp32s3-elf-gdb", //!MODIFY "configFiles": ["/home/coder0xff/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230921/openocd-esp32/share/openocd/scripts/board/esp32s3-builtin.cfg"], //!MODIFY "overrideAttachCommands": [ "set remote hardware-watchpoint-limit 2", "mon halt", "flushregs" ], "overrideRestartCommands": ["mon reset halt", "flushregs", "c"], "showDevDebugOutput": "raw" } ] }

 
 
 

Recent Posts

See All
Tokio on ESP32

There's an example of using Tokio on ESP32 platforms here. However, it took me a long time to discover the same thing in the context of...

 
 
 
Mixed Debugging with Dart and Rust

If you've ever worked with native interop, be it with Dart and Rust or otherwise, you recognize the value in mixed debugging. The idea is...

 
 
 

Comments


Post: Blog2_Post
  • Facebook
  • Twitter
  • LinkedIn

©2022 by Social Dev. Proudly created with Wix.com

bottom of page