Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: Add upload flags to boards.txt for Twin AIoT Module to resolve upload error#11876

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
me-no-dev merged 1 commit intoespressif:masterfrombekirr12:fix-twinaiot-upload
Sep 29, 2025

Conversation

@bekirr12
Copy link
Contributor

@bekirr12bekirr12 commentedSep 26, 2025
edited
Loading

This pull request addresses a missing board definition for the Twin AIoT module in the boards.txt file, resolving a critical upload error. This change is to solve the error we received in the twinaiot module that we added in theprevious PR.

Problem Description
When attempting to upload a sketch to the Twin AIoT board, the build and upload process failed due to a missing line in the board's configuration file. The specific error message received was:

No such command '{upload.flags}'

This error was caused by the absence of the upload.flags and upload.extra_flags parameters in the Twin AIoT Module definition. The Arduino IDE's build system, which uses the platform.txt template, was unable to correctly format the esptool.py command-line arguments without these keys, leading to a failed upload.

Solution
This pull request adds the following lines to the Twin AIoT Module definition in the boards.txt file:

twinaiot.upload.flags=
twinaiot.upload.extra_flags=

This simple correction ensures that the build system can properly resolve the command-line arguments, allowing the firmware upload to proceed without errors.

Test Scenario
This change has been tested on the following hardware and software configuration:

Hardware: Twin AIoT Module (ESP32-S3-Mini-1 N4R2)

Software: Arduino IDE 2.3.6

Test: A simple "Blink" sketch was successfully compiled and uploaded, confirming that the upload process works as expected.

@github-actions
Copy link
Contributor

github-actionsbot commentedSep 26, 2025
edited
Loading

Warnings
⚠️

Some issues found for the commit messages in this PR:

  • the commit message"fix: Add upload flags to boards.txt for Twin AIoT Module to resolve upload error":
    • summary appears to be too long

Please fix these commit messages - here are some basic tips:

  • followConventional Commits style
  • correct format of commit message should be:<type/action>(<scope/component>): <summary>, for examplefix(esp32): Fixed startup timeout issue
  • allowed types are:change,ci,docs,feat,fix,refactor,remove,revert,test
  • sufficiently descriptive message summary should be between 10 to 72 characters and start with upper case letter
  • avoid Jira references in commit messages (unavailable/irrelevant for our customers)

TIP: Install pre-commit hooks and run this check when committing (uses theConventional Precommit Linter).

👋Hello bekirr12, we appreciate your contribution to this project!


📘 Please review the project'sContributions Guide for key guidelines on code, documentation, testing, and more.

🖊️ Please also make sure you haveread and signed theContributor License Agreement for this project.

Click to see more instructions ...


This automated output is generated by thePR linter DangerJS, which checks if your Pull Request meets the project's requirements and helps you fix potential issues.

DangerJS is triggered with eachpush event to a Pull Request and modify the contents of this comment.

Please consider the following:
- Danger mainly focuses on the PR structure and formatting and can't understand the meaning behind your code or changes.
- Danger isnot a substitute for human code reviews; it's still important to request a code review from your colleagues.
-Resolve all warnings (⚠️ ) before requesting a review from human reviewers - they will appreciate it.
- To manuallyretry these Danger checks, please navigate to theActions tab and re-run last Danger workflow.

Review and merge process you can expect ...


We do welcome contributions in the form of bug reports, feature requests and pull requests.

1. An internal issue has been created for the PR, we assign it to the relevant engineer.
2. They review the PR and either approve it or ask you for changes or clarifications.
3. Once the GitHub PR is approved we do the final review, collect approvals from core owners and make sure all the automated tests are passing.
- At this point we may do some adjustments to the proposed change, or extend it by adding tests or documentation.
4. If the change is approved and passes the tests it is merged into the default branch.

Generated by 🚫dangerJS against7533d66

@P-R-O-C-H-YP-R-O-C-H-Y added Status: Pending MergePull Request is ready to be merged Type: 3rd party BoardsRelated to third-party/non-Espressif hardware boards. labelsSep 26, 2025
@me-no-devme-no-dev merged commit78a74e9 intoespressif:masterSep 29, 2025
18 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@P-R-O-C-H-YP-R-O-C-H-YP-R-O-C-H-Y approved these changes

Assignees

No one assigned

Labels

Status: Pending MergePull Request is ready to be mergedType: 3rd party BoardsRelated to third-party/non-Espressif hardware boards.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@bekirr12@P-R-O-C-H-Y@me-no-dev

[8]ページ先頭

©2009-2025 Movatter.jp