turbo: nRF52 boards loader enable native .mpy default - #11360
Open
mikeysklar wants to merge 1 commit into
Open
Conversation
Turn on CIRCUITPY_LOAD_NATIVE for the nordic port. It fits on every nRF52 board except these sixteen, which opt out in their own mpconfigboard.mk: ADM_B_NRF52840_1, bless_dev_board_multi_sensor, bluemicro833, bluemicro840, electronut_labs_blip, electronut_labs_papyr, makerdiary_nrf52840_mdk_usb_dongle, nice_nano, pca10059, pillbug, raytac_mdbt50q-db-40, raytac_mdbt50q-rx, ssci_isp1807_dev_board, ssci_isp1807_micro_board, supermini_nrf52840, teknikio_bluebird Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Enables the turbo loader (
CIRCUITPY_LOAD_NATIVE) by default on nRF52.38 of 54 boards fit. The other 16 opt out in
mpconfigboard.mk. All 16 keep CIRCUITPY on internal flash.Follow-up to #11332 (RP2), #11355 (STM32F4) and #11356 (SAMx5x).
Hardware tested
Feather nRF52840 Express
10.3.0-66-g55984e753c, which includes this commit..mpy.mpy@native.mpyHow I tested it
All 54 nRF52 boards built in their tightest CI language with GCC 15.2.1.
Hardware used
vsum.pyfrom #11332 pluspixels.py.pca10100ruikigaisense_vitajawarmbit_bluepixeljasparkfun_nrf52840_minijasimmelrubluemicro833ruraytac_mdbt50q-rxjaADM_B_NRF52840_1jaelectronut_labs_papyrjassci_isp1807_dev_boardjapca10059jassci_isp1807_micro_boardjaraytac_mdbt50q-db-40jateknikio_bluebirdjamakerdiary_nrf52840_mdk_usb_donglejanice_nanojapillbugjasupermini_nrf52840jabless_dev_board_multi_sensorjaelectronut_labs_blipjabluemicro840jaScope
Xtensa and nRF54 (zephyr-cp) loader support will be separate PRs.
AI assistance
Claude Code was used.