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

ESP32-C3 test integration with the python script #52

Open
potsrevennil opened this issue Aug 16, 2024 · 0 comments
Open

ESP32-C3 test integration with the python script #52

potsrevennil opened this issue Aug 16, 2024 · 0 comments

Comments

@potsrevennil
Copy link
Contributor

Currently we're using the tool esptool.py, provided by esp-idf, to flash the binary to esp32-c3.

Since flashing and output are going through the same serial device, we'll have to flash the binary, then run pyserial.miniterm and reset the chip to get the binary output for now. Obviously it can't be integrated into the python script directly.

The serial port start with different prefix (i.e. /dev/cu.*) on macOS, therefore the usb port auto detection in the python script also need to be changed.

We probably would like to consider using openocd to flash the binary instead. There is openocd-esp32 with esp32 series configuration such as interface/esp_usb_jtag.cfg and board/esp32c3-builtin.cfg which might be worth take a look.

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

No branches or pull requests

1 participant