- 15 2月, 2021 11 次提交
-
-
由 Damien George 提交于
Signed-off-by: NDamien George <damien@micropython.org>
-
由 Damien George 提交于
ESP-IDF v4.0.2 is still supported. 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 提交于
BLE was enabled by default on all boards in the existing make build. Signed-off-by: NDamien George <damien@micropython.org>
-
由 Damien George 提交于
IDF v3 is no longer supported with the move to cmake. Signed-off-by: NDamien George <damien@micropython.org>
-
由 Damien George 提交于
It's now replaced by cmake/idf.py. But a convenience Makefile is still provided with traditional targets like "all" and "deploy". Signed-off-by: NDamien George <damien@micropython.org>
-
由 Damien George 提交于
This makes no functional change. See similar commit 9aa58cf8Signed-off-by: NDamien George <damien@micropython.org>
-
由 Damien George 提交于
Signed-off-by: NDamien George <damien@micropython.org>
-
由 Damien George 提交于
This commit adds support for building the esp32 port with cmake, and in particular it builds MicroPython as a component within the ESP-IDF. Using cmake and the ESP-IDF build infrastructure makes it much easier to maintain the port, especially with the various new ESP32 MCUs and their required toolchains. Signed-off-by: NDamien George <damien@micropython.org>
-
由 Damien George 提交于
These allow a port to use cmake natively instead of make. Signed-off-by: NDamien George <damien@micropython.org>
-
- 14 2月, 2021 2 次提交
-
-
由 Damien George 提交于
Signed-off-by: NDamien George <damien@micropython.org>
-
由 Damien George 提交于
This allows changing the baudrate of the UART without reinitialising it (reinitialising can lead to spurious characters sent on the TX line). Signed-off-by: NDamien George <damien@micropython.org>
-
- 13 2月, 2021 3 次提交
-
-
由 Jim Mussared 提交于
Matches CPython behavior. Fixes #6686
-
由 Brianna Laugher 提交于
Signed-off-by: NBrianna Laugher <brianna.laugher@gmail.com>
-
由 Damien George 提交于
This is needed for TinyUSB to process USB device IRQs. Related to #6325. Signed-off-by: NDamien George <damien@micropython.org>
-
- 12 2月, 2021 9 次提交
-
-
由 Damien George 提交于
Signed-off-by: NDamien George <damien@micropython.org>
-
由 Damien George 提交于
On i.MX the SysTick IRQ cannot wake the CPU from a WFI so the CPU was blocked on WFI waiting for USB data in mp_hal_stdin_rx_chr() even though it had already arrived (because it may arrive just after calling the check tud_cdc_available()). This commit fixes this problem by using SEV/WFE to indicate that there has been a USB event. The mp_hal_stdout_tx_strn() function is also fixed so that it doesn't overflow the USB buffers. Signed-off-by: NDamien George <damien@micropython.org>
-
由 Damien George 提交于
So that all MicroPython ports that use tinyusb use the same version. Also requires fewer submodule checkouts when building rp2 along with other ports that use tinyusb. Signed-off-by: NDamien George <damien@micropython.org>
-
由 Damien George 提交于
Signed-off-by: NDamien George <damien@micropython.org>
-
由 Damien George 提交于
Includes support for RP2040. Signed-off-by: NDamien George <damien@micropython.org>
-
由 Damien George 提交于
Synchronous events work on stm32 and unix ports. 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 提交于
So that BTSTACK can be enabled with SYNC_EVENTS. Signed-off-by: NDamien George <damien@micropython.org>
-
- 11 2月, 2021 2 次提交
-
-
由 Damien George 提交于
Signed-off-by: NDamien George <damien@micropython.org>
-
由 Damien George 提交于
Signed-off-by: NDamien George <damien@micropython.org>
-
- 09 2月, 2021 1 次提交
-
-
由 Damien George 提交于
START_SEC was changed in e0905e85. Also, update the error message to mention how to format the partition at the REPL, and make the total message shorter to save a bit of flash. Signed-off-by: NDamien George <damien@micropython.org>
-
- 08 2月, 2021 1 次提交
-
-
由 Damien George 提交于
For certain operands to mpn_div, the existing code path for `DIG_SIZE == MPZ_DBL_DIG_SIZE / 2` had a bug in it where borrow could still overflow in the `(x >= *n || *n - x <= borrow)` branch, ie `borrow + x - (mpz_dbl_dig_t)*n` overflows the borrow variable. In such cases the subsequent right-shift of borrow would not bring in the overflow bit, leading to an error in the result. An example division that had overflow when MPZ_DIG_SIZE = 16 is `(2 ** 48 - 1) ** 2 // (2 ** 48 - 1)`. This is fixed in this commit by simplifying the code and handling the low digits of borrow first, and then the upper bits (to shift down) separately. There is no longer a distinction between `DIG_SIZE < MPZ_DBL_DIG_SIZE / 2` and `DIG_SIZE == MPZ_DBL_DIG_SIZE / 2`. This commit also simplifies the second part of the calculation so that borrow does not need to be negated (instead the code just works knowing that borrow is negative and using + instead of - in calculations involving borrow). Fixes #6777. Signed-off-by: NDamien George <damien@micropython.org>
-
- 05 2月, 2021 1 次提交
-
-
由 Damien George 提交于
No std-int types are used in gc.h, but size_t is which needs stddef.h. Signed-off-by: NDamien George <damien@micropython.org>
-
- 04 2月, 2021 8 次提交
-
-
由 Damien George 提交于
In particular the firmware can now be built in a build directory that lives outside the source tree, and the py/modarray.c file will still be found. See issue #6837. Signed-off-by: NDamien George <damien@micropython.org>
-
由 Damien George 提交于
To make it clear it is for mp_obj_t/mp_uint_t "word" types, and to prefix this macro with MP_. Signed-off-by: NDamien George <damien@micropython.org>
-
由 Damien George 提交于
The "word" referred to by BYTES_PER_WORD is actually the size of mp_obj_t which is not always the same as the size of a pointer on the target architecture. So rename this config value to better reflect what it measures, and also prefix it with MP_. For uses of BYTES_PER_WORD in setting the stack limit this has been changed to sizeof(void *), because the stack usually grows with machine-word sized values (eg an nlr_buf_t has many machine words in it). Signed-off-by: NDamien George <damien@micropython.org>
-
由 Damien George 提交于
To give this macro a standard MP_ prefix. Signed-off-by: NDamien George <damien@micropython.org>
-
由 Damien George 提交于
It's only used in one location, to test if << or >> will overflow when shifting mp_uint_t. For such a test it's clearer to use sizeof(lhs_val), which will be valid even if the type of lhs_val changes. Signed-off-by: NDamien George <damien@micropython.org>
-
由 Damien George 提交于
To simplify config, there's no need to specify MP_PLAT_PRINT_STRN if it's the same as the default definition in py/mpconfig.h. Signed-off-by: NDamien George <damien@micropython.org>
-
由 Xiang Xiao 提交于
Because gc.h doesn't reference any symbol from these header files. Signed-off-by: NXiang Xiao <xiaoxiang@xiaomi.com>
-
由 Damien George 提交于
Otherwise it resets the ADC peripheral each time a new ADC object is constructed, which can reset other state that has already been set up. See issue #6833. Signed-off-by: NDamien George <damien@micropython.org>
-
- 02 2月, 2021 2 次提交
-
-
由 Damien George 提交于
Signed-off-by: NDamien George <damien@micropython.org>
-
由 Damien George 提交于
Signed-off-by: NDamien George <damien@micropython.org>
-