- Feb 07, 2019
-
-
Yonatan Goldschmidt authored
Previously crypto-algorithms impl was included even if MICROPY_SSL_MBEDTLS was in effect, thus we relied on the compiler/linker to cut out the unused functions.
-
Damien George authored
-
Damien George authored
This is a good board to demonstrate the use of Mboot because it only has a USB HS port exposed so the native ST DFU mode cannot be used. With Mboot this port can be used.
-
Damien George authored
-
Damien George authored
If a custom bootloader is enabled (eg mboot) then machine.bootloader() will now enter that loader. To get the original ST DFU loader pass any argument to the function, like machine.bootloader(1).
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
- Feb 06, 2019
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
- Feb 05, 2019
-
-
Damien George authored
See issue #4457.
-
Yonatan Goldschmidt authored
-
Yonatan Goldschmidt authored
-
Paul Sokolovsky authored
Based on git history.
-
Damien George authored
Also enable CONFIG_SPIRAM_IGNORE_NOTFOUND to allow boards with faulty or missing SPIRAM to still boot.
-
- Feb 02, 2019
-
-
Stig Bjørlykke authored
Don't exclude the Timer instance 1 entry from machine_timer_obj[] when using soft PWM. The usage is already checked when creating the Timer, so just create an empty entry.
-
- Jan 31, 2019
-
-
Andrew Leech authored
It's off by default and can be enabled at run-time with: pyb.USB_VCP().init(flow=pyb.USB_VCP.RTS)
-
Stig Bjørlykke authored
-
Ayke van Laethem authored
-
Damien George authored
-
Ayke van Laethem authored
Code size change: nrf51: -44 nrf52: -52
-
Ayke van Laethem authored
Code size reductions: nrf51: -132 nrf52: -188
-
Ayke van Laethem authored
If needed these parameters can be added back and made functional one at a time. It's better to explicitly not support them than to silently allow but ignore them.
-
Ayke van Laethem authored
This saves a bit of code: nrf51: -176 nrf52: -152
-
Paul Sokolovsky authored
Python defines warnings as belonging to categories, where category is a warning type (descending from exception type). This is useful, as e.g. allows to disable warnings selectively and provide user-defined warning types. So, implement this in MicroPython, except that categories are represented just with strings. However, enough hooks are left to implement categories differently per-port (e.g. as types), without need to patch each and every usage.
-
Damien George authored
With clock bypass enabled the attached SD card is clocked at the maximum 48MHz. But some SD cards are unreliable at these rates. Although it's nice to have high speed transfers it's more important that the transfers are reliable for all cards. So disable this clock bypass option.
-
Damien George authored
Enable in mpconfigboard.h via #define MBOOT_USB_AUTODETECT_USB (1). Requires MICROPY_HW_USB_FS and MICROPY_HW_USB_HS to be enabled as well.
-
Damien George authored
-
- Jan 30, 2019
-
-
Damien George authored
Fixes issue #4445.
-
Damien George authored
Otherwise the STA interface can't do DTIM sleeping correctly and power consumption goes up.
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
Use of "waiti 0" reduces power consumption by about 3mA compared to a time.sleep_ms call.
-
Damien George authored
While keeping machine.sleep as an alias for machine.lightsleep for backwards compatibility.
-
Damien George authored
-