- Jun 05, 2019
-
-
rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
- Jun 04, 2019
-
-
rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
Damien George authored
Fixes errors in the tool when 1) linking qstrs in native ARM-M code; 2) freezing multiple files some of which use native code and some which don't. Fixes issue #4829.
-
- Jun 03, 2019
-
-
Damien George authored
It doesn't work to tie the polling of an underlying NIC driver (eg to check the NIC for pending Ethernet frames) with its associated lwIP netif. This is because most NICs are implemented with IRQs and don't need polling, because there can be multiple lwIP netif's per NIC driver, and because it restricts the use of the netif->state variable. Instead the NIC should have its own specific way of processing incoming Ethernet frame. This patch removes this generic NIC polling feature, and for the only driver that uses it (Wiznet5k) replaces it with an explicit call to the poll function (which could eventually be improved by using a proper external interrupt).
-
Damien George authored
-
Damien George authored
Enable it by setting MICROPY_PY_NETWORK_CYW43=1 at the Makefile level.
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
To be used for peripherals (like radio) that must be location aware.
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
Building mpy-cross automatically leads to some issues with the build process and slows it down. Instead, require it to be built manually.
-
Damien George authored
From https://github.com/ARM-software/CMSIS_5.git, tag 5.5.1
-
- Jun 02, 2019
-
-
Nicko van Someren authored
-
Nicko van Someren authored
This adds support for SD cards using the ESP32's built-in hardware SD/MMC host controller, over either the SDIO bus or SPI. The class is available as machine.SDCard and using it can be as simple as: uos.mount(machine.SDCard(), '/sd')
-
- May 31, 2019
-
-
Damien George authored
-
Damien George authored
These are core configurations providing PYBv1.x-level features.
-
Damien George authored
-
Damien George authored
If the board-pin name is left empty then only the cpu-pin name is used, eg ",PA0". If the board-pin name starts with a hyphen then it's available as a C definition but not in the firmware, eg "-X1,PA0".
-
Damien George authored
Because py/mpconfig.h has header include guards.
-
Martin Dybdal authored
The patch solves the problem where multiple Timer objects (e.g. multiple Timer(0) instances) could initialise multiple handles to the same internal timer. The list of timers is now maintained not for "active" timers (where init is called), but for all timers created. The timers are only removed from the list of timers on soft-reset (machine_timer_deinit_all). Fixes #4078.
-
Damien George authored
To enable define MICROPY_HW_USB_CDC_NUM to 3.
-
- May 30, 2019
-
-
Damien George authored
The board config option MICROPY_HW_USB_ENABLE_CDC2 is now changed to MICROPY_HW_USB_CDC_NUM, and the latter should be defined to the maximum number of CDC interfaces to support (defaults to 1).
-
- May 29, 2019
-
-
Damien George authored
mpy-cross uses MICROPY_DYNAMIC_COMPILER and MICROPY_EMIT_NATIVE but does not actually need to execute native functions, and does not need mp_fun_table. This commit makes it so mp_fun_table and all its entries are not built when MICROPY_DYNAMIC_COMPILER is enabled, significantly reducing the size of the mpy-cross executable and allowing it to be built on more machines/OS's.
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Andrew Leech authored
Otherwise flushing and disabling the D-cache will give a hard-fault when SDRAM is used. Fixes #4818.
-
- May 28, 2019
-
-
Damien George authored
In d5f0c87b this call to tcp_poll() was added to put a timeout on closing TCP sockets. But after calling tcp_close() the PCB may be freed and therefore invalid, so tcp_poll() can not be used at that point. As a fix this commit calls tcp_poll() before closing the TCP PCB. If the PCB is subsequently closed and freed by tcp_close() or tcp_abort() then the PCB will not be on any active list and the callback will not be executed, which is the desired behaviour (the _lwip_tcp_close_poll() callback only needs to be called if the PCB remains active for longer than the timeout).
-
Damien George authored
Commit 2848a613 introduced a bug where lwip_socket_free_incoming() accessed pcb.tcp->state after the PCB was closed. The state may have changed due to that close call, or the PCB may be freed and therefore invalid. This commit fixes that by calling lwip_socket_free_incoming() before the PCB is closed.
-
Damien George authored
EAGAIN should be for pure non-blocking mode and ETIMEDOUT for when there is a finite (but non-zero) timeout enabled.
-
Damien George authored
-
Tom Manning authored
-
- May 27, 2019
-
-
Damien George authored
These are incorrect since 5a2599d9
-