turbo: STM32F4 boards loader enable native .mpy default - #11355
Open
mikeysklar wants to merge 1 commit into
Open
turbo: STM32F4 boards loader enable native .mpy default#11355mikeysklar wants to merge 1 commit into
mikeysklar wants to merge 1 commit into
Conversation
Turn on CIRCUITPY_LOAD_NATIVE for the F4 series. Every F4 board has room for the loader. F7 and H7 stay off: they are Cortex-M7 parts with caches, and emitglue.c only does the cache maintenance for loaded code when __ICACHE_PRESENT is defined, which the stm port does not provide there. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This was referenced Sep 12, 2026
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 STM32F4.All 16 boards fit.
Follow-up to #11332 (RP2).
Hardware tested
Feather STM32F405 Express
10.3.0-66-g55984e753c, which includes this commit..mpy.mpy@native.mpyHow I tested it
All 24 stm boards built in their tightest CI language with GCC 15.2.1.
Hardware used
vsum.pyfrom #11332 pluspixels.py.meowbit_v121jaespruino_picojapyb_nano_v2jathunderpack_v11jathunderpack_v12jaScope
nRF52, SAMx5x and Xtensa loader support will be separate PRs.
AI assistance
Claude Code was used.