Skip to content

Conversation

@h2zero
Copy link
Owner

@h2zero h2zero commented Sep 9, 2025

No description provided.

@h2zero h2zero force-pushed the update-linker/bootloaders branch 4 times, most recently from a5faa15 to 91baaee Compare September 10, 2025 22:08
@h2zero h2zero changed the title Update bootloader options to allow for softdevices/adafruit stock boo… Update bootloader options to allow for adafruit stock bootloaders Sep 11, 2025
@h2zero h2zero force-pushed the update-linker/bootloaders branch from 50d9afe to 6d96e2a Compare January 20, 2026 00:25
@h2zero h2zero requested a review from Copilot January 20, 2026 00:55
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates bootloader configuration to support Adafruit stock bootloaders by removing embedded bootloader hex files and updating linker scripts to use calculated memory layouts instead of hardcoded values. The changes standardize flash memory region calculations across variants and add new linker scripts for S140 v6 and v7 softdevice configurations with Adafruit bootloader support.

Changes:

  • Removes embedded bootloader hex files from two variant directories
  • Updates existing linker scripts to use arithmetic expressions for flash memory length calculations
  • Adds new linker scripts for nRF52840 and nRF52833 with S140 v6/v7 softdevice and Adafruit bootloader

Reviewed changes

Copilot reviewed 13 out of 20 changed files in this pull request and generated no comments.

Show a summary per file
File Description
variants/itsybitsy_nrf52840_express/ada_bootloader.hex Removed embedded bootloader (2378 lines)
variants/BT5032A_TB/ada_bootloader.hex Removed embedded bootloader (1573 lines)
cores/nRF5/nordic/linker/nrf52840_xxaa.ld Changed flash length to use calculation: 0x100000 - 0x4000
cores/nRF5/nordic/linker/nrf52840_serial_adabl.ld Changed flash length to: 0xF4000 - 0x1000 - 0x4000
cores/nRF5/nordic/linker/nrf52840_s140_v7_adabl.ld New linker script for S140 v7 with Adafruit bootloader
cores/nRF5/nordic/linker/nrf52840_s140_v6_adabl.ld New linker script for S140 v6 with Adafruit bootloader
cores/nRF5/nordic/linker/nrf52833_xxaa.ld Changed flash length to: 0x80000 - 0x4000
cores/nRF5/nordic/linker/nrf52833_serial_adabl.ld Changed flash length to: 0x74000 - 0x1000 - 0x4000
cores/nRF5/nordic/linker/nrf52833_s140_v7_adabl.ld New linker script for nRF52833 with S140 v7 and Adafruit bootloader
cores/nRF5/nordic/linker/nrf52832_xxaa.ld Changed flash length to: 0x80000 - 0x4000
cores/nRF5/nordic/linker/nrf52832_serial_adabl.ld Changed flash length to: 0x74000 - 0x1000 - 0x4000

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@h2zero h2zero marked this pull request as ready for review January 20, 2026 01:25
@h2zero h2zero force-pushed the update-linker/bootloaders branch from 6d96e2a to 9b857e6 Compare January 20, 2026 01:43
@h2zero h2zero force-pushed the update-linker/bootloaders branch 2 times, most recently from 36ea77f to bb6965b Compare January 21, 2026 01:47
@h2zero h2zero merged commit 80fc766 into master Jan 21, 2026
30 of 60 checks passed
@h2zero h2zero deleted the update-linker/bootloaders branch January 21, 2026 01:51
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