- 23 6月, 2023 4 次提交
-
-
由 Angus Gratton 提交于
Allows registering UART interrupt again. Signed-off-by: NAngus Gratton <angus@redyak.com.au>
-
由 Damien George 提交于
To prevent warnings when building with ESP IDF v5. Signed-off-by: NDamien George <damien@micropython.org>
-
由 Damien George 提交于
Signed-off-by: NDamien George <damien@micropython.org>
-
由 Damien George 提交于
Signed-off-by: NDamien George <damien@micropython.org>
-
- 21 6月, 2023 4 次提交
-
-
由 Duncan Lowther 提交于
Tests framebuf1 and framebuf2 do not take the need for byte-aligned strides into consideration when calculating buffer lengths. Accordingly, the buffers allocated are slightly too small. Fixed buffer length calculations. Signed-off-by: NDuncan Lowther <Duncan.Lowther@glasgow.ac.uk>
-
由 Duncan Lowther 提交于
Structure descriptor in test extmod/uctypes_array_assign_le is 6 bytes long, due to member "arr3" having length 4 (2 * UINT16) and offset 2, but only 5 bytes are allocated. Increased buffer length to 6 bytes. Signed-off-by: NDuncan Lowther <Duncan.Lowther@glasgow.ac.uk>
-
由 Duncan Lowther 提交于
The mod_binascii_a2b_base64() function allocates a buffer which may be too small. It needs to be no less than three-quarters of the input length, but is calculated as (<length> / 4) * 3 + 1, which may be less due to integer division. Changed to (<length> * 3) / 4 + 1. Signed-off-by: NDuncan Lowther <Duncan.Lowther@glasgow.ac.uk>
-
由 Duncan Lowther 提交于
Signed-off-by: NDuncan Lowther <Duncan.Lowther@glasgow.ac.uk>
-
- 19 6月, 2023 6 次提交
-
-
由 Jim Mussared 提交于
This allows existing code that does `import uasyncio` or `import uasyncio as asyncio` to continue working. It uses the same lazy-loading as asyncio to prevent loading of unused features. This work was funded through GitHub Sponsors. Signed-off-by: NJim Mussared <jim.mussared@gmail.com>
-
由 Jim Mussared 提交于
Mostly updates comments, but also renames the UASYNCIO enum value to ASYNCIO. This work was funded through GitHub Sponsors. Signed-off-by: NJim Mussared <jim.mussared@gmail.com>
-
由 Jim Mussared 提交于
This work was funded through GitHub Sponsors. Signed-off-by: NJim Mussared <jim.mussared@gmail.com>
-
由 Jim Mussared 提交于
This work was funded through GitHub Sponsors. Signed-off-by: NJim Mussared <jim.mussared@gmail.com>
-
由 Jim Mussared 提交于
This work was funded through GitHub Sponsors. Signed-off-by: NJim Mussared <jim.mussared@gmail.com>
-
由 Jim Mussared 提交于
The asyncio module now has much better CPython compatibility and deserves to be just called "asyncio". This will avoid people having to write `from uasyncio import asyncio`. Renames all files, and updates port manifests to use the new path. Also renames the built-in _uasyncio to _asyncio. This work was funded through GitHub Sponsors. Signed-off-by: NJim Mussared <jim.mussared@gmail.com>
-
- 18 6月, 2023 1 次提交
-
-
由 Damien George 提交于
Instead of having a special set of arguments to test for each math-module function, just test all functions with all sets of arguments. This gives improved test cases to prevent regressions. Signed-off-by: NDamien George <damien@micropython.org>
-
- 15 6月, 2023 13 次提交
-
-
由 Damien George 提交于
Commit c046b23e prevented frozen boot code from being interrupted by Ctrl-C, but that means a corrupt filesystem will forever lock up an esp32/esp8266 board. This commit fixes that by explicitly enabling Ctrl-C before running the forever loop. Signed-off-by: NDamien George <damien@micropython.org>
-
由 Damien George 提交于
Signed-off-by: NDamien George <damien@micropython.org>
-
由 Damien George 提交于
Signed-off-by: NDamien George <damien@micropython.org>
-
由 Damien George 提交于
It currently operates in 1-line (SPI) mode only. Signed-off-by: NDamien George <damien@micropython.org>
-
由 Damien George 提交于
Signed-off-by: NDamien George <damien@micropython.org>
-
由 Damien George 提交于
This commit adds initial support for STM32H5xx MCUs. The following features have been confirmed to be working on an STM32H573: - UART over REPL and USB CDC - USB CDC and MSC - internal flash filesystem - machine.Pin - machine.SPI transfers with DMA - machine.ADC - machine.RTC - pyb.LED - pyb.Switch - pyb.rng - mboot Signed-off-by: NDamien George <damien@micropython.org>
-
由 Damien George 提交于
Changes in this new library version are: - Add H5 HAL at v1.0.0. Signed-off-by: NDamien George <damien@micropython.org>
-
由 Damien George 提交于
All MCUs can have 6-bit resolution; see adc_cr_to_bits_table. Signed-off-by: NDamien George <damien@micropython.org>
-
由 Damien George 提交于
The G0 USB peripheral behaves more like MICROPY_HW_USB_IS_MULTI_OTG=0 than that config =1. This fixes the configuration of the PMA FIFO buffers. Signed-off-by: NDamien George <damien@micropython.org>
-
由 Damien George 提交于
For debugging purposes, to see output from other peripherals. Also reset the pyb_stdio_uart state at the end of soft reset, in case it points to a heap-allocated object. Signed-off-by: NDamien George <damien@micropython.org>
-
由 Damien George 提交于
Signed-off-by: NDamien George <damien@micropython.org>
-
由 Damien George 提交于
Needed for compiling gchelper_thumb2 on cortex-m33. Signed-off-by: NDamien George <damien@micropython.org>
-
由 Damien George 提交于
Signed-off-by: NDamien George <damien@micropython.org>
-
- 14 6月, 2023 12 次提交
-
-
由 Damien George 提交于
Signed-off-by: NDamien George <damien@micropython.org>
-
由 Peter Harper 提交于
Signed-off-by: NDamien George <damien@micropython.org>
-
由 Peter Harper 提交于
Marking address as static was not applied to all code paths. Signed-off-by: NDamien George <damien@micropython.org>
-
由 Peter Harper 提交于
Cancel any existing poll alarm before add a new one. Signed-off-by: NDamien George <damien@micropython.org>
-
由 Peter Harper 提交于
Using BTstack with CYW43 for Pico W. Signed-off-by: NDamien George <damien@micropython.org>
-
由 Peter Harper 提交于
Signed-off-by: NDamien George <damien@micropython.org>
-
由 Damien George 提交于
Signed-off-by: NDamien George <damien@micropython.org>
-
由 Damien George 提交于
Signed-off-by: NDamien George <damien@micropython.org>
-
由 Damien George 提交于
Includes a fix for combined BT+WiFi when using SPI transport. Signed-off-by: NDamien George <damien@micropython.org>
-
由 Jared Hancock 提交于
PEP-498 allows for conversion specifiers like !r and !s to convert the expression declared in braces to be passed through repr() and str() respectively. This updates the logic that detects the end of the expression to also stop when it sees "![rs]" that is either at the end of the f-string or before the ":" indicating the start of the format specifier. The "![rs]" is now retained in the format string, whereas previously it stayed on the end of the expression leading to a syntax error. Previously: `f"{x!y:z}"` --> `"{:z}".format(x!y)` Now: `f"{x!y:z}"` --> `"{!y:z}".format(x)` Note that "!a" is not supported by `str.format` as MicroPython has no `ascii()`, but now this will raise the correct error. Updated cpydiff and added tests. Signed-off-by: NJim Mussared <jim.mussared@gmail.com>
-
由 Damien George 提交于
So that the delegation functions don't need to be put somewhere global, like in mpconfigport.h. That would otherwise make it hard for extension modules to use delegation. Signed-off-by: NDamien George <damien@micropython.org>
-
由 Damien George 提交于
Signed-off-by: NDamien George <damien@micropython.org>
-