Skip to content

boards: add saampixv1_1 bootloader target and board type mapping#264

Merged
davids5 merged 6 commits intoPX4:mainfrom
ashwanisihag:saam_saampixv1_1_bl_pr
Apr 8, 2026
Merged

boards: add saampixv1_1 bootloader target and board type mapping#264
davids5 merged 6 commits intoPX4:mainfrom
ashwanisihag:saam_saampixv1_1_bl_pr

Conversation

@ashwanisihag
Copy link
Copy Markdown
Contributor

@ashwanisihag ashwanisihag commented Mar 29, 2026

Summary

Add bootloader support for saampixv1_1.

What this PR adds

  • New bootloader target for saampixv1_1_bl
  • Board type mapping for TARGET_HW_SAAMPIX_V1_1
  • Hardware configuration for the SaamPix v1.1 board
  • USB identification strings for bootloader detection

Notes

Validation

  • Local bootloader build completed for saampixv1_1_bl
  • CI results will confirm integration in upstream build environment

@ashwanisihag
Copy link
Copy Markdown
Contributor Author

@davids5 CI is green now. This PR adds SaamPix v1.1 bootloader target and board type mapping and is ready for review when you have time.

@davids5
Copy link
Copy Markdown
Member

davids5 commented Mar 30, 2026

@ashwanisihag Please fix the spacing

@ashwanisihag
Copy link
Copy Markdown
Contributor Author

ashwanisihag commented Mar 31, 2026

Thanks david, i though AI can do better but it did mistakes, i will recheck twice next time.

Copy link
Copy Markdown
Member

@davids5 davids5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

L

@ashwanisihag
Copy link
Copy Markdown
Contributor Author

@davids5 follow-up applied for the active hw_config.h thread.

Updated SAAMPIX bootloader USB PID in hw_config.h:

  • USBPRODUCTID: 0x0030 -> 0x008E

This now matches the current PX4-Autopilot saampixv1_1 defconfig value so both repos are aligned while waiting for final Dronecode VID/PID confirmation.

@ashwanisihag
Copy link
Copy Markdown
Contributor Author

Correction update: the prior PID change accidentally touched the MindPX block. Fixed now in commit d5297e7.

Current hw_config.h values:

  • TARGET_HW_MINDPX_V2 USBPRODUCTID = 0x0030 (restored)
  • TARGET_HW_SAAMPIX_V1_1 USBPRODUCTID = 0x008E (aligned with PX4-Autopilot)

@ashwanisihag
Copy link
Copy Markdown
Contributor Author

@davids5 quick follow-up: all requested fixes are in, both review threads are resolved, and CI checks are green.

Could you please take another look when you have a moment?

Copy link
Copy Markdown
Member

@davids5 davids5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@davids5 davids5 merged commit 0447266 into PX4:main Apr 8, 2026
3 checks passed
@ashwanisihag
Copy link
Copy Markdown
Contributor Author

ashwanisihag commented Apr 11, 2026

Addressed a runtime issue discovered during hardware verification: for TARGET_HW_SAAMPIX_V1_1, BOARD_TYPE now resolves to numeric board id 200 in bootloader responses (instead of macro-symbol expansion behavior).
Change pushed in commit: 7eee3be
This is a one-line SaamPix-only fix in hw_config.h and does not modify other board targets.
Could you please take another look? Thanks.

@davids5
Copy link
Copy Markdown
Member

davids5 commented Apr 11, 2026

@ashwanisihag Please Open new PR
.

@ashwanisihag
Copy link
Copy Markdown
Contributor Author

Thanks ,Done

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

Successfully merging this pull request may close these issues.

2 participants