Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2970 commits
Select commit Hold shift + click to select a range
14e9c00
py/builtinimport: Guard code needing sys.path with MICROPY_PY_SYS_PATH.
dpgeorge Aug 15, 2025
a3f9dec
py/mpconfig: Enable the sys module at all feature levels by default.
dpgeorge Aug 15, 2025
bd7342d
mimxrt: Restructure nxp_sdk to match official mcux-sdk.
imi415 Apr 1, 2024
053aade
mimxrt/boards: Re-generate MIMXRT1052 clock config files.
imi415 Jan 31, 2025
72147c0
esp32/network_ppp: Stop polling if stream becomes None.
DvdGiessen Aug 12, 2025
1df5ee1
esp32/network_ppp: Stop polling if PPP was disconnected.
DvdGiessen Aug 12, 2025
b0fd007
tests/micropython: Make tests behave in low memory condition.
agatti Aug 19, 2025
87099b5
qemu/Makefile: Allow overriding floating point mode by boards.
agatti Jul 24, 2025
19be404
qemu/arm: Add definition for the MPS2_AN500 machine.
agatti Jul 24, 2025
64cac46
qemu/mcu/arm/errorhandler: Add ARMv7-M debug registers.
agatti Jul 23, 2025
6650506
tools/ci.sh: Extend Arm testing to include hardfp targets.
agatti Jul 24, 2025
6c1d1f3
qemu/mcu/arm/mps2.ld: Add .ARM.exidx section to the linkerscript.
agatti Aug 25, 2025
c33a02f
tests/run-tests.py: Enable Arm inlineasm FPU tests if possible.
agatti Aug 26, 2025
8c47e44
py/obj: Fix a comment regarding make_new slot.
dsch Aug 5, 2025
ce834b8
tools/mpy-tool.py: Allow dumping MPY segments into their own files.
agatti Aug 26, 2025
54787dc
tools/ci.sh: Skip unreliable thread/thread_gc1.py test in Github CI.
AJMansfield Aug 27, 2025
f4f7fbf
py/obj: Remove unused map new/free function declarations.
AJMansfield Aug 27, 2025
1671977
py/parsenum: Fix parsing LLONG_MIN in longlong configuration.
jepler Aug 15, 2025
b6cd577
py/mkrules.mk: Force ".pp" files to always rebuild.
jepler Aug 14, 2025
7a8ae72
tests/run-tests.py: Factor code for device shortcuts to a function.
dpgeorge Aug 18, 2025
f62c614
tests/run-multitests.py: Change -i argument to -t.
dpgeorge Aug 18, 2025
bf185c3
tests/run-natmodtests.py: Change -p/-d arguments to -t.
dpgeorge Aug 18, 2025
dbbc7d9
tests/run-perfbench.py: Change -p/-d arguments to -t.
dpgeorge Aug 18, 2025
af745a5
tests/net_inet/tls_num_errors.py: Make alloc of emg-exc-buf optional.
dpgeorge Aug 15, 2025
3274f03
tests/multi_net: Require SSL cert file to be available for test to run.
dpgeorge Aug 27, 2025
f0d445a
tests/multi_net: Simplify SKIP when imports don't exist.
dpgeorge Aug 27, 2025
5b98126
esp32/boards: Reduce flash usage of ESP32-C6 boards.
projectgus Aug 27, 2025
9a9cc79
esp32/boards: Build ESP32-C2 and C3 with -Os instead of -O2.
projectgus Aug 27, 2025
704c70c
esp32/boards: Enable I2S for ESP32_GENERIC_C6 and other C6 boards.
jimisola Jul 9, 2025
3adf016
esp32: Revert "esp32/mpconfigport: Disable I2CTarget on ESP32-C6 to ..".
dpgeorge Aug 29, 2025
30c1b6e
unix: Don't crash if heap locked in prompt_write_history.
jepler Aug 20, 2025
6ad91f2
unix: Unlock heap before readline.
jepler Aug 20, 2025
a791f7f
tests: Add test for heap lock in REPL.
jepler Aug 20, 2025
4db2cf0
shared/runtime/pyexec: Unconditionally reset lock depth.
jepler Sep 2, 2025
fc2a851
stm32: Enable I2CTarget for STM32L4.
chrismas9 Aug 17, 2025
9939565
stm32/boards/ARDUINO_OPTA: Reset ETH PHY on board init.
iabdalkader Aug 26, 2025
b3c8ed6
tests/ports/rp2: Decrease test lower bound for thread lightsleep time.
dpgeorge Aug 26, 2025
bfda577
zephyr/CMakeLists.txt: Enable sys.implementation._build.
dpgeorge Aug 19, 2025
4a60d23
tests/run-tests.py: Detect target sys.implementation._build if possible.
dpgeorge Aug 18, 2025
3285e52
tests/run-tests.py: Add support for board-specific target_wiring config.
dpgeorge Aug 19, 2025
5bafb0b
tests: Convert all machine.UART tests to use target_wiring.
dpgeorge Aug 19, 2025
123f66b
tests/target_wiring/ZEPHYR_NUCLEO_WB55RG.py: Add nucleo_wb55rg.
dpgeorge Aug 27, 2025
c7c0ad2
alif/tinyusb_port: Fix setting of USB device addr for fast hosts.
dpgeorge Aug 21, 2025
5f3e6b5
shared/tinyusb: Fix build errors with CDC support disabled.
agatti Jul 18, 2025
1f7952e
rp2/mphalport: Fix building with USB CDC disabled.
agatti Jul 25, 2025
3e5ecd0
mimxrt/mphalport: Fix building with USB CDC disabled.
agatti Jul 25, 2025
ef21e98
samd/mphalport: Fix building with USB CDC disabled.
agatti Jul 25, 2025
d160759
esp32/usb: Fix building with USB CDC disabled.
agatti Jul 25, 2025
7dce35c
esp32: Update esp_tinyusb component to v1.7.6.
projectgus Aug 20, 2025
1c4455b
tools: Add an environment variable MICROPY_MAINTAINER_BUILD.
projectgus Sep 3, 2025
8d5a889
esp32: Add IDF Component Lockfiles to git repo.
projectgus Aug 20, 2025
3ec2e36
shared/tinyusb: Fix hang from new tx_overwritabe_if_not_connected flag.
projectgus Aug 27, 2025
a43e385
shared/tinyusb/mp_usbd_cdc: Rewrite USB CDC TX loop.
projectgus Sep 9, 2025
371db85
esp32/machine_uart: Convert machine.UART objects to static instances.
projectgus Aug 6, 2025
1aaf6ed
tools/mpremote: Don't apply Espressif DTR/RTS quirk to TinyUSB CDC dev.
projectgus Aug 27, 2025
9e89c75
py/makeversionhdr.py: Always abbreviate Git hashes to same length.
DvdGiessen Jul 10, 2025
a21d3f1
py/obj: Update with_finaliser version to match mp_obj_malloc_var.
AJMansfield Aug 29, 2025
1d90577
py/gc: Clean up usage of GC_ALLOC_FLAG_HAS_FINALISER flag.
AJMansfield Aug 30, 2025
9728538
py/compile: Throw SyntaxError instead of asserting.
jepler Aug 30, 2025
7630ef0
tests: Add a test for invalid syntax in @micropython.asm.
jepler Sep 10, 2025
8e6cd4b
tests/cpydiff: Document lack of OSError errno subtype mapping.
AJMansfield Apr 7, 2025
52d2592
tests/cpydiff: Document ENOTSUP vs EOPNOTSUPP.
AJMansfield Apr 7, 2025
2327972
tests/cpydiff: Test for PEP487 __init_subclass__.
AJMansfield Feb 19, 2025
c224e97
extmod/modplatform: Expose CPU features/extensions.
agatti Jun 12, 2024
55ecaf1
extmod/machine_uart: Return from read()/write() at the first timeout.
robert-hh Aug 15, 2025
c50f9cb
esp32/machine_uart: Handle properly the timeout_char argument.
robert-hh Aug 16, 2025
66fb82e
py/stream: Add a stream.readinto1() method for machine.UART.
robert-hh Aug 16, 2025
e453d9d
py/stream: Support additional arguments for mp_stream_write1_obj.
robert-hh Sep 8, 2025
d441788
esp8266/main: Use new cstack API and add a stack margin of 64 bytes.
dpgeorge Jul 29, 2025
f0c6f16
all: Remove Python 2.7 support.
jepler Aug 8, 2025
3c60e0c
tools: Remove unneeded future imports.
jepler Sep 10, 2025
d9d9d1a
py: Remove unneeded future imports.
jepler Sep 10, 2025
4f9bc4b
mpy-cross: Remove unneeded future imports.
jepler Sep 10, 2025
36ab1c2
ports: Remove unneeded future imports.
jepler Sep 10, 2025
6d09d3e
tests/internal_bench/class_instance: Benchmark instantiation.
AJMansfield Aug 31, 2025
d28844d
tests/internal_bench/var: Benchmark checked attribute access.
AJMansfield Aug 31, 2025
2707ae0
tests/internal_bench/var: Benchmark ordered map accesses.
AJMansfield Sep 3, 2025
c304046
docs: Always use sphinx_rtd_theme.
jepler Sep 4, 2025
6d640a1
py/obj: Document undocumented MP_TYPE_FLAG values.
AJMansfield Sep 11, 2025
e9da4c9
unix/modsocket: Use type-checking mp_obj_get_int.
jepler Aug 3, 2025
a69425b
unix/Makefile: Add additional testing targets.
jepler Aug 14, 2025
2dc6873
py/py.cmake: Add nlraarch64.
Ayush1325 Sep 15, 2025
29246ba
tests/run-perfbench.py: Fix issues when -s/-m is used with failed tests.
yn386 Sep 14, 2025
c76e601
github/workflows: Bump actions/github-script from 7 to 8.
dependabot[bot] Sep 4, 2025
6681530
github/workflows: Bump actions/setup-python from 5 to 6.
dependabot[bot] Sep 4, 2025
be1a1eb
tools/ci.sh: Make this script runnable as command.
jepler Sep 3, 2025
06a90e0
stm32/boards/NUCLEO_F401RE: Change flash latency for NUCLEO-F401RE.
yn386 Sep 14, 2025
03e3a06
stm32/boards/NUCLEO_G474RE: Change flash latency for NUCLEO-G474RE.
yn386 Sep 15, 2025
a6efc67
stm32/i2c: Add hardware I2C implementation for STM32G4.
yn386 Sep 14, 2025
7cbe083
stm32/uart: Enable UART FIFO for STM32N6.
iabdalkader Sep 14, 2025
c4d99f3
stm32/uart: Fix LPUART init failure with low baudrate.
yn386 Sep 15, 2025
8d04f5d
stm32/boards: Set RCC_HSE_BYPASS for relevant NUCLEO boards.
yn386 Sep 15, 2025
ec1bfcf
stm32/main: Use defined constants to enable N6 clocks during low power.
dpgeorge Sep 17, 2025
1b92bda
mpy-cross: Add RISC-V RV64IMC support in MPY files.
agatti Sep 29, 2024
44986b1
qemu/riscv64: Add new QEMU RV64 port.
agatti Sep 29, 2024
42ea7bc
py/mpstate: Make it possible for mpy-cross to set emitter options.
agatti Jul 7, 2025
cb7ca6f
py/asmrv32: Use RV32 Zba opcodes if possible.
agatti Sep 19, 2025
965c77a
mpy-cross/main: Add support for RV32 Zba opcodes.
agatti Jul 7, 2025
40dbf77
py/emitinlinerv32: Add Zba opcodes to the inline assembler.
agatti Jul 7, 2025
1fea1e2
qemu: Enable Zba opcodes for the VIRT_RV32 board.
agatti Sep 11, 2025
8757eb7
rp2/mpconfigport: Enable Zba opcodes in RISC-V mode.
agatti Jul 7, 2025
353814d
tools/ci.sh: Fix missing `set -e` when run as a script.
jepler Sep 19, 2025
a277fe4
github/workflows: Bump actions/checkout from 4 to 5.
dependabot[bot] Sep 19, 2025
cf09793
unix/modsocket: Set file descriptor to -1 on close.
MikeWang000000 Sep 20, 2025
8c389db
unix/main: Ensure atexit function is called with -m <module>.
MikeWang000000 Sep 20, 2025
bf08f60
tests/cmdline: Add tests for using -m combined with sys.atexit.
dpgeorge Sep 22, 2025
592affc
stm32/make-stmconst.py: Fix missing peripheral consts in stm module.
yn386 Sep 21, 2025
65b2dc2
stm32/powerctrlboot: Refactor clock settings for STM32G0.
yn386 Sep 21, 2025
7ba8221
stm32/adc: Fix pyb.ADC issue for STM32G0.
yn386 Sep 21, 2025
ddf1a38
stm32/machine_adc: Fix machine.ADC so it works on STM32G0.
yn386 Sep 21, 2025
8632351
stm32/timer: Fix Timer(4) issue for STM32G0.
yn386 Sep 21, 2025
9a13688
stm32/timer: Enable RTCAPB_CLK for STM32G0.
yn386 Sep 21, 2025
5312614
stm32/rtc: Fix RTC.wakeup issue for STM32G0.
yn386 Sep 21, 2025
616f35f
tests/README: Update docs for run-perfbench.py now that it uses -t.
dpgeorge Sep 10, 2025
0d9aafd
tools/metrics.py: Compute mpy-cross size as part of size metrics.
dpgeorge Aug 29, 2025
91abffb
github/workflows: Retry Windows VC2017 & 2019 install steps.
projectgus Sep 9, 2025
046013a
github/workflows: Run esp32&zephyr daily to keep mstr branch caches hot.
projectgus Sep 24, 2025
d0d9d97
esp32/machine_uart: Call uart_wait_tx_done() only with driver installed.
robert-hh Sep 22, 2025
6c9940b
stm32/adc: Get ADC working on STM32N6 MCUs.
dpgeorge Aug 29, 2025
706cc8d
shared/runtime/mpirq: Factor out mp_irq_dispatch() and use it.
arachsys Aug 25, 2025
ad11df7
shared/runtime/softtimer: Add support for hard callbacks.
arachsys Aug 25, 2025
955b6a9
extmod/machine_timer: Support hard IRQ soft timer callbacks.
arachsys Aug 25, 2025
b7bf24e
rp2/machine_timer: Use mp_irq_dispatch() to reduce duplication.
arachsys Aug 25, 2025
a69b08b
renesas-ra/timer: Support soft IRQ timer callbacks.
arachsys Aug 25, 2025
49f2a1f
stm32/timer: Support soft IRQ timer callbacks.
arachsys Aug 25, 2025
c617ed1
zephyr/machine_timer: Support hard IRQ timer callbacks.
arachsys Aug 25, 2025
e7aa2a5
esp8266/modmachine: Support hard IRQ timer callbacks.
arachsys Aug 25, 2025
64fd2f5
esp32/machine_timer: Warn that hard timers are not implemented.
arachsys Aug 25, 2025
ccc9542
tests: Generalise rp2 timer test into a cross-port test.
arachsys Aug 25, 2025
ec6cdf3
tests: Test hardware timers as well as software timers.
arachsys Aug 25, 2025
b9523fd
docs: Document the cross-port Timer hard= option.
arachsys Aug 25, 2025
81985d2
shared/runtime/mpirq: Check separate hard IRQ stack correctly.
arachsys Sep 9, 2025
2a03ade
docs/library/os: Document dupterm_notify function.
Josverl Sep 20, 2025
74270df
docs/README: Update doc build dependency.
Josverl Sep 25, 2025
10b3d96
docs/README: Document sphinx-autobuild for local preview.
Josverl Sep 25, 2025
2373340
py/stream: Reuse write implementation for readinto.
dpgeorge Sep 13, 2025
b44c4de
tests/ports/unix: Add coverage test for readinto1 stream method.
dpgeorge Sep 19, 2025
7be82f8
tests: Test extremes of range() and document differences to CPython.
jepler Jul 15, 2025
72867bc
py/objrange: Allow return of non-small ints.
jepler Jul 15, 2025
03b4c60
nrf/modules/machine/spi: Print SPI baudrate, polarity and phase.
dpgeorge Aug 10, 2025
f1b00d6
cc3200/mpconfigport: Use MICROPY_CONFIG_ROM_LEVEL_CORE_FEATURES.
dpgeorge Sep 17, 2025
24f395b
tests/ports/webassembly: Move JsProxy identity test to separate file.
dpgeorge Sep 1, 2025
9eddbb3
webassembly: Do GC in return path rather than entry path.
dpgeorge Sep 1, 2025
a319dde
webassembly: Improve identity and fix bug with lost JsProxy refs.
dpgeorge Sep 1, 2025
293bb0e
webassembly: Remove MICROPY_PY_BOUND_METHOD_FULL_EQUALITY_CHECK.
dpgeorge Sep 1, 2025
70c4ffa
tools/ci.sh: Add `--bash-completion` option.
jepler Sep 21, 2025
7e5c55d
py/mkrules.mk: Add %.sz rule to print size of an object file.
jepler Sep 21, 2025
1921d22
docs/develop/gettingstarted: Document the additional unix test targets.
jepler Sep 21, 2025
adf6319
docs/develop/gettingstarted: Document %.sz and %.pp targets.
jepler Sep 21, 2025
4b013ec
extmod/vfs_reader: Check that open() resulted in a file-like object.
jepler Aug 8, 2025
0a41838
extmod/modopenamp: Check that mp_vfs_open actually returned a stream.
jepler Sep 26, 2025
2d08f2f
extmod/moductypes: Error if small ints are not big enough.
jepler Sep 20, 2025
f6dcf35
tests/basics/int_big_to_small.py: Bifurcate test using small-int-max.
jepler Jul 15, 2025
fca5bbf
tests: Use OBJ_REPR_B compatible mpy file headers.
jepler Jul 15, 2025
e35ac67
tests/stress/fun_call_limit.py: Allow to run with OBJ_REPR_B.
jepler Jul 15, 2025
f658b0d
py/objint: Fix converting float to int with OBJ_REPR_B.
jepler Jul 15, 2025
e3ef682
github/workflows: Add 32-bit OBJ_REPR_B CI job.
jepler Jul 15, 2025
beb4c31
py/runtime: Support importing a method from an instance.
dpgeorge Sep 18, 2025
68ca22b
tests/ports/webassembly: Expand test for registerJsModule.
dpgeorge Sep 18, 2025
094000d
webassembly/objjsproxy: Fix logic that determines if asyncio is active.
dpgeorge Sep 28, 2025
a563592
webassembly/asyncio: Fix ThenableEvent to handle rejected thenables.
dpgeorge Sep 28, 2025
3dd8073
tools/mpremote: Workaround ESP DTR/RTS reset quirk at disconnect time.
projectgus Aug 28, 2025
a809132
py: Add MICROPY_USE_GCC_MUL_OVERFLOW_INTRINSIC.
jepler Jul 23, 2025
ea63e43
alif/machine_spi: Fix init() to only change requested settings.
kwagyeman Sep 29, 2025
39e4413
alif/boards/OPENMV_AE3: Fix switch name to match OpenMV RT1062 and N6.
kwagyeman Sep 29, 2025
58ff28b
stm32/rtc: Fix passing invalid argument to RTC callback.
yn386 Sep 22, 2025
64c7045
stm32/boards/OPENMV_N6: Define all OpenMV N6 pins.
kwagyeman Sep 25, 2025
ed46ff6
stm32/boards: Add PG13 AF7 (USART3_RTS) to N6 AF file.
iabdalkader Sep 27, 2025
6d65882
stm32/boards/OPENMV_N6: Define RTS pin for UART3.
iabdalkader Sep 27, 2025
7681c68
extmod/vfs_blockdev: Check return type is an integer.
dpgeorge Sep 16, 2025
4d905ef
tests/run-tests.py: Skip certain tests when using --via-mpy.
dpgeorge Sep 16, 2025
e031ead
unix/Makefile: Run all possible tests when using --via-mpy.
dpgeorge Sep 16, 2025
4c9ce82
tests: Remove .py.exp files that match with CPython 3.8.2 or newer.
dpgeorge Sep 16, 2025
da568a3
tests/stress: Improve qstr_limit test to run on minimal targets.
dpgeorge Sep 13, 2025
d37ce8c
tests/misc/sys_exc_info.py: Don't rely on slicing.
dpgeorge Sep 13, 2025
72be75f
tests/run-tests.py: Improve skip detection for tests using slice.
dpgeorge Sep 13, 2025
c176fe8
tests/run-tests.py: Skip more tests that need slice.
dpgeorge Sep 14, 2025
a3a2b9e
tests/extmod: Improve skip detection of extmod tests.
dpgeorge Sep 14, 2025
3de5a4c
tests/extmod/vfs_posix_paths.py: Use tuple instead of set.
dpgeorge Sep 14, 2025
381cd73
tests/micropython: Improve skipping of tests using micropython module.
dpgeorge Sep 14, 2025
dcbda76
py/modmath: Make MICROPY_PY_MATH_POW_FIX_NAN also fix pow(x, NaN) cases.
dpgeorge Oct 1, 2025
798173d
zephyr/mpconfigport: Enable MICROPY_PY_MATH_POW_FIX_NAN.
dpgeorge Oct 1, 2025
957e6b0
tools/ci.sh: Enable all possible tests on zephyr CI.
dpgeorge Sep 14, 2025
7373cbb
tests/import: Skip import tests where needed.
dpgeorge Sep 14, 2025
cd6d938
tests/extmod/asyncio_heaplock.py: Improve skip detection of test.
dpgeorge Sep 14, 2025
110bff9
tests/run-tests.py: Don't include cmdline,io tests for minimal targets.
dpgeorge Sep 15, 2025
1b9a9dd
tests/basics/subclass_native_init.py: Skip if __init__ not supported.
dpgeorge Sep 15, 2025
1a96f72
tests/run-tests.py: Update list of tests that use float.
dpgeorge Sep 15, 2025
9b5e20d
tests/stress/bytecode_limit.py: Tweak to run on minimal builds.
dpgeorge Sep 15, 2025
9a37e2f
tests/ports/unix: Improve skip detection for os.getenv and time module.
dpgeorge Sep 15, 2025
7db50cc
tests/basics: Skip exception_chain and self_type_check on unix minimal.
dpgeorge Oct 1, 2025
688016c
unix/variants/minimal: Enable C stack checking.
dpgeorge Sep 15, 2025
b2871e0
tools/ci.sh: Enable the full test suite for unix minimal variant.
dpgeorge Sep 15, 2025
7ef47ef
tests/serial_test.py: Add test for serial throughput.
dpgeorge Sep 25, 2024
3546f23
esp32/machine_i2c: Update to support both v1 and v2 of the IDF driver.
robert-hh Sep 3, 2025
7d50952
all: Use "static inline" consistently in function definitions.
jepler Sep 29, 2025
effb950
github/workflows: Use new ci.sh style for calling functions.
jepler Sep 28, 2025
75fb1ad
powerpc/mpconfigport: Remove definitions of _FMT macros.
dpgeorge Oct 2, 2025
bb205f0
qemu/mpconfigport: Remove definitions of _FMT macros.
dpgeorge Oct 2, 2025
ab00806
py/mpconfig: Introduce SIZE_FMT macro.
jepler Sep 30, 2025
c91e091
py/runtime: Fix printing of failed allocation amounts.
jepler Aug 15, 2025
c57aebf
py/scheduler: Allow selective handling in mp_handle_pending.
iabdalkader Sep 25, 2025
35d07df
stm32/usbd_hid_interface: Add runtime header.
iabdalkader Sep 25, 2025
2d14d4e
extmod/asyncio: Add IPv6 support to start_server().
pi-anl Jul 22, 2025
a79e1fd
zephyr/boards: Add PocketBeagle 2 rev A1 A53 support.
Ayush1325 Sep 19, 2025
fb2b638
docs: Label table columns as "CPython output" and "MicroPython output".
projectgus Sep 24, 2025
3ec8b9a
all: Replace legacy name with MicroPython and MPy as applicable.
projectgus Sep 24, 2025
099991f
py/misc: Use _Static_assert for MP_STATIC_ASSERT where possible.
jepler Sep 26, 2025
33cf1ab
py/misc: Don't warn about a GNU extension for static assert macro.
jepler Sep 28, 2025
d7cb54b
github/workflows: Switch to macos-26 for unix CI.
projectgus Sep 24, 2025
653f778
py/py.mk: Regenerate moduledefs.h if makemoduledefs.py changes.
jepler Sep 28, 2025
4128457
py/makemoduledefs.py: Avoid empty extensible module lists.
jepler Sep 26, 2025
d921dd6
py/objmodule: Avoid interning a string unnecessarily.
jepler Oct 2, 2025
b94162b
extmod/modwebsocket: Enable split frames and test them.
jepler Aug 4, 2025
8013ef4
extmod/modwebsocket: Save a few bytes of text by using bit checks.
jepler Oct 5, 2025
6729493
tests/extmod: Test websocket too-big packet transmission.
jepler Oct 5, 2025
8204f9e
unix/Makefile: Allow out-of-tree tests.
yf13 Jun 8, 2025
325ec7e
gitignore: Ignore files created by ci.sh zepyhr and esp8266.
jepler Sep 26, 2025
aacad2d
lib/tinyusb: Update to version 0.18.0.
pi-anl Sep 23, 2025
ac4649d
alif/tinyusb_port: Update dcd_init function to match TinyUSB v0.18.0.
dpgeorge Sep 29, 2025
01a11ea
webassembly/objjsproxy: Support arbitrary number of args with kwargs.
dpgeorge Oct 2, 2025
5552fbe
py/mpprint: Correctly format leading zeros with separators.
jepler Sep 17, 2025
4963ae7
tests/cpydiff: Document unsupported float format with grouping char.
jepler Sep 17, 2025
aad6ee3
esp32/machine_i2c: Use IDF function for calculating main timeout.
pi-anl Sep 15, 2024
fef414e
tools/metrics.py: Use all CPUs during comparison builds.
jepler Sep 3, 2025
77729fe
tools/ci.sh: Manipulate pipefail better.
jepler Sep 3, 2025
0224b99
tools/ci.sh: Add and use new ci_code_size_report function.
jepler Sep 3, 2025
449866c
tools/ci.sh: Exit with error if zcat fails during ci_esp8266_setup.
jepler Sep 3, 2025
2c34497
tools/metrics.py: When cleaning also clean mpy-cross.
jepler Sep 3, 2025
f982158
tools/ci.sh: Let code_size_build be customized via environment.
jepler Sep 3, 2025
7778e78
tools/metrics.py: Allow pre_cmd to set up environment.
jepler Sep 3, 2025
61988ee
tools/ci.sh: Return to old branch after code_size_build.
jepler Sep 3, 2025
13d4975
tools/ci.sh: Re-add IGNORE_ERRORS to ci_code_size_build.
jepler Sep 26, 2025
8995a29
tools/ci: Fix typo of pipefail.
projectgus Oct 8, 2025
f7b30aa
stm32/boards/OPENMV_N6: Switch to object REPR_C.
iabdalkader Oct 6, 2025
f498ebc
stm32/main: Remove unused include of stackctrl.h.
dpgeorge Sep 25, 2025
b68574e
zephyr/main: Replace mp_stack_set with mp_cstack_init_with_sp_here.
dpgeorge Sep 25, 2025
76efdfa
alif/main: Replace mp_stack_set with mp_cstack_init_with_top.
dpgeorge Sep 25, 2025
2399b4e
cc3200/mptask: Replace mp_stack_set_top with mp_cstack_init_with_top.
dpgeorge Sep 25, 2025
af22318
mimxrt/main: Replace mp_stack_set calls with mp_cstack_init_with_top.
dpgeorge Sep 25, 2025
8160743
nrf/main: Replace mp_stack_set calls with mp_cstack_init_with_top.
dpgeorge Sep 25, 2025
73d6a09
powerpc/main: Replace mp_stack calls wih mp_cstack_init_with_sp_here.
dpgeorge Sep 25, 2025
1737a69
esp8266/boards: Replace stackctrl.o with cstack.o in obj file list.
dpgeorge Sep 25, 2025
cbe137c
qemu/main: Replace mp_stack calls with mp_cstack_init_with_sp_here.
dpgeorge Sep 25, 2025
12220b8
renesas-ra/main: Replace mp_stack_set with mp_cstack_init_with_top.
dpgeorge Sep 25, 2025
639150e
samd/main: Replace mp_stack_set calls with mp_cstack_init_with_top.
dpgeorge Sep 25, 2025
6ab3c3c
mpy-cross/main: Replace mp_stack calls with mp_cstack_init_with_sp_here.
dpgeorge Sep 25, 2025
ddd6ca7
docs/develop/porting: Use mp_cstack_init_with_sp_here in docs.
dpgeorge Sep 25, 2025
01448d0
zephyr: Remove defaulting to newlib.
VynDragon Oct 4, 2025
c9a16e8
zephyr: Add boards files for rp2350's m33 on pico 2.
VynDragon Oct 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
15 changes: 15 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
# all: Prune trailing whitespace.
dda9b9c6da5d3c31fa8769e581a753e95a270803

# all: Remove the "STATIC" macro and just use "static" instead.
decf8e6a8bb940d5829ca3296790631fcece7b21

# renesas-ra: Fix spelling mistakes found by codespell.
b3f2f18f927fa2fad10daf63d8c391331f5edf58

# all: Update Python formatting to ruff-format.
bbd8760bd9a2302e5abee29db279102bb11d7732

# all: Fix various spelling mistakes found by codespell 2.2.6.
cf490a70917a1b2d38ba9b58e763e0837d0f7ca7

# all: Fix spelling mistakes based on codespell check.
b1229efbd1509654dec6053865ab828d769e29db

Expand Down
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@

# These are binary so should never be modified by git.
*.a binary
*.ico binary
*.png binary
*.jpg binary
*.dxf binary
*.mpy binary
*.der binary

# These should also not be modified by git.
tests/basics/string_cr_conversion.py -text
Expand Down
25 changes: 0 additions & 25 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

109 changes: 109 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
name: Bug report
description: Report a bug or unexpected behaviour
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
Please provide as much detail as you can, it really helps us find and fix bugs faster.

#### Not a bug report?

* If you have a question \"How Do I ...?\", please post it on [GitHub Discussions](https://github.com/orgs/micropython/discussions/) or [Discord](https://discord.gg/RB8HZSAExQ) instead of here.
* For missing or incorrect documentation, or feature requests, then please [choose a different issue type](https://github.com/micropython/micropython/issues/new/choose).

#### Existing issue?

* Please search for [existing issues](https://github.com/micropython/micropython/issues) matching this bug before reporting.
- type: input
id: port-board-hw
attributes:
label: Port, board and/or hardware
description: |
Which MicroPython port(s) and board(s) are you using?
placeholder: |
esp32 port, ESP32-Fantastic board.
validations:
required: true
- type: textarea
id: version
attributes:
label: MicroPython version
description: |
To find the version:

1. Open a serial REPL.
2. Type Ctrl-B to see the startup message.
3. Copy-paste that output here.

If the issue is about building MicroPython, please provide output of `git describe --dirty` and as much information as possible about the build environment.

If the version or configuration is modified from the official MicroPython releases or the master branch, please tell us the details of this as well.
placeholder: |
MicroPython v6.28.3 on 2029-01-23; PyBoard 9 with STM32F9
validations:
required: true
- type: textarea
id: steps-reproduce
attributes:
label: Reproduction
description: |
What steps will reproduce the problem? Please include all details that could be relevant about the environment, configuration, etc.

If there is Python code to reproduce this issue then please either:
a. Type it into a code block below ([code block guide](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks)), or
b. Post longer code to a [GitHub gist](https://gist.github.com/), or
c. Create a sample project on GitHub.

For build issues, please provide the exact build commands that you ran.
placeholder: |
1. Copy paste the code provided below into a new file
2. Use `mpremote run` to execute it on the board.
validations:
required: true
- type: textarea
id: expected
attributes:
label: Expected behaviour
description: |
What did you expect MicroPython to do? If comparing output with CPython or a different MicroPython port/version then please provide that output here.
placeholder: |
Expected to print "Hello World".

Here is the correct output, seen with previous MicroPython version v3.14.159:

> [...]
- type: textarea
id: what-happened
attributes:
label: Observed behaviour
description: |
What actually happened? Where possible please paste exact output, or the complete build log, etc. Very long output can be linked in a [GitHub gist](https://gist.github.com/).
placeholder: |
This unexpected exception appears:

> [...]
validations:
required: true
- type: textarea
id: additional
attributes:
label: Additional Information
description: |
Is there anything else that might help to resolve this issue?
value: No, I've provided everything above.
- type: dropdown
id: code-of-conduct
attributes:
label: Code of Conduct
description: |
Do you agree to follow the MicroPython [Code of Conduct](https://github.com/micropython/micropython/blob/master/CODEOFCONDUCT.md) to ensure a safe and respectful space for everyone?
options:
- "Yes, I agree"
multiple: true
validations:
required: true
- type: markdown
attributes:
value: |
Thanks for taking the time to help improve MicroPython.
16 changes: 0 additions & 16 deletions .github/ISSUE_TEMPLATE/documentation.md

This file was deleted.

46 changes: 46 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Documentation issue
description: Report areas of the documentation or examples that need improvement
title: "docs: "
labels: ["documentation"]
body:
- type: markdown
attributes:
value: |
This form is for reporting issues with the documentation or examples provided with MicroPython.
If you have a general question \"How Do I ...?\", please post it on [GitHub Discussions](https://github.com/orgs/micropython/discussions/) or [Discord](https://discord.gg/RB8HZSAExQ) instead of here.
#### Existing issue?
* Please search for [existing issues](https://github.com/micropython/micropython/issues) before reporting a new one.
- type: input
id: page
attributes:
label: Documentation URL
description: |
Does this issue relate to a particular page in the [online documentation](https://docs.micropython.org/en/latest/)? If yes, please paste the URL of the page:
placeholder: |
https://docs.micropython.org/en/latest/
- type: textarea
id: version
attributes:
label: Description
description: |
Please describe what was missing from the documentation and/or what was incorrect/incomplete.
validations:
required: true
- type: dropdown
id: code-of-conduct
attributes:
label: Code of Conduct
description: |
Do you agree to follow the MicroPython [Code of Conduct](https://github.com/micropython/micropython/blob/master/CODEOFCONDUCT.md) to ensure a safe and respectful space for everyone?
options:
- "Yes, I agree"
multiple: true
validations:
required: true
- type: markdown
attributes:
value: |
Thanks for taking the time to help improve MicroPython.
24 changes: 0 additions & 24 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

74 changes: 74 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
name: Feature request
description: Request a feature or improvement
labels: ['enhancement']
body:
- type: markdown
attributes:
value: |
This form is for requesting features or improvements in MicroPython.

#### Get feedback first

Before submitting a new feature idea here, suggest starting a discussion on [Discord](https://discord.gg/RB8HZSAExQ) or [GitHub Discussions](https://github.com/orgs/micropython/discussions/) to get early feedback from the community and maintainers.

#### Not a MicroPython core feature?

* If you have a question \"How Do I ...?\", please post it on GitHub Discussions or Discord instead of here.
* Could this feature be implemented as a pure Python library? If so, please open the request on the [micropython-lib repository](https://github.com/micropython/micropython-lib/issues) instead.

#### Existing issue?

* Please search for [existing issues](https://github.com/micropython/micropython/issues) before opening a new one.
- type: textarea
id: feature
attributes:
label: Description
description: |
Describe the feature you'd like to see added to MicroPython. What does this feature enable and why is it useful?

* For core Python features, where possible please include a link to the relevant PEP or CPython documentation.
* For new architectures / ports / boards, please provide links to relevant documentation, specifications, and toolchains. Any information about the popularity and unique features about this hardware would also be useful.
* For features for existing ports (e.g. new peripherals or microcontroller features), please describe which port(s) it applies to, and whether this is could be an extension to the machine API or a port-specific module?
* For drivers (e.g. for external hardware), please link to datasheets and/or existing drivers from other sources.

If there is an existing discussion somewhere about this feature, please add a link to it as well.
validations:
required: true
- type: textarea
id: size
attributes:
label: Code Size
description: |
MicroPython aims to strike a balance between functionality and code size. Can this feature be optionally enabled?

If you believe the usefulness of this feature would outweigh the additional code size, please explain. (It's OK to say you're unsure here, we're happy to discuss this with you.)
- type: dropdown
id: implementation
attributes:
label: Implementation
description: |
What is your suggestion for implementing this feature?

(See also: [How to sponsor](https://github.com/sponsors/micropython#sponsors), [How to submit a Pull Request](https://github.com/micropython/micropython/wiki/ContributorGuidelines).)
options:
- I hope the MicroPython maintainers or community will implement this feature
- I intend to implement this feature and would submit a Pull Request if desirable
- I would like to sponsor development of this feature
multiple: true
validations:
required: true
- type: dropdown
id: code-of-conduct
attributes:
label: Code of Conduct
description: |
Do you agree to follow the MicroPython [Code of Conduct](https://github.com/micropython/micropython/blob/master/CODEOFCONDUCT.md) to ensure a safe and respectful space for everyone?
options:
- "Yes, I agree"
multiple: true
validations:
required: true
- type: markdown
attributes:
value: |
Thanks for taking the time to suggest improvements for MicroPython.
16 changes: 0 additions & 16 deletions .github/ISSUE_TEMPLATE/security.md

This file was deleted.

Loading