Proposal: Evolve bare-arm into architecture-agnostic "bare" port #18579
Unanswered
kimstik
asked this question in
Core Development
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The bare-arm port is brilliant in its simplicity - it's the "hello world" of MicroPython porting.
However, the name ties it to ARM while the concept is universal.
The hardware abstraction layer is already minimal (just a few functions). With minor refactoring, this could become ports/bare/ - a true architecture-agnostic reference port with pluggable backends (ARM, RISC-V, etc).
Why this matters more than adding separate bare-rv, bare-xtensa, etc:
Proof of concept: I ported bare-arm to WCH CH592 (RISC-V). Results:
The delta from bare-arm was minimal - mostly linker script and startup code.
Would the maintainers be open to a PR that generalizes bare-arm into a multi-arch sandbox?
Beta Was this translation helpful? Give feedback.
All reactions