- 23 6月, 2023 11 次提交
-
-
由 Damien George 提交于
Signed-off-by: NDamien George <damien@micropython.org>
-
由 Damien George 提交于
And change erase_flash to erase-flash, because the former is deprecated since IDF 4.4. Signed-off-by: NDamien George <damien@micropython.org>
-
由 Damien George 提交于
Signed-off-by: NDamien George <damien@micropython.org>
-
由 Glenn Moloney 提交于
IDF v5.0 provides access to rssi value for received espnow packets via recv_info arg to recv_cb(). Signed-off-by: NGlenn Moloney <glenn.moloney@gmail.com>
-
由 Damien George 提交于
This commit updates the esp32 port to work exclusively with ESP-IDF v5. IDF v5 is needed for some of the newer ESP32 SoCs to work, and it also cleans up a lot of the inconsistencies between existing SoCs (eg S2, S3, and C3). Support for IDF v4 is dropped because it's a lot of effort to maintain both versions at the same time. The following components have been verified to work on the various SoCs: ESP32 ESP32-S2 ESP32-S3 ESP32-C3 build pass pass pass pass SPIRAM pass pass pass N/A REPL (UART) pass pass pass pass REPL (USB) N/A pass pass N/A filesystem pass pass pass pass GPIO pass pass pass pass SPI pass pass pass pass I2C pass pass pass pass PWM pass pass pass pass ADC pass pass pass pass WiFi STA pass pass pass pass WiFi AP pass pass pass pass BLE pass N/A pass pass ETH pass -- -- -- PPP pass pass pass -- sockets pass pass pass pass SSL pass ENOMEM pass pass RMT pass pass pass pass NeoPixel pass pass pass pass I2S pass pass pass N/A ESPNow pass pass pass pass ULP-FSM pass pass pass N/A SDCard pass N/A N/A pass WDT pass pass pass pass Signed-off-by: NDamien George <damien@micropython.org> Signed-off-by: NJim Mussared <jim.mussared@gmail.com>
-
由 Damien George 提交于
The hall sensor is no longer supported by IDF v5. Signed-off-by: NDamien George <damien@micropython.org>
-
由 Damien George 提交于
This function was made private/static in IDF commit c67f4c2b4c2bb4b7740f988fc0f8a3e911e56afe, so it add back here. Signed-off-by: NDamien George <damien@micropython.org>
-
由 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 5 次提交
-
-
由 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>
-