- 24 6月, 2019 2 次提交
-
-
由 Damien George 提交于
-
由 Damien George 提交于
-
- 22 6月, 2019 1 次提交
-
-
由 Damien George 提交于
WIFI_REASON_AUTH_FAIL does not necessarily mean the password is wrong, and a wrong password may not lead to a WIFI_REASON_AUTH_FAIL error code. So to improve reliability connecting to a WLAN always reconnect regardless of the error.
-
- 19 6月, 2019 2 次提交
-
-
由 Damien George 提交于
These s16-s21 registers are used by gcc so need to be saved. Future versions of gcc (beyond v9.1.0), or other compilers, may eventually need additional registers saved/restored. See issue #4844.
-
由 Damien George 提交于
This updates ESP IDF to use v3.3-beta3. And also adjusts README.md to point to stable docs which provide a link to download the correct toolchain for this IDF version, namely 1.22.0-80-g6c4433a-5.2.0
-
- 17 6月, 2019 2 次提交
-
-
由 Nicko van Someren 提交于
And fix minor typo in docs when referring to SDCard class.
-
由 Paul m. p. P 提交于
-
- 14 6月, 2019 1 次提交
-
-
由 Chris Mason 提交于
Previously the end of the heap was the start (lowest address) of the stack. With the changes in this commit these addresses are now independent, allowing a board to place the heap and stack in separate locations.
-
- 11 6月, 2019 7 次提交
-
-
由 Damien George 提交于
-
由 Damien George 提交于
With this the user can select multiple logical units to expose over USB MSC at once, eg: pyb.usb_mode('VCP+MSC', msc=(pyb.Flash(), pyb.SDCard())). The default behaviour is the original behaviour of just one unit at a time.
-
由 Damien George 提交于
-
由 Damien George 提交于
Eventually these responses could be filled in by a function to make their contents dynamic, depending on the attached logical units. But for now they are fixed, and this patch fixes the MODE SENSE(6) responses so it is the correct length with the correct header.
-
由 Damien George 提交于
So the MSC interface can customise the inquiry response based on the attached logical units.
-
由 Damien George 提交于
SCSI can support multiple logical units over the one interface (in this case over USBD MSC) and here the MSC code is reworked to support this feature. At this point only one LU is used and the behaviour is mostly unchanged from before, except the INQUIRY result is different (it will report "Flash" for both flash and SD card).
-
由 Damien George 提交于
Previously, when linking qstr objects in native code for ARM Thumb, the index into the machine code was being incremented by 4, not 8. It should be 8 to account for the size of the two machine instructions movw and movt. This patch makes sure the index into the machine code is incremented by the correct amount for all variations of qstr linking. See issue #4829.
-
- 05 6月, 2019 11 次提交
-
-
由 Damien George 提交于
-
由 Damien George 提交于
-
由 Damien George 提交于
-
由 Damien George 提交于
-
由 Damien George 提交于
To use it a board should define MICROPY_PY_USSL=1 and MICROPY_SSL_MBEDTLS=1 at the Makefile level. With the provided configuration it adds about 64k to the build.
-
由 Damien George 提交于
-
由 Damien George 提交于
As long as the submodule is checked out, mbedTLS is now fully integrated into the unix build if MICROPY_SSL_MBEDTLS=1.
-
由 Damien George 提交于
Setting MICROPY_PY_USSL and MICROPY_SSL_MBEDTLS at the Makefile-level will now build mbedTLS from source and include it in the build, with the ussl module using this TLS library. Extra settings like MBEDTLS_CONFIG_FILE may need to be provided by a given port. If a port wants to use its own mbedTLS library then it should not set MICROPY_SSL_MBEDTLS at the Makefile-level but rather set it at the C level, and provide the library as part of the build in its own way (see eg esp32 port).
-
由 Damien George 提交于
From upstream source: https://github.com/ARMmbed/mbedtls.git
-
由 Damien George 提交于
To logically separate extmod related rules out, and prevent py.mk from growing too large.
-
由 Yonatan Goldschmidt 提交于
Instead of converting to a small-int at runtime this can be done at compile time, then we only have a simple comparison during runtime. This reduces code size on some ports (e.g -4 on qemu-arm, -52 on unix nanbox), and for others at least doesn't increase code size.
-
- 04 6月, 2019 1 次提交
-
-
由 Damien George 提交于
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.
-
- 03 6月, 2019 13 次提交
-
-
由 Damien George 提交于
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 提交于
-
由 Damien George 提交于
Enable it by setting MICROPY_PY_NETWORK_CYW43=1 at the Makefile level.
-
由 Damien George 提交于
-
由 Damien George 提交于
-
由 Damien George 提交于
-
由 Damien George 提交于
To be used for peripherals (like radio) that must be location aware.
-
由 Damien George 提交于
-
由 Damien George 提交于
-
由 Damien George 提交于
-
由 Damien George 提交于
-
由 Damien George 提交于
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 提交于
From https://github.com/ARM-software/CMSIS_5.git, tag 5.5.1
-