Skip to content

twister: espressif: fix board_id set as port argument #93613

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jerome-lamy
Copy link

@jerome-lamy jerome-lamy commented Jul 23, 2025

Removed esp32 board_id extra argument.
This argument set the identifier of the esp32 board to test, as the --port argument for the esptool.py flash command, what was not correct. This commit remove the device_id fetch to compose the flash command and use the default serial port instead.

FIXES #93601

Copy link

Hello @jerome-lamy, and thank you very much for your first pull request to the Zephyr project!
Our Continuous Integration pipeline will execute a series of checks on your Pull Request commit messages and code, and you are expected to address any failures by updating the PR. Please take a look at our commit message guidelines to find out how to format your commit messages, and at our contribution workflow to understand how to update your Pull Request. If you haven't already, please make sure to review the project's Contributor Expectations and update (by amending and force-pushing the commits) your pull request if necessary.
If you are stuck or need help please join us on Discord and ask your question there. Additionally, you can escalate the review when applicable. 😊

@zephyrbot zephyrbot added the area: Twister Twister label Jul 23, 2025
@jerome-lamy jerome-lamy force-pushed the twister_espressif_serial_bug branch from be9c2cb to f9a62aa Compare July 23, 2025 17:57
@jerome-lamy jerome-lamy force-pushed the twister_espressif_serial_bug branch 6 times, most recently from 35acf9f to 56346de Compare July 24, 2025 14:10
fix a bug for the twister handler script generating the esptool flash
command. The 'device_id' was used to complete the esptool 'port'
argument, but esptool is expecting for the serial at this place.
This commit is adding a special case for the esp32 to fetch and add the
serial port as an argument for the flash tool.

FIXES zephyrproject-rtos#93601

Signed-off-by: jerome Lamy <jerome.lamy@savoirfairelinux.com>
@jerome-lamy jerome-lamy force-pushed the twister_espressif_serial_bug branch from 56346de to 90d9860 Compare July 24, 2025 19:59
Copy link

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

Successfully merging this pull request may close these issues.

espressif: twister: from hardware map "id" is taken as --port option instead of "serial"
4 participants