Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve debuging section #105

Closed
4 of 5 tasks
SergioGasquez opened this issue Jun 22, 2023 · 4 comments · Fixed by #128
Closed
4 of 5 tasks

Improve debuging section #105

SergioGasquez opened this issue Jun 22, 2023 · 4 comments · Fixed by #128
Assignees

Comments

@SergioGasquez
Copy link
Member

SergioGasquez commented Jun 22, 2023

Tasks

@SergioGasquez
Copy link
Member Author

Closed via #128

@SergioGasquez SergioGasquez linked a pull request Nov 22, 2023 that will close this issue
@github-project-automation github-project-automation bot moved this from Todo to Done in esp-rs Nov 22, 2023
@lure23
Copy link
Contributor

lure23 commented Jan 8, 2024

I'm still confused about how to install OpenOCD - in my case for ESP32-C3 development.

The #128 changelog suggests installing https://github.com/espressif/binutils-gdb

GDB with all the Espressif products supported can be obtained in [`espressif/binutils-gdb`][binutils-repo].
Once installed, it's as simple as running `openocd` with the correct arguments. For chips with the built-in  [`USB-JTAG-SERIAL` peripheral][usb-jtag-serial], there is normally a config file that will work out of the box, for example on the ESP32-C3:

The releases of binutils-gdb don't provide an openocd binary. What are the packages I should install - and how - to get suggested command openocd -f board/esp32c3-builtin.cfg runnable (on Linux)?

I presume this part was left somewhat undone. The first checkbox of this issue (closed as duplicate) remains unchecked.

cc @SergioGasquez

@SergioGasquez
Copy link
Member Author

I'm still confused about how to install OpenOCD - in my case for ESP32-C3 development.

OpenOCD comes with the ESP-IDF installation: https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/get-started/index.html#installation. From the docs:

If you have already set up ESP-IDF with CMake build system according to the Getting Started Guide, then OpenOCD is already installed. After setting up the environment in your terminal, you should be able to run OpenOCD. Check this by executing the following command:

@lure23
Copy link
Contributor

lure23 commented Jan 9, 2024

Thanks, got it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants