Skip to content

Test Update #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5,022 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
5022 commits
Select commit Hold shift + click to select a range
f48b981
esp32: Update to use ESP-IDF v5.4.1.
IhorNehrutsa Feb 16, 2025
10f6c06
esp32/network_lan: Add support for LAN8670 PHY.
projectgus Feb 4, 2025
06d8c08
esp32/modesp32: Implement esp32.idf_task_info().
DvdGiessen Mar 1, 2022
90aeac8
esp32/machine_i2c: Fix default I2C pins for C3, S3.
ricksorensen Apr 16, 2025
ecbbc51
esp32/network_lan: Add PHY_GENERIC device type.
elvis-epx May 1, 2025
1dfb509
tools/mpremote: Add new 'fs tree' command.
Josverl Apr 26, 2025
d945316
tools/mpremote/tests: Add tests for 'fs tree' command.
Josverl Apr 26, 2025
e39243c
docs/reference/mpremote: Document the 'fs tree' command.
Josverl May 9, 2025
7a55cb6
tests/run-tests.py: Add list of passed/skipped tests to _result.json.
dpgeorge May 13, 2025
9ef16b4
extmod/modjson: Detect unterminated composite entities.
agatti Apr 17, 2025
186caf9
extmod/network_cyw43: Disconnect STA if making inactive.
projectgus May 15, 2025
1d37caa
py/emitnative: Improve Viper register-indexed code for Arm.
agatti Apr 16, 2025
04c6b99
py/emitnative: Improve Viper register-indexed code for Thumb.
agatti May 7, 2025
b6d269e
py/emitnative: Refactor Viper register-indexed load/stores.
agatti May 7, 2025
e66a602
py/asm: Remove unused generic ASM API opcode definitions.
agatti May 7, 2025
2260fe0
tests/micropython/viper_ptr: Add tests for arch edge cases.
agatti May 7, 2025
6b2792a
py/asmthumb: Generate proper sequences for large register offsets.
agatti Apr 19, 2025
3d19a8b
py/emitnative: Clean up int-indexed Viper load/store code.
agatti May 7, 2025
3d7edbd
py/persistentcode: Allow a port a custom commit function and track data.
dpgeorge Apr 22, 2025
d5db8f0
nrf: Use correct IRAM address for native code execution on nRF52.
dpgeorge Apr 22, 2025
32c65ad
nrf: Only process interrupt chars on UARTs used for REPL.
dpgeorge Apr 22, 2025
e676b58
nrf: Fix UART write on parts that can't write more than 255 bytes.
dpgeorge Apr 22, 2025
cc7eb1a
nrf/boards: Use 64 byte raw-paste buffer on PCA10028 and PCA10040.
dpgeorge Apr 22, 2025
a1ee42c
nrf: Use common implementation of machine disable/enable IRQ.
dpgeorge Apr 22, 2025
4545eb8
rp2: Disable the LWIP tick timer when not needed.
projectgus Mar 26, 2025
28c8fff
rp2/machine_pin: Replace macros with Pico SDK functions.
Gadgetoid May 12, 2025
45cb9b4
rp2/machine_pin: Fix simulated open drain with more than 32 GPIOs.
Gadgetoid May 12, 2025
7f6fede
rp2/boards/SPARKFUN_XRP_CONTROLLER_BETA: Fix default I2C to use I2C1.
malcolm-sparkfun May 20, 2025
dc1af38
esp32/boards/SPARKFUN_IOT_REDBOARD_ESP32: Add SparkFun board.
malcolm-sparkfun Mar 17, 2025
49f81d5
tests/float/math_constants.py: Test actual e and pi constant values.
dpgeorge May 20, 2025
22f1d76
shared/tinyusb: Use device event hook to schedule USB task.
projectgus May 22, 2025
b36111b
nrf: Revert "nrf/Makefile: Enable LTO by default only on newer gcc.".
projectgus May 22, 2025
670b7c9
zephyr/boards: Add support for BeaglePlay CC1352p7.
Ayush1325 Oct 24, 2024
9dbae39
lib/littlefs: Update LittleFS to v2.11.
DvdGiessen May 13, 2025
2dada06
stm32: Allow QSPI to work on STM32G4.
H-Grobben May 22, 2025
6bfb83e
rp2: Make FLASH LENGTH match PICO_FLASH_SIZE_BYTES in .ld files.
sfe-SparkFro May 22, 2025
bbdc832
samd/boards: Add two SparkFun SAMD21 boards.
robert-hh Mar 26, 2025
2f86441
docs/library/time: Amend the documentation of time.mktime().
robert-hh Dec 29, 2024
92c219a
docs/esp32/quickref: Mention the different timer counts.
robert-hh Jan 12, 2025
5cfafb7
docs/esp32: Mention the use of Timer(0) by UART.IRQ_RXIDLE.
robert-hh Mar 31, 2025
eccd23f
py/asmxtensa: Replace printf messages with exceptions.
agatti Jan 25, 2025
555f1cf
py/asmxtensa: Make the generated code dumper work on mpy-cross.
agatti Jan 29, 2025
1006ed6
py/emitinlinextensa: Add the rest of LX3 opcodes to the assembler.
agatti Jan 25, 2025
f5d10c3
py/asmxtensa: Emit prologue jump only when constants table is in use.
agatti Mar 3, 2025
aaedd59
tools/pyboard.py: Avoid initial blocking read in read_until().
dpgeorge May 20, 2025
b1c947a
tools/pyboard.py: Introduce timeout_overall for read_until().
dpgeorge May 20, 2025
dea3035
tools/pyboard.py: Add write_timeout and catch errors in enter_raw_repl.
dpgeorge May 30, 2025
c0111e6
lib/libhydrogen: Update to latest release.
pi-anl May 14, 2025
4dff9cb
tests/run-tests.py: Change _results.json to have a combined result list.
dpgeorge May 28, 2025
e844776
extmod/modlwip: Add optional flags argument for recv and recvfrom.
projectgus May 16, 2025
4781cde
esp32/modsocket: Add optional flags argument for recv and recvfrom.
projectgus May 16, 2025
0b22404
unix/modsocket: Expose MSG_PEEK flag for recv & recvfrom.
projectgus May 16, 2025
73d4ddc
tests/multi_net: Add test coverage for socket recv flag MSG_PEEK.
projectgus May 16, 2025
d23fb86
tests/multi_net: Add test coverage for socket recv flag MSG_DONTWAIT.
projectgus May 16, 2025
ba92063
docs: Add a description of recv/recvfrom flags argument.
projectgus May 16, 2025
3e33d05
ports: Update board.json files for vendor/product consistency.
mattytrentini Oct 17, 2024
17898f8
stm32/machine_adc: Enable ADC re-read errata handling for STM32WB55.
pi-anl Apr 16, 2025
d5f2fc2
extmod/modbluetooth: Add timeout to deinit.
pi-anl May 6, 2025
b153484
extmod/modframebuf: Add support for blit'ing read-only data.
dpgeorge May 25, 2025
7f274c7
py/scheduler: Only run scheduler callbacks queued before run started.
projectgus May 23, 2025
8204853
unix/coverage: Add coverage test for mp_sched_schedule_node.
pi-anl May 5, 2025
e869dae
mpy-cross/main: Exit with error if arch not specified with emit=native.
dpgeorge May 23, 2025
9174cff
mpy-cross/main: Document emit=host option in help.
dpgeorge May 23, 2025
bf2005d
tools/mpy_ld.py: Resolve fixed-address symbols if requested.
agatti Apr 7, 2025
9ef7322
tests/run-natmodtests.py: Allow injected code customisation.
agatti Apr 9, 2025
0bf2fd7
examples/natmod/random: Fix build for Xtensa.
agatti Apr 7, 2025
462ee12
examples/natmod/framebuf: Fix build for Xtensa.
agatti Apr 7, 2025
887125f
examples/natmod/deflate: Fix build for Xtensa.
agatti Jun 1, 2025
4227654
examples/natmod/btree: Fix build for Xtensa.
agatti Jun 1, 2025
e4c0e2b
esp8266/main: Print error information on crash-induced reboots.
agatti Jun 1, 2025
e8c9224
tools/ci.sh: Remove natmod build restrictions for Xtensa.
agatti Jun 1, 2025
193603d
tools/ci.sh: Clean the correct MPY files when batch compiling.
agatti Jun 4, 2025
4c55b08
tools/ci.sh: Allow errors in code-size build to fail the CI.
dpgeorge May 31, 2025
2291045
tests/run-tests.py: Automatically skip tests that are too large.
dpgeorge Apr 28, 2025
5b340b1
tests/run-tests.py: Remove filename arg from prepare_script_for_target.
dpgeorge May 26, 2025
bf90930
esp32/machine_timer: Do not free interrupt from ISR.
DvdGiessen Apr 22, 2025
2c2f0b2
esp32: Re-use allocated timer interrupts and simplify UART timer code.
DvdGiessen Apr 22, 2025
5f058e9
esp32: Update ADC driver update to the new esp_adc API.
purewack Jan 2, 2025
b8e56a1
github/workflows: Split QEMU/Arm builds into separate entries.
agatti Jun 3, 2025
95203ab
tools/boardgen.py: Ensure board pin locals_dict has consistent order.
pi-anl Jun 5, 2025
fffaf8a
extmod/modnetwork: Consolidate definition of common drivers.
pi-anl Jun 4, 2025
e43a384
lib/berkeley-db-1.xx: Update submodule to latest.
jepler Jun 6, 2025
78ee1ba
py/emitnative: Let Viper int-indexed code use appropriate operands.
agatti May 22, 2025
1f5ba69
py/asmthumb: Extend load/store generators with ARMv7-M opcodes.
agatti May 22, 2025
84ad2c6
py/asmxtensa: Extend existing specialised load/store operations range.
agatti May 22, 2025
901c96d
py/emitnative: Remove redundant RV32 Viper int-indexed code.
agatti May 22, 2025
bbab2e9
py/asmarm: Extend int-indexed 32-bit load/store offset ranges.
agatti May 22, 2025
5b90d6d
py/asmarm: Give a proper name to the temporary register.
agatti Jun 8, 2025
c1c73d9
tests/run-tests.py: Unconditionally enable native tests if asked.
agatti Jun 4, 2025
0da22b2
tools/ci.sh: Fix nanbox CI test runs.
agatti Jun 4, 2025
80b823b
py/asmxtensa: Extend BCCZ range to 18 bits.
agatti Jun 8, 2025
43f6013
py/asmxtensa: Extend BCC range to 18 bits.
agatti Jun 8, 2025
5f4abeb
py/asmthumb: Implement long jumps on Thumb/armv6m architecture.
dpgeorge May 13, 2025
718ff4f
tools/mpy_ld.py: Support R_ARM_ABS32 relocation in text.
dpgeorge May 28, 2025
17951ce
py/dynruntime.mk: Enable single-precision float by default on armv6/7m.
dpgeorge May 28, 2025
745bec9
extmod/modre: Use specific error message if regex is too complex.
jepler Jun 1, 2025
5eb9755
py/parsenum: Reduce code size in check for inf/nan.
jepler May 30, 2025
c1629dc
py/parsenum: Further reduce code size in check for inf/nan.
jepler May 30, 2025
0a98f3a
py/objarray: Allow extending array with any iterable.
jepler Jun 1, 2025
2ce63b1
py/parsenum: Fix parsing complex literals with negative real part.
jepler May 28, 2025
ca80aab
py/objfloat: Change MSVC workaround for NAN being a constant.
dpgeorge Jun 10, 2025
9bde125
github/workflows: Use windows-latest runner for all Windows CI jobs.
dpgeorge Jun 10, 2025
e4d556b
tests/extmod/random_extra_float.py: Skip when funcs not available.
dpgeorge May 28, 2025
2bc5af6
tests/run-tests.py: Factor out helper function to create test report.
dpgeorge Jun 10, 2025
6db9c80
tests/run-multitests.py: Create a _result.json at end of run.
dpgeorge Jun 10, 2025
09b0585
tests/run-natmodtests.py: Create a _result.json at end of run.
dpgeorge Jun 10, 2025
63701c2
tests/run-perfbench.py: Create a _result.json at end of run.
dpgeorge Jun 10, 2025
5676b45
tests/run-natmodtests.py: Consider a test skipped if mpy doesn't exist.
dpgeorge Jun 11, 2025
ef21ade
extmod/machine_pulse: Optimise time_pulse_us for code size.
dpgeorge May 23, 2025
398da22
esp8266/modmachine: Use common machine_time_pulse_us implementation.
dpgeorge May 23, 2025
2a0e2b5
esp32/main: Auto detect the size of flash and auto create vfs partition.
dpgeorge May 20, 2025
6201e77
esp32/boards: Convert all boards to auto detect flash size.
dpgeorge May 20, 2025
fa393fe
esp32/README: Update README to describe auto filesystem sizing.
dpgeorge Jun 12, 2025
42404b5
esp32/modesp32: Make wake_on_ulp available only on SoCs that support it.
meirarmon May 29, 2025
0ef5ede
py/mpz: Avoid undefined behavior decrementing NULL.
jepler Jun 11, 2025
73b1cbc
py/objlist: Reduce code size in slice operations.
jepler Jun 12, 2025
1a8f4b2
py/mpprint: Remove unused "PF_FLAG_NO_TRAILZ" flag.
jepler Jun 13, 2025
fc6205c
unix/coverage: Add coverage test for left adjusted print.
jepler Jun 13, 2025
5ff2ae5
py/asmbase: Fix assertion error with viper code.
jepler Jun 15, 2025
cb315bb
esp32/modesp32: Make wake_on_touch available only on SoCs supporting it.
meirarmon May 29, 2025
4697a06
esp32/modesp32: Make wake_on_ext0 available only on SoCs supporting it.
meirarmon May 30, 2025
171d751
esp32/modesp32: Make wake_on_ext1 available only on SoCs supporting it.
meirarmon May 30, 2025
d9467b0
tools/mpremote: Improve df command to use new no-arg vfs.mount() query.
dpgeorge Apr 24, 2025
573180f
renesas-ra: Replace MICROPY_EVENT_POLL_HOOK with mp_event_wait.
pi-anl Sep 29, 2024
cfcc53d
drivers/esp-hosted: Replace EVENT_POLL_HOOK with mp_event_wait_ms.
pi-anl Oct 1, 2024
7816b1f
rp2/machine_timer: Support hard IRQ timer callbacks.
arachsys Jun 16, 2025
8f85eda
tests/ports/rp2: Add tests for rp2-specific timer options.
arachsys Jun 16, 2025
8162468
docs/rp2: Document the new rp2 Timer hard= option.
arachsys Jun 16, 2025
2c8ccd3
py: Fix undefined left shift operations.
jepler Jun 1, 2025
268264f
tools/ci.sh: Add functions for sanitizer builds.
jepler Jun 15, 2025
841acb9
github/workflows: Add sanitize_undefined workflow to unix port CI.
jepler Jun 15, 2025
5901b8d
tests/cpydiff: Document complex() parsing difference.
jepler Jun 10, 2025
5ade8b7
tests/extmod: Add platform_basic.py for basic coverage test of platform.
jepler Jun 16, 2025
b6b7d64
py/modio: Fix the case where write fails in BufferedWriter.flush.
jepler Jun 13, 2025
c1196ca
esp32/modesp32: Fix access to ext0_pin only if defined.
meirarmon Jun 16, 2025
b725c26
rp2/rp2_flash: Add MICROPY_HW_FLASH_MAX_FREQ to replace fixed max freq.
Gadgetoid May 29, 2025
dc8daad
rp2/rp2_flash: Add default MICROPY_HW_FLASH_MAX_FREQ.
Gadgetoid Jun 17, 2025
1a060e8
rp2/CMakeLists.txt: Make board's pins.csv configurable.
Gadgetoid Mar 28, 2025
c16a4db
rp2/CMakeLists.txt: Make linker script configurable.
Gadgetoid Mar 28, 2025
5e96561
tests/run-tests.py: Add support for ctrl keys in REPL tests.
pi-anl Jun 17, 2025
8eb5636
tests/cmdline: Add a test for REPL paste mode.
pi-anl Jun 19, 2025
09541b7
py/repl: Skip private variables when printing tab completion options.
pi-anl Mar 26, 2025
32e69f7
samd/boards: Change the SparkFun vendor name to SparkFun.
robert-hh Jun 19, 2025
41fc3e1
zephyr/boards/beagleconnect_freedom: Enable networking.
Ayush1325 Jun 16, 2025
35f15cf
zephyr/boards/beagleconnect_freedom: Remove board overlay.
Ayush1325 Jun 16, 2025
66c0148
py/runtime: Add support for using __all__ in star import.
yoctopuce May 20, 2025
e57aa7e
py/obj: Fix nan handling in object REPR_C and REPR_D.
yoctopuce Jun 19, 2025
6fee099
py/misc: Fix fallback implementation of mp_popcount.
dpgeorge Jun 14, 2025
b4b7c0a
esp32/boards/GARATRONIC_PYBSTICK26_ESP32C3: Add pybstick26-esp32c3 defn.
garatronic May 29, 2025
0815b45
stm32/boards/ARDUINO_PORTENTA_H7: Free reserved timer.
iabdalkader Jun 23, 2025
cbe5063
stm32/main: Add support for additional GC blocks.
iabdalkader Mar 27, 2025
5c6da11
stm32/boards/ARDUINO_GIGA: Define additional GC blocks in SDRAM.
iabdalkader Mar 27, 2025
2a46759
stm32/uart: Enable UART FIFO for H7 MCUs.
Dec 4, 2024
2f04381
extmod/modlwip: Fix crash when calling recv on listening socket.
pi-anl May 21, 2025
74a4cce
alif/Makefile: Create firmware.zip with files needed for deploying.
dpgeorge Jun 13, 2025
77c4548
tools/autobuild: Build alif boards as part of auto-build.
dpgeorge Jun 13, 2025
8cd8e14
alif/boards/ALIF_ENSEMBLE: Add board.json and deploy instructions.
iabdalkader Jun 5, 2025
9b38cf9
alif/README: Update README with build instructions.
iabdalkader Jun 10, 2025
4bd9926
alif/Makefile: Allow specifying a custom build directory.
dpgeorge Jun 26, 2025
9a5cf0e
github/workflows: Run the address sanitizer (ASan) build during CI.
jepler Jun 16, 2025
07c3bf2
tools/ci.sh: Disable "stack use after return" in ASan build.
jepler Jun 16, 2025
1eb27e1
unix/README: Add some small documentation about sanitizers.
jepler Jun 16, 2025
703d5ac
py/misc: Introduce macros to check values' bits size.
agatti Jun 10, 2025
a8e0369
py/asmrv32: Implement the full set of Viper load/store operations.
agatti Jun 10, 2025
cd1b921
py/asmarm: Implement the full set of Viper load/store operations.
agatti Jun 10, 2025
12f36cc
py/asmxtensa: Implement the full set of Viper load/store operations.
agatti Jun 10, 2025
7bb5f2d
py/asmthumb: Remove redundant load/store opcode implementations.
agatti Jun 10, 2025
a8dd393
py/asmx86: Implement the full set of Viper load/store operations.
agatti Jun 10, 2025
c8c8b04
py/asmx64: Implement the full set of Viper load/store operations.
agatti Jun 11, 2025
0d43595
tests/micropython: Improve viper ptr boundary tests.
agatti Jun 11, 2025
6fd7422
tests/run-tests.py: Allow injected code customisation.
agatti Jun 10, 2025
1b0cdc0
py/asmthumb: Clean up integer-indexed load/store emitters.
agatti Jun 26, 2025
4a1edc4
alif/machine_pin: Add support for machine.Pin IRQ.
iabdalkader Jun 17, 2025
16f9d7f
alif/machine_spi: Improve transfer function to poll events.
iabdalkader Jun 17, 2025
e33a0f4
webassembly/objpyproxy: Avoid throwing on symbol or iterator has-check.
WebReflection Jul 2, 2025
3a97175
tools/mpremote: Fix disconnect handling on Windows and Linux.
pi-anl Sep 27, 2021
2ab06b6
py/emitnative: Let emitters know the compiled entity's name.
agatti Jun 26, 2025
fcfed6a
unix/variants/coverage: Enable sys.settrace.
jepler Jun 20, 2025
ff8c4e5
tests/misc: Improve test coverage of py/profile.c.
jepler Jun 20, 2025
f04475a
py/runtime: Initialize profile fields in mp_thread_init_state.
jepler Jun 21, 2025
f33f1aa
unix/coverage: Initialize more code_state fields.
jepler Jun 21, 2025
db0a836
py/profile: Fix printing lineno in frame objects.
jepler Jun 21, 2025
e415d03
github/workflows: Remove the unix "settrace" CI job.
jepler Jul 2, 2025
a8c2b91
tools/ci.sh: Increase test timeout to 60s in coverage jobs.
jepler Jul 3, 2025
a9801f9
github/workflows: Use Python 3.11 for unix coverage testing.
jepler Jul 4, 2025
431b791
esp32/panichandler: Support building against IDFv5.4.2.
DvdGiessen Jun 30, 2025
abcf023
zephyr/machine_uart: Complete UART driver and make it interrupt driven.
danicampora May 28, 2025
49dbe1e
zephyr/machine_pin: Configure OUT pin also as input so it's readable.
dpgeorge Jul 2, 2025
9171865
zephyr/boards: Disable WDT on qemu boards and networking for cortex_m3.
dpgeorge Jul 3, 2025
5321b66
zephyr/README: Update URL describing QEMU network settings.
dpgeorge Jul 3, 2025
5eb94df
zephyr/prj.conf: Use UART for console as default, not CONSOLE_SUBSYS.
dpgeorge Jul 3, 2025
16d9e70
zephyr: Update generated header path.
dsch Jun 23, 2025
d9b4327
zephyr/main: Execute boot.py and main.py like other ports.
dpgeorge Jun 23, 2025
6b82eb7
zephyr/main: Add /flash/lib or /sd/lib to sys.path on start up.
dpgeorge Jun 23, 2025
4951a06
zephyr: Enable sys.stdin/out/err.
dpgeorge Jun 23, 2025
6a53319
zephyr/src: Increase UART input buffer to 512 bytes and reduce latency.
dpgeorge Jun 23, 2025
6fd069e
zephyr/src: Fix USB device_next driver to work with zephyr 4.0.0.
dpgeorge Jun 23, 2025
9b97a30
zephyr/machine_pin: Add Pin.OPEN_DRAIN constant.
dpgeorge Jun 23, 2025
3598879
zephyr/machine_pin: Allow constructing a Pin with an existing Pin.
dpgeorge Jun 23, 2025
19814bf
zephyr/mphalport: Implement C-level pin HAL.
dpgeorge Jun 23, 2025
16b00cd
zephyr/mpconfigport: Enable machine.SoftI2C and machine.SoftSPI.
dpgeorge Jun 23, 2025
0728532
zephyr/mpconfigport: Enable import of mpy and a few related features.
dpgeorge Jun 23, 2025
d0ccaff
zephyr/mpconfigport: Enable MICROPY_NLR_THUMB_USE_LONG_JUMP.
dpgeorge Jun 23, 2025
35880d4
zephyr/boards/frdm_k64f: Improve board configuration.
dpgeorge Jun 23, 2025
0faddb3
zephyr/boards/nucleo_wb55rg: Enable BLE, I2C, SPI and add filesystem.
dpgeorge Jun 23, 2025
ec65cac
zephyr/boards/rpi_pico: Add board configuration for rpi_pico.
dpgeorge Jun 23, 2025
6881618
zephyr/mpconfigport: Enable sys.maxsize.
dpgeorge Jul 6, 2025
0fd65c4
zephyr/mpconfigport: Enable emergency exception buffer.
dpgeorge Jul 6, 2025
bf432a3
zephyr/machine_timer: Make machine.Timer id argument optional.
dpgeorge Jul 6, 2025
9a9e552
zephyr/machine_pin: Retry configuring gpio with just GPIO_OUTPUT.
dpgeorge Jul 8, 2025
ea2000b
stm32/adc: Apply re-read errata for WB55.
dpgeorge Jun 25, 2025
841439d
stm32/adc: Simplify ADC calibration settings.
dpgeorge Jun 25, 2025
c9adabc
stm32/adc: Fix core temperature reading on WB55.
dpgeorge Jun 25, 2025
d5246ce
stm32/machine_adc: Fix internal ADC channel reading on WB MCUs.
dpgeorge Jun 25, 2025
0975255
stm32/uart: Suppress additional RX idle IRQs on F4/L1.
dpgeorge Jun 29, 2025
bb484b6
tests/extmod/machine_uart_tx.py: Support STM32WB boards.
dpgeorge Jun 25, 2025
a2e3055
tests/extmod_hardware: Add UART config for STM32WB boards.
dpgeorge Jun 25, 2025
a4a098f
tests/extmod_hardware/machine_uart_irq_rxidle.py: Ignore inital IRQ.
dpgeorge Jun 25, 2025
29b5c22
tests/extmod_hardware/machine_uart_irq_rxidle.py: Test multiple writes.
dpgeorge Jun 30, 2025
b680011
tests/ports/stm32: Tweak tests to run on a wider set of boards.
dpgeorge Jun 25, 2025
168e2c8
tests/extmod/select_poll_eintr.py: Skip test if target can't bind.
dpgeorge Jun 30, 2025
f3c56c8
stm32/irq: Change SPI IRQ priority to be higher than DMA IRQ.
yn386 Jun 29, 2025
42cfa7c
stm32/dma: Extend STM32H5 DMA use to SPI3 and SPI4.
mattytrentini Jun 30, 2025
eaffbac
stm32/machine_adc: Add machine.ADC implementation for STM32L1.
yn386 Jul 3, 2025
62a674c
drivers: Support special QSPI direct-read protocol.
dpgeorge Apr 30, 2025
d8f004b
lib/libm_dbl: Support FLT_EVAL_METHOD == 16.
dpgeorge May 28, 2025
228abf8
lib/stm32lib: Update library for N6 v1.1.0.
dpgeorge May 16, 2025
24fd5f7
stm32/boards/make-pins.py: Support up to GPIO-O.
dpgeorge Jun 21, 2024
eb3ea9e
stm32: Add support for STM32N6xx MCUs.
dpgeorge Jun 18, 2024
eaed251
stm32/main: Disable D-cache when debugging N6.
iabdalkader Sep 12, 2024
959e910
stm32/lwip_inc: Increase lwIP memory on N6.
dpgeorge Jun 11, 2025
96b8f3a
stm32/boards: Add board support files for N6.
dpgeorge Jun 18, 2024
acb294f
stm32/mboot: Add support for STM32N6xx MCUs.
dpgeorge Sep 9, 2024
7016900
stm32/spi: Fail spi_init if pins can't be configured.
dpgeorge Jul 1, 2025
3189e49
stm32/boards/OPENMV_N6: Add new board definition files.
dpgeorge Sep 9, 2024
50ea398
stm32/boards/NUCLEO_N657X0: Add new board definition files.
dpgeorge Jun 18, 2024
99740db
stm32/stm32.mk: Error out if compiling for cortex-m55 on old gcc.
dpgeorge Jul 8, 2025
da3709a
unix/coverage: Add missing MP_OBJ_FROM_PTR casts.
jepler Jul 5, 2025
05342b0
tools/mpremote: Support OSError's on targets without errno.
dpgeorge Jun 23, 2025
00fe312
py/bc: Factor out helper for line-number decoding.
AJMansfield Jun 26, 2025
0732c45
py/showbc: Use line-number decoding helper.
AJMansfield Jun 26, 2025
d6b62a2
tests/basics/fun_code_full: Test code objects with full feature set.
AJMansfield Mar 21, 2025
4b6d108
tests/basics/fun_code_colines: Test decoded co_lines values.
AJMansfield Jul 1, 2025
49159ef
py/objcode: Implement co_lines method.
AJMansfield Mar 21, 2025
c4a88f2
py/obj: Add functions to retrieve large integers from mp_obj_t.
yoctopuce Jun 30, 2025
df05cae
shared/timeutils: Standardize supported date range on all platforms.
yoctopuce Jul 1, 2025
499bedf
tools/ci.sh: Always call `apt-get update` before `apt-get install`.
jepler Jul 10, 2025
908f938
tests/extmod/asyncio_iterator_event.py: Use format instead of f-string.
dpgeorge Jun 23, 2025
125d19c
tests/micropython: Add missing SystemExit after printing SKIP.
dpgeorge Jun 26, 2025
8f8f853
tests/run-tests.py: Consider tests ending in _async.py as async tests.
dpgeorge Jul 7, 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.
33 changes: 33 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -1,3 +1,36 @@
# 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

# top: Update Python formatting to black "2023 stable style".
8b2748269244304854b3462cb8902952b4dcb892

# all: Reformat remaining C code that doesn't have a space after a comma.
5b700b0af90591d6b1a2c087bb8de6b7f1bfdd2d

# ports: Reformat more C and Python source code.
5c32111fa0e31e451b0f1666bdf926be2fdfd82c

# all: Update Python formatting to latest Black version 22.1.0.
ab2923dfa1174dc177f0a90cb00a7e4ff87958d2

# all: Update Python formatting to latest Black version 21.12b0.
3770fab33449a5dadf8eb06edfae0767e75320a6

# tools/gen-cpydiff.py: Fix formatting of doc strings for new Black.
0f78c36c5aa458a954eed39a46942209107a553e

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
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.
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
blank_issues_enabled: false
contact_links:
- name: MicroPython GitHub Discussions
url: https://github.com/orgs/micropython/discussions
about: Community discussion about all things MicroPython. This is the best place to start if you have questions about using MicroPython or getting started with MicroPython development.
- name: MicroPython Documentation
url: https://docs.micropython.org/
about: Documentation for using and working with MicroPython and libraries.
- name: MicroPython Downloads
url: https://micropython.org/download/
about: Pre-built firmware and information for most supported boards.
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.
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.
60 changes: 60 additions & 0 deletions .github/ISSUE_TEMPLATE/security.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: Security report
description: Report a security issue or vulnerability in MicroPython
labels: ["security"]
body:
- type: markdown
attributes:
value: |
This form is for reporting security issues in MicroPython that are not readily exploitable.

1. For issues that are readily exploitable or have high impact, please email [email protected] instead.
1. If this is a question about security, please ask it in [Discussions](https://github.com/orgs/micropython/discussions/) or [Discord](https://discord.gg/RB8HZSAExQ) instead.

#### Existing issue?

* Please search for [existing issues](https://github.com/micropython/micropython/issues) before reporting a new one.

- 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-Duper board.
- 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 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
- type: textarea
id: report
attributes:
label: Issue Report
description: |
Please provide a clear and concise description of the security issue.

* What does this issue allow an attacker to do?
* How does the attacker exploit this issue?
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
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
33 changes: 33 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<!-- Thanks for submitting a Pull Request! We appreciate you spending the
time to improve MicroPython. Please provide enough information so that
others can review your Pull Request.

Before submitting, please read:
https://github.com/micropython/micropython/blob/master/CODEOFCONDUCT.md
https://github.com/micropython/micropython/wiki/ContributorGuidelines

Please check any CI failures that appear after your Pull Request is opened.
-->

### Summary

<!-- Explain the reason for making this change. What problem does the pull request
solve, or what improvement does it add? Add links if relevant. -->


### Testing

<!-- Explain what testing you did, and on which boards/ports. If there are
boards or ports that you couldn't test, please mention this here as well.

If you leave this empty then your Pull Request may be closed. -->


### Trade-offs and Alternatives

<!-- If the Pull Request has some negative impact (i.e. increased code size)
then please explain why you think the trade-off improvement is worth it.
If you can think of alternative ways to do this, please explain that here too.

Delete this heading if not relevant (i.e. small fixes) -->

Loading