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.
v1.23.x to v1.24.x
Nothing to see here... yet 👀
Aha! Something to see:
mpconfigvariant_XXX.mk/cmake
file micropython/micropython#15336We may need to update our local board configuration files to adopt this pattern, or perhaps even investigate using variants for boards we ship with multiple memory configuration options.
mp_obj_new_str
to this new method. In many cases we usestd::string
, though, and might want our own similar helper for this common pattern.ADC(n)
instead ofADC(Pin(n))
v1.22.x to v1.23.x
STATIC -> static
A source of incoming pain - micropython/micropython#13763
TLDR: The
STATIC
macro was never really used, is confusing and will be wholly removed. It resolves tostatic
and should be substituted as such.mp_obj_malloc_with_finaliser
There's a breaking change with the introduction of
mp_obj_malloc_with_finaliser
, which replaces callingm_new_obj_with_finaliser
and explicitly settingobj->base.type
.New style added: micropython/micropython@4133c03
Old style removed: micropython/micropython@9716171