Skip to content

fix(tools): YAML generation leaking build options between targets - #7638

Merged
pfeerick merged 2 commits into
mainfrom
philmoz/fix-yaml-gen
Aug 12, 2026
Merged

fix(tools): YAML generation leaking build options between targets#7638
pfeerick merged 2 commits into
mainfrom
philmoz/fix-yaml-gen

Conversation

@philmoz

@philmoz philmoz commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

Changes:

  • Remove 'stickDeadZone' from radios which don't use it.
  • Remove tx16s from yaml generation list (uses x10 file)
  • Change STICKS_DEAD_ZONE to STICK_DEAD_ZONE for consistency
  • Clear build folder between iterations when generating yaml files to prevent cross contamination (which caused bogus 'stickDeadZone' entries in TX15 and T15PRO).

@philmoz philmoz added this to the 3.0 milestone Aug 11, 2026
@philmoz philmoz added compilation Related to compiling the firmware and firmware options house keeping 🧹 Cleanup of code and house keeping labels Aug 11, 2026
Comment thread tools/generate-yaml.sh Outdated
- More consistent use of cmake, in line with the developer documentation, and reducing use of make explicitly.

- Add missing asciitree that was preventing generate-yaml working on some macs
@pfeerick

Copy link
Copy Markdown
Member

If b24d830 doesn't break anything for you, it is working fine for me on MacOS and linux without bringing back the cross-contamination (and should now be impossible anyway due to individual target subdirectories).

@pfeerick pfeerick changed the title chore: fix issue with yaml generation fix(tools): YAML generation leaking build options between targets Aug 12, 2026
@pfeerick pfeerick added the backport/2.12 To be backported to a 2.12 release also. label Aug 12, 2026
@pfeerick pfeerick modified the milestones: 3.0, 2.12.3 Aug 12, 2026
@pfeerick pfeerick added the bug 🪲 Something isn't working label Aug 12, 2026
@philmoz

philmoz commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator Author

If b24d830 doesn't break anything for you, it is working fine for me on MacOS and linux without bringing back the cross-contamination (and should now be impossible anyway due to individual target subdirectories).

Seems ok.

@pfeerick
pfeerick merged commit 5c64f0a into main Aug 12, 2026
44 checks passed
@pfeerick
pfeerick deleted the philmoz/fix-yaml-gen branch August 12, 2026 05:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/2.12 To be backported to a 2.12 release also. bug 🪲 Something isn't working compilation Related to compiling the firmware and firmware options house keeping 🧹 Cleanup of code and house keeping

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants