Files
buildroot/package/micropython/Config.in
Daniel Houck 28eeca9a98 package/micropython: bump to version 1.28.0
This allows us to fix packaging issue with micropython-lib, which was
not packaging the correct versions of some libraries.  The new version
makes changes to the `manifestfile` tool/library used by our
collect_micropython_libs.py script, which makes it easier to collect the
correct library version.  This fixes #166.

To better support alternate use cases, the option to package the modules
in unix-ffi has been split into a separate option, instead of assuming
it's needed if and only if libffi is selected.

Both the upstream changes and the unix-ffi split require changes to
collect_micropython_libs.py.  First, since we might not want the
unix-ffi libraries, the script takes an extra argument for whether or
not to include them.  Next, since the manifest.require function no
longer takes a unix_ffi optional parameter, we use manifest.add_library
as recommended in the micropython-lib/unix-ffi directory README, if we
are are actually packaging those libraries.

All of the patches we have been maintaining have also been merged upstream
by 1.28.0, so they are removed.  Their respective Upstream: trailers all
point to the relevant commits, except for
0003-Fixes-for-GCC-15-1-unterminated-string-literal-warning.patch, from
ae6062a45a

The LICENSE hash has been updated, as the year and the licenses used for
the ports and libraries have also been updated in the LICENSE file.

For more details on the version bump, see the release notes:
  - https://github.com/micropython/micropython/releases/tag/v1.23.0
  - https://github.com/micropython/micropython/releases/tag/v1.24.0
  - https://github.com/micropython/micropython/releases/tag/v1.24.1
  - https://github.com/micropython/micropython/releases/tag/v1.25.0
  - https://github.com/micropython/micropython/releases/tag/v1.26.0
  - https://github.com/micropython/micropython/releases/tag/v1.26.1
  - https://github.com/micropython/micropython/releases/tag/v1.27.0
  - https://github.com/micropython/micropython/releases/tag/v1.28.0

Signed-off-by: Daniel Houck <Software@DRHouck.me>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2026-06-12 18:55:30 +02:00

43 lines
1.2 KiB
Plaintext

config BR2_PACKAGE_MICROPYTHON
bool "micropython"
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on !BR2_STATIC_LIBS
help
MicroPython is a lean and fast implementation of the Python
3 programming language that is optimised to run on a
microcontroller.
https://micropython.org
if BR2_PACKAGE_MICROPYTHON
config BR2_PACKAGE_MICROPYTHON_LIB
bool "micropython-lib"
help
Core Python libraries ported to MicroPython.
This contains compatible but reduced-functionality versions
of some Python standard library and wider Python ecosystem
modules, as well as some MicroPython-specific libraries
that aren't included in the base package.
if BR2_PACKAGE_MICROPYTHON_LIB
config BR2_PACKAGE_MICROPYTHON_LIB_UNIXFFI
bool "micropython-lib unix-ffi modules"
default y
select BR2_PACKAGE_LIBFFI
select BR2_PACKAGE_PCRE2 # runtime
help
Unix-specific MicroPython packages
These provide additional functionality to MicroPython in
standard environments.
endif # BR2_PACKAGE_MICROPYTHON_LIB
endif # BR2_PACKAGE_MICROPYTHON
comment "micropython needs a toolchain w/ threads, dynamic library"
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS