Skip to content
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

Test Update #14

Open
wants to merge 4,282 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
4282 commits
Select commit Hold shift + click to select a range
5aa115a
esp32/adc: Set ADC to 12bit by default on esp32c6.
dmfaria Jun 14, 2024
2f79854
esp32/Makefile: Only set port & baud for jobs that access hardware.
andrewleech Mar 28, 2024
1bd312d
esp32/boards/ESP32_GENERIC_C6: Add new generic esp32c6 board.
pi-anl Jan 24, 2024
ee92198
esp32/boards/M5STACK_NANOC6: Add new M5Stack C6 board definition.
mattytrentini May 1, 2024
ce397d8
esp32/boards/UM_TINYC6: Add new UM C6 board definition.
mattytrentini May 14, 2024
55dc482
esp32/sdkconfig: Disable PMP_IDRAM_SPLIT to fix native emit support.
pi-anl Oct 8, 2024
197becb
tests: Tweak machine SPI and UART tests to work with esp32c6.
dpgeorge Sep 25, 2024
05ac693
esp32: Fix hang in taskYIELD() on riscv CPUs when IRQs disabled.
projectgus Sep 25, 2024
82e69df
esp32: Apply the LWIP active TCP socket limit.
projectgus Oct 2, 2024
44ed1c2
esp32: Disable hardware stack protection on ESP32-C6.
dpgeorge Oct 11, 2024
ece950d
stm32/pendsv: Remove preemptive keyboard interrupt via PendSV.
dpgeorge Oct 10, 2024
1223fa9
renesas-ra/pendsv: Remove preemptive keyboard interrupt via PendSV.
dpgeorge Oct 10, 2024
7746785
tests/run-tests.py: Wait for soft reset if a target skips a test.
dpgeorge Oct 10, 2024
d92694c
tools: Only issue a single Ctrl-C when entering raw REPL.
dpgeorge Oct 10, 2024
fa942d5
zephyr/boards: Add support for BeagleConnect Freedom.
Ayush1325 Sep 23, 2024
525fce7
py/usermod.cmake: Check target exists in usermod_gather_sources.
Gadgetoid Jun 28, 2024
70a884d
lib/pico-sdk: Update to version 2.0.0.
dpgeorge Aug 8, 2024
815d6a1
rp2/mpconfigport: Set MCU name for RP2350.
peterharperuk May 22, 2024
c90d996
rp2: Update custom linker scripts for new pico-sdk.
peterharperuk May 22, 2024
d1423ef
rp2/modmachine: Implement lightsleep for RP2350.
peterharperuk May 22, 2024
27aeade
rp2/rp2_dma: Generalise DMA for RP2350.
peterharperuk Jun 3, 2024
d2c85c7
rp2: Integrate RP2350 and use aon_timer instead of rtc API.
peterharperuk May 23, 2024
6d39418
rp2: Add support for 48-pin RP2350 variant.
Gadgetoid Jul 1, 2024
a3d1c59
rp2/machine_pin: Move decl of machine_pin_obj_table to public header.
dpgeorge Sep 2, 2024
e6093c0
rp2/rp2_pio: Add support for RP2350A/B variants in PIO interface.
Gadgetoid Jul 2, 2024
4af09de
rp2/boards/make-pins.py: Pass num-gpios/num-ext-gpios into make-pins.
peterharperuk Jul 8, 2024
733052f
rp2/machine_pin: Use 64-bit gpio functions to allow gpios >=32 to work.
peterharperuk Jul 10, 2024
57f4cab
rp2/machine_pin: Generalise gpio_irq handler for pins >32.
Gadgetoid Jul 8, 2024
d0bc427
rp2/clocks_extra: Update runtime_clocks_init based on new pico-sdk.
peterharperuk Jul 10, 2024
34e463d
rp2/machine_adc: Add ADC support for RP2350B.
Gadgetoid Aug 5, 2024
4fc6cf9
rp2: Add support for RP2350 in RISCV mode.
dpgeorge Aug 8, 2024
f2f08ef
rp2/Makefile: Allow CMAKE_ARGS to be set by user.
dpgeorge Aug 8, 2024
7a78e5a
rp2/machine_bitstream: Set SysTick reset value.
sfe-SparkFro Aug 5, 2024
957cea2
rp2/machine_uart: Allow new TX/RX pins on RP2350.
sfe-SparkFro Aug 6, 2024
ea2eed1
rp2/mphalport: Implement mp_hal_ticks_cpu for RISCV using mcycle.
dpgeorge Aug 8, 2024
fa15ae4
rp2/machine_bitstream: Implement bitstream for RISC-V using mcycle.
dpgeorge Aug 8, 2024
8cc7c64
rp2: Workaround pico_aon_timer timezone binary size increase.
projectgus Aug 13, 2024
27904ae
rp2/machine_pwm: Add RP2350 slices to machine.PWM.
Gadgetoid Aug 15, 2024
137e9e8
rp2/main: Set CPU frequency to default for the MCU.
dpgeorge Sep 23, 2024
e32e13f
rp2/boards/RPI_PICO2: Add new RPI_PICO2 board definition.
peterharperuk May 22, 2024
f9cebe6
tools/ci.sh: Add RPI_PICO2 to CI.
dpgeorge Aug 9, 2024
fda7ae8
tests/ports/rp2: Update DMA test to work on RP2350.
dpgeorge Aug 7, 2024
651b63c
tests/ports/rp2: Add simple rp2-specific UART test.
dpgeorge Aug 9, 2024
b42bb91
tests/ports/rp2: Update lightsleep/machine_idle to skip on RP2350.
dpgeorge Oct 11, 2024
b33f647
tests/run-tests.py: Only run inlineasm tests on rp2 ARM targets.
dpgeorge Oct 11, 2024
51663b9
rp2/machine_uart: Clear timeout_char when UART is first constructed.
dpgeorge Oct 11, 2024
838f212
unix/main: Add --version command-line option.
dpgeorge Sep 26, 2024
3fecab5
esp32/mphalport: Always poll stdin ring-buffer to include UART use.
andrewleech Oct 13, 2024
1b89c50
py/objtype: Don't delegate lookup of descriptor methods to __getattr__.
dpgeorge Oct 1, 2024
97af100
rp2/machine_uart: Make it so TX is done only when no longer busy.
dpgeorge Oct 21, 2024
7ed480f
Revert "stm32/machine_uart: Allow changing only the baudrate."
dpgeorge Oct 20, 2024
d1574de
extmod/modframebuf: Fix FrameBuffer size check for stride corner-cases.
corranwebster Oct 2, 2024
7d44237
tests/extmod: Config SPI test for esp8266 and skip SoftTimer test.
dpgeorge Oct 18, 2024
1e3b242
tests/extmod: Adjust ssl/tls tests to run on targets with axTLS.
dpgeorge Oct 18, 2024
52f2ba5
tests/micropython: Tweak ringio test for targets with terse errors.
dpgeorge Oct 18, 2024
f7abb52
tests/run-tests.py: Skip large viper test on esp8266.
dpgeorge Oct 18, 2024
0646177
tests/extmod: Make invalid-blockdev test work consistently on all ports.
dpgeorge Oct 21, 2024
8fef67b
esp32/modmachine: Allow building with USB CDC disabled.
vshymanskyy Oct 17, 2024
324871f
qemu/mcu/rv32: Fix test of mcause value in lookup_cause.
Oct 18, 2024
6328958
rp2/mpconfigport: Leave callable pointers alone on RV32.
agatti Oct 16, 2024
3f54e5d
tests/extmod: Support esp32,mimxrt,stm32,samd ports in UART TX test.
dpgeorge Oct 21, 2024
078ead2
extmod/network_wiznet5k: Reset mDNS when interface is brought up.
greezybacon Oct 14, 2024
43bd57f
shared/timeutils: Document the range of year/month/day etc input values.
dpgeorge Oct 24, 2024
47741e2
rp2/datetime_patch: Fix year and month offset for mktime wrapper.
dpgeorge Oct 24, 2024
6d98280
tests/extmod: Add a simple test for machine.RTC.
dpgeorge Oct 24, 2024
ca6aed7
tests/extmod: Fix access of RTC class in machine.RTC test.
dpgeorge Oct 24, 2024
120ac0f
rp2/modmachine: Re-sync time_ns offset when coming out of lightsleep.
dpgeorge Oct 24, 2024
1ec0c9b
tests/extmod: Use time_ns instead of time in lfs mtime test.
dpgeorge Oct 24, 2024
09ea901
tests/extmod: Add test to compare time_ns with time.
dpgeorge Oct 24, 2024
2644f57
extmod/modtls_mbedtls: Add a thread-global ptr for current SSL context.
iabdalkader Oct 16, 2024
68f1c20
extmod/modtls_mbedtls: Support alternate sign callbacks in Python.
iabdalkader Sep 24, 2024
bab6a01
lib/arduino-lib: Update submodule.
iabdalkader Sep 26, 2024
28009a7
stm32/boards/ARDUINO_PORTENTA_H7: Add SE05x driver.
iabdalkader Sep 24, 2024
57bc98f
stm32/boards/ARDUINO_NICLA_VISION: Add SE05x driver.
iabdalkader Sep 24, 2024
4c54335
stm32/boards/ARDUINO_OPTA: Add Opta expansion module.
iabdalkader Oct 16, 2024
18c9abc
lib/micropython-lib: Update submodule to latest.
dpgeorge Oct 18, 2024
f212bbe
all: Bump version to 1.24.0.
dpgeorge Oct 25, 2024
44dc6eb
all: Bump version to 1.25.0-preview.
dpgeorge Oct 28, 2024
4601dcb
rp2/README: Remove redundant `global` statement from example code.
holdenweb Oct 24, 2024
ff70a91
esp32: Move the linker wrap options out of the project CMakeLists.
projectgus Oct 22, 2024
043ba45
esp32: Add some notes about the different CMake files.
projectgus Oct 22, 2024
9ea8d2a
tools/mpremote: Fix UnboundLocalError in Transport.fs_writefile().
glenn20 Oct 26, 2024
86c71a0
esp32/machine_hw_spi: Reject invalid number of bits in constructor.
agatti Oct 1, 2024
548babf
esp32/machine_pwm: Use IDF functions to calculate resolution correctly.
pi-anl Oct 27, 2024
d34b15a
pic16bit: Make it build with recent XC16 versions.
agatti Sep 12, 2024
9591b0a
tools/ci.sh: Fix commit msg checking when PR branch HEAD behind master.
projectgus Oct 30, 2024
787c424
tools/ci.sh: Fix reference commit for code size comparison.
projectgus Oct 30, 2024
0e490b7
docs/reference/packages: Fix description of --target option in mip.
honza-klu Oct 29, 2024
7e1098b
py/objdeque: Fix buffer overflow in deque_subscr.
jansturm92 Oct 29, 2024
c88a9d6
tests/basics/deque2.py: Add tests for deque subscript-from-end.
dpgeorge Oct 30, 2024
f2ac471
tests/run-tests.py: Simplify the way target-specific tests are given.
dpgeorge Oct 30, 2024
8978102
tests/run-tests.py: Change --target/--device options to --test-instance.
dpgeorge Aug 18, 2024
85053ad
tests/run-tests.py: Add mimxrt and samd platforms.
dpgeorge Oct 30, 2024
919756c
extmod/modlwip: Fix IGMP address type when IPv6 is enabled.
dpgeorge Oct 31, 2024
d278ba5
extmod/nimble: Remove asserts of ediv_rand_present and adjust comments.
dpgeorge Oct 31, 2024
275b3af
esp32/network_wlan: Add missing WLAN security constants.
dpgeorge Oct 31, 2024
594670e
esp32/machine_pwm: Restore PWM support for ESP-IDF v5.0.x and v5.1.x.
projectgus Nov 1, 2024
df6b40a
esp32: Workaround native code execution crash on ESP32-S2.
projectgus Nov 6, 2024
48f96e9
docs: Specify the recommended network.WLAN.IF_[AP|STA] constants.
projectgus Nov 5, 2024
285e1d0
esp32: Use the recommended network.WLAN.IF_[AP|STA] constants.
projectgus Nov 5, 2024
f5b81be
esp8266: Use the recommended network.WLAN.IF_[AP|STA] constants.
projectgus Nov 5, 2024
5dfbd43
tests: Use the recommended network.WLAN.IF_[AP|STA] constants.
projectgus Nov 5, 2024
3844733
tests/cpydiff: Fix test case for modules_json_nonserializable.
jepler Nov 2, 2024
eab2869
extmod/modlwip: Don't allow writing to a TCP socket that is connecting.
dpgeorge Nov 5, 2024
6902362
tests/net_hosted: Improve and simplify non-block-xfer test.
dpgeorge Nov 5, 2024
76e6c63
tools/mpremote: Make sure stdout and stderr output appear in order.
dpgeorge Nov 6, 2024
3b6024a
tools/mpremote: Add test for forced copy.
dpgeorge Nov 6, 2024
4fd5b72
tools/mpremote: Support trailing slash on dest for non-recursive copy.
dpgeorge Nov 6, 2024
161e2bd
extmod/network_ppp: Add stream config parameter.
DvdGiessen Aug 9, 2023
77406b4
extmod/network_ppp: Allow stream=None to suspend PPP.
DvdGiessen Feb 28, 2024
611d8f9
esp32/modsocket: Fix getaddrinfo hints to set AI_CANONNAME.
dpgeorge Nov 11, 2024
5dc9eda
extmod/vfs_blockdev: Support bool return from Python read/write blocks.
dpgeorge Nov 13, 2024
898407d
ports: Make PWM duty_u16 have an upper value of 65535 across all ports.
robert-hh Nov 4, 2024
e2532e0
mimxrt/machine_pwm: Fix a few inconsistencies with PWM output.
robert-hh Nov 6, 2024
5a70850
samd/machine_uart: Add full support for 9-bit data.
robert-hh Sep 2, 2024
4d36ecf
samd/boards/SAMD21_XPLAINED_PRO: Add specific deploy instructions.
robert-hh Sep 27, 2024
85de67f
samd/mboot: Provide a UF2 bootloader for SAMD21 Xplained Pro.
robert-hh Sep 30, 2024
4a159d1
samd/boards/SAMD21_XPLAINED_PRO: Use the SPI flash for the file system.
robert-hh Sep 24, 2024
ceae0e1
samd/samd_flash: Make flash read/write methods access self parameters.
robert-hh Nov 18, 2024
cbffe61
samd/mboot/README.md: Add information about the bootloader source.
robert-hh Nov 18, 2024
0e7c390
docs: Add a "Reset and Boot Sequence" reference page.
projectgus Oct 2, 2024
9361a9f
docs/rp2: Add a small factory reset page.
projectgus Oct 2, 2024
a23277e
docs/esp32: Add a factory reset page.
projectgus Oct 2, 2024
c5d74fe
docs/library: Note link between machine.soft_reset() and sys.exit().
projectgus Oct 8, 2024
c1b8e65
docs: Change copyright line to mention "authors and contributors".
dpgeorge Nov 5, 2024
f562aa1
extmod/network_cyw43: Fix isconnected() result on AP interface.
projectgus Nov 13, 2024
af743ea
extmod/network_cyw43: Fix uninitialised variable in status('stations').
dpgeorge Nov 19, 2024
181800e
extmod/network_cyw43: Allow configuring active AP interface.
projectgus Nov 13, 2024
b65e891
py/py.mk: Add check that any specified USER_C_MODULES folder exists.
pi-anl Oct 16, 2024
dccd206
py/usermod.cmake: Add check that any specified USER_C_MODULES exists.
pi-anl Oct 16, 2024
78d017f
py/usermod.cmake: If USER_C_MODULES is a folder add micropython.cmake.
pi-anl Oct 16, 2024
7647c82
tests/multi_espnow: Add channel setting test, add some docs.
projectgus Nov 13, 2024
951a10e
esp32: Fix setting WLAN channel in AP mode.
projectgus Nov 12, 2024
0e383a3
tests: Add basic wlan test.
projectgus Nov 13, 2024
ed3c75a
esp32: Use hardware version for touchpad macro defines.
projectgus Nov 6, 2024
66e699e
esp32: Fix machine.TouchPad startup on ESP32-S2 and S3.
projectgus Nov 6, 2024
154d141
docs,esp32: Update machine.TouchPad docs for ESP32-S2 and ESP32-S3.
projectgus Nov 6, 2024
e70048c
extmod/modframebuf: Fix 0 radius bug in FrameBuffer.ellipse.
corranwebster Nov 14, 2024
da692d0
nrf/drivers/ticker: Reset slow ticker callback count on soft reboot.
robert-hh Nov 27, 2024
3b3b488
py/objfloat: Workaround non-constant NAN definition on Windows MSVC.
projectgus Nov 20, 2024
8e11e5f
tests/misc/sys_settrace_features.py: Add note about CPython 3.12 issue.
projectgus Nov 20, 2024
8ec0672
github/workflows: Workaround using CPython 3.12 in MSYS2 builds.
projectgus Nov 20, 2024
eb80b04
tests/extmod: Workaround CPython warning in asyncio_new_event_loop test.
projectgus Nov 20, 2024
d49c1e8
tools/ci.sh: Remove explicit macOS pkg-config install.
projectgus Nov 26, 2024
6dd976c
github/workflows: Bump codecov/codecov-action from 4 to 5.
dependabot[bot] Nov 14, 2024
beabef5
esp32: Add missing network.STAT_CONNECT_FAIL constant.
projectgus Nov 20, 2024
579e840
extmod/modplatform: Distinguish AArch64 from AArch32.
agatti Nov 20, 2024
09cf01d
extmod/modplatform: Add Clang to the known compilers list.
agatti Nov 20, 2024
3de3821
extmod/modplatform: Add Android to the recognised platforms list.
agatti Nov 20, 2024
2e796d6
docs,ports: Fix some comments and error messages with doubled-up words.
chuangjinglu Nov 25, 2024
406bccc
docs/library/binascii: Add docs for binascii.crc32 method.
AmirHmZz Nov 23, 2023
a2554f0
tests/run-tests.py: Add support for tests to use unittest.
dpgeorge Nov 12, 2024
a842243
tests/run-tests.py: Print .out file when there is no .exp file.
dpgeorge Dec 3, 2024
6dcbdec
lib/micropython-lib: Update submodule to latest.
dpgeorge Nov 19, 2024
42f37e9
esp8266/mpconfigport: Enable function attributes.
dpgeorge Nov 12, 2024
d3d2976
qemu/Makefile: Include unittest in firmware.
dpgeorge Nov 25, 2024
f62df1a
tests/ports/stm32_hardware: Convert DMA test to use unittest.
dpgeorge Nov 12, 2024
c7c3ffa
tests/net_hosted: Convert connect-nonblock-xfer test to use unittest.
dpgeorge Nov 13, 2024
2c80d36
tests/extmod: Convert machine1.py test to use unittest.
dpgeorge Dec 3, 2024
a118cf9
extmod/extmod.mk: Fix libmetal build prefix.
iabdalkader Nov 30, 2024
c55202d
shared/tinyusb: Set MSC max endpoint size based on device speed.
iabdalkader Nov 29, 2024
67b4e62
mimxrt: Switch to shared TinyUSB descriptor.
iabdalkader Nov 29, 2024
d5d366b
nrf/boards/ARDUINO_NANO_33_BLE_SENSE: Update LED and timer config.
iabdalkader Nov 29, 2024
b5e80fa
drivers/memory/spiflash: Add a config option to soft-reset SPI flash.
iabdalkader Nov 29, 2024
46ca78e
stm32/boards: Update Arduino board configs for SPI reset and bootloader.
iabdalkader Nov 29, 2024
47d9988
stm32/boards: Rename SDRAM frequency config option to make units clear.
iabdalkader Dec 4, 2024
17808e7
stm32/sdram: Make SDRAM refresh count configurable by a board.
iabdalkader Nov 30, 2024
d42e39d
stm32/spi: Add spi_deinit_all function.
iabdalkader Dec 2, 2024
405aa69
stm32/pyb_i2c: Add pyb_i2c_deinit_all function.
iabdalkader Dec 2, 2024
89191b0
stm32/main: Deinitialize SPI and I2C on soft-reset.
iabdalkader Dec 2, 2024
fd01cdd
stm32/mpconfigport: Switch FATFS LFN to type 2.
iabdalkader Dec 1, 2024
309aa26
rp2/mpconfigport: Switch FATFS LFN to type 2.
iabdalkader Dec 1, 2024
a2cdf9a
renesas-ra/mpconfigport: Switch FATFS LFN to type 2.
iabdalkader Dec 1, 2024
2bee8e1
mimxrt/mpconfigport: Update FATFS config to align with other ports.
iabdalkader Dec 1, 2024
b20687d
esp32: Fix link failure due to link library order.
projectgus Dec 2, 2024
5564f30
esp32: Add basic espressif IDF v5.3 compatibility.
pi-anl Aug 27, 2024
5fb846d
esp32: Fix machine_touchpad compiling on IDFv5.3.
DvdGiessen Dec 3, 2024
160a481
esp32: Pass V=1 or BUILD_VERBOSE through to idf.py when building.
projectgus Dec 3, 2024
31a1e2b
rp2: Pass V=1 or BUILD_VERBOSE to rp2 build.
projectgus Dec 3, 2024
0f7d680
py/misc: Fix msvc and C++ compatibility.
stinos Dec 3, 2024
5784714
shared/runtime/gchelper_generic: Fix AArch32 build on Clang.
agatti Nov 18, 2024
2a8f604
py/emitglue: Fix clear cache builtin warning on Clang for AArch32.
agatti Nov 18, 2024
28b5244
extmod/modplatform: Distinguish RISC-V 64 from RISC-V 32.
agatti Dec 4, 2024
e8c3f31
mimxrt/machine_rtc: Deprecate RTC.cancel in MicroPython v2.
agatti Nov 12, 2024
fdd606d
py/mkrules.mk: Use partial clone for submodules if available.
pi-anl Nov 5, 2024
9441ce6
esp32: Use capability defines to configure features.
pi-anl Sep 4, 2024
82e382a
esp32/mpconfigport: Use the appropriate wait-for-interrupt opcode.
agatti Dec 4, 2024
6e5d8d0
esp32: Drop support for ESP-IDF below V5.2.0.
projectgus Nov 1, 2024
d90aff5
esp32: Remove IDF-version-specific sdkconfig.
projectgus Nov 1, 2024
d4d1d47
esp32: Simplify thread cleanup.
projectgus Dec 4, 2024
94343e2
stm32/boards/STM32F429DISC: Fix SDRAM configuration.
iabdalkader Dec 10, 2024
bdda91f
tests/extmod_hardware: Add a test for machine.PWM freq and duty.
dpgeorge Nov 4, 2024
5f2d05d
esp32: Enable machine.USBDevice to configure USB at runtime.
sebromero Dec 4, 2024
8e4c809
unix,windows: Force _FILE_OFFSET_BITS=64 to fix 32-bit file ABI.
dpgeorge Dec 16, 2024
ee8d8b3
tools/ci.sh: Re-enable vfs_posix tests on unix qemu MIPS CI.
dpgeorge Dec 16, 2024
46a37a0
qemu/mpconfigport: Enable VFS reader, loading .mpy files and io.IOBase.
dpgeorge Nov 25, 2024
bd6edf0
stm32/pin: Add option to exclude legacy Pin methods and constants.
dpgeorge Dec 10, 2024
1c2cdf9
stm32/pin: Add config option to exclude Pin alternate function.
dpgeorge Dec 10, 2024
3203e95
tools/boardgen.py: Provide macro defns for number of cpu/board pins.
dpgeorge Dec 10, 2024
a2efafc
stm32/pin: Exclude Pin.cpu/Pin.board if they contain no entries.
dpgeorge Dec 10, 2024
23bfa95
stm32/extint: Fix EXTI IRQ handlers for H5 MCUs.
dpgeorge Sep 2, 2024
8970ede
extmod/moductypes: Fix large return values of addressof and INT_MAYBE.
dpgeorge Nov 24, 2024
d10cda6
tests/extmod: Add test for uctypes.addressof function.
dpgeorge Dec 17, 2024
92a5ea5
ci: Cache Zephyr workspace installation.
projectgus Dec 10, 2024
db4b095
ci: Pull the Zephyr CI docker image from GitHub container reg.
projectgus Dec 10, 2024
a9945fc
ci: Add caching of ccache for Zephyr.
projectgus Dec 11, 2024
22804fc
stm32/boards/WEACT_F411_BLACKPILL: Add WeAct F411 'blackpill' boards.
andrewleech Aug 13, 2024
7924b31
stm32: Generate PLL tables from pre-processed headers.
pi-anl Sep 3, 2024
3c1722e
stm32: Fix extraction of hse/hsi/pllm values from preprocessed source.
dpgeorge Dec 18, 2024
e323da7
tests/run-tests.py: Set name of injected test module to '__main__'.
dpgeorge Dec 17, 2024
b5de529
docs: Fix the quickref documentation of rtc.datetime().
robert-hh Jan 28, 2023
0302cd6
mimxrt/machine_rtc: Drop machine.RTC.now() method.
robert-hh Jan 28, 2023
f4e4599
ports: Fix machine.RTC.init() method so argument order matches the docs.
robert-hh Jan 28, 2023
32b98d3
lib/pico-sdk: Update to version 2.1.0.
peterharperuk Oct 21, 2024
a93762a
rp2/modmachine: Fix USB sleep on RP2350 MCUs.
peterharperuk Oct 1, 2024
929d7a7
rp2/CMakeLists.txt: Add components required by bootrom.h.
Gadgetoid Sep 25, 2024
30163e0
rp2/cyw43_configport: Define cyw43 pins.
peterharperuk Oct 23, 2024
4a6c246
rp2/mphalport: Add mp_hal_is_pin_reserved() function.
peterharperuk Oct 9, 2024
1b611da
rp2/boards/RPI_PICO2_W: Add new Pico 2 W board definition.
peterharperuk Oct 9, 2024
a70a90c
rp2/boards/RPI_PICO2_W: Add RISCV variant for Pico 2 W.
peterharperuk Nov 22, 2024
39538e4
rp2/boards/SPARKFUN_PROMICRO: Fix SparkFun Pro Micro RP2040 image.
sfe-SparkFro Nov 15, 2024
4e76acc
doc: Note that machine.USBDevice is now available on esp32 port.
projectgus Dec 18, 2024
a3128f8
tests: Fix all file ioctl's to support only MP_STREAM_CLOSE.
dpgeorge Nov 15, 2024
8b6bd43
extmod/vfs: Guard mutating fs functions with MICROPY_VFS_WRITABLE.
dpgeorge Nov 15, 2024
1360584
esp32/machine_timer: Restrict timer numbers for ESP32C6 to 0 and 1.
robert-hh Dec 17, 2024
6760e00
tools/mpy_ld.py: Add native modules support for RV32 code.
agatti Jun 23, 2024
1857e62
examples/natmod/re: Fix build on RV32 with alloca.
agatti Oct 2, 2024
4bf087b
py/dynruntime.mk: Delete compiled module file on clean.
agatti Dec 11, 2024
7ca6e5e
qemu: Add test_natmod target for RV32 and use as part of CI pipeline.
agatti Dec 21, 2024
4729a89
tools/verifygitlog.py: Show invalid commit subjects in quotes.
agatti Dec 20, 2024
50637ff
extmod/vfs_rom: Add VfsRom filesystem object.
dpgeorge Mar 3, 2022
a1c3210
py/qstr: Add qstr_from_strn_static() helper function.
dpgeorge Mar 3, 2022
f870e8d
py/reader: Provide mp_reader_try_read_rom() function.
dpgeorge Mar 3, 2022
5e9dd4b
extmod/vfs_reader: Add support for opening a memory-mappable file.
dpgeorge Dec 18, 2024
9751806
py/persistentcode: Add support for loading .mpy files from a ROM reader.
dpgeorge Mar 3, 2022
d9378c9
unix: Enable VfsRom on standard and coverage variants.
dpgeorge Mar 3, 2022
def9a37
qemu/mpconfigport: Enable VfsRom.
dpgeorge Nov 25, 2024
c732041
tests/extmod: Add VfsRom test.
dpgeorge Nov 17, 2024
a5270c8
tests/inlineasm: Make room for RV32IMC inline asm tests.
agatti Aug 20, 2024
3044233
py/misc: Add a popcount(uint32_t) implementation.
agatti Aug 21, 2024
268acb7
py/emitinlinerv32: Add inline assembler support for RV32.
agatti Aug 25, 2024
36aa754
qemu/main: Make GC heap size configurable on a per-arch basis.
agatti Sep 6, 2024
24482a9
rp2/mpconfigport: Enable RV32 inline assembly support.
agatti Nov 20, 2024
931a768
tests/run-tests.py: Detect inlineasm support and add tests if needed.
agatti Nov 20, 2024
61e2931
stm32/mboot: Add mboot version string.
victorallume Dec 3, 2024
3dd605e
shared/timeutils: Add missing mp_uint_t casts.
yoctopuce May 13, 2024
b323b42
extmod/modsocket: Add missing static in private function definitions.
yoctopuce May 13, 2024
61995b5
extmod/moddeflate: Add missing size_t cast.
yoctopuce May 13, 2024
9bb6b50
py/obj: Cast float literals to 64-bit to prevent overflow warning.
yoctopuce May 13, 2024
5d12df5
py/obj: Make literals unsigned in float get/new functions.
yoctopuce May 24, 2024
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