| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-02-08 | stm32/systick: Provide better compile-time configurability of slots. | Damien George | |
| 2019-02-08 | stm32/pendsv: Add ability to schedule callbacks at pendsv IRQ level. | Damien George | |
| 2019-02-08 | stm32/pendsv: Clean up pendsv IRQ handler and eliminate duplicate code. | Damien George | |
| 2019-02-08 | stm32/systick: Make periodic systick callbacks use a cyclic func table. | Damien George | |
| Instead of checking each callback (currently storage and dma) explicitly for each SysTick IRQ, use a simple circular function table indexed by the lower bits of the millisecond tick counter. This allows callbacks to be easily enabled/disabled at runtime, and scales well to a large number of callbacks. | |||
| 2019-02-08 | stm32/systick: Rename sys_tick_XXX functions to systick_XXX. | Damien George | |
| 2019-02-07 | extmod/moduhashlib: Include implementation of sha256 only when required. | Yonatan Goldschmidt | |
| 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. | |||
| 2019-02-07 | esp32/modmachine: Add support for changing the CPU frequency. | Damien George | |
| 2019-02-07 | stm32/boards/STM32F769DISC: Configure for use with mboot by default. | Damien George | |
| 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. | |||
| 2019-02-07 | stm32/boards/STM32F769DISC: Support the use of USB HS with external PHY. | Damien George | |
| 2019-02-07 | stm32/modmachine: Make bootloader() enter custom loader if it's enabled. | Damien George | |
| 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). | |||
| 2019-02-07 | stm32/usbd_conf: Fully support USB HS with external PHY. | Damien George | |
| 2019-02-07 | stm32/usb: Use USB HS as main USB device regardless of USB_HS_IN_FS. | Damien George | |
| 2019-02-07 | stm32/mboot: Allow deploying via deploy-stlink. | Damien George | |
| 2019-02-07 | stm32/mboot: Add support for GPIO ports G, H, I and J. | Damien George | |
| 2019-02-07 | stm32/mboot: Add support for STM32F769 MCUs. | Damien George | |
| 2019-02-07 | stm32/mboot: Use USB HS as main USB device regardless of USB_HS_IN_FS. | Damien George | |
| 2019-02-06 | stm32/adc: Add basic support for ADC on a pin on STM32H7 MCUs. | Damien George | |
| 2019-02-06 | stm32/boards/stm32h743_af.csv: Add ADC entries to pin capability table. | Damien George | |
| 2019-02-06 | stm32/boards/make-pins.py: Add basic support for STM32H7 ADC periphs. | Damien George | |
| 2019-02-06 | lib/utils/printf: Exclude __GI_vsnprintf alias for gcc 9 and above. | Damien George | |
| See issue #4457. | |||
| 2019-02-06 | py/mpconfig.h: Fix comments mentioning dangling file and variable names. | Yonatan Goldschmidt | |
| 2019-02-06 | py/builtinhelp: Only print help re FS modules if external import enabled | Yonatan Goldschmidt | |
| 2019-02-06 | py: Update my copyright info on some files. | Paul Sokolovsky | |
| Based on git history. | |||
| 2019-02-06 | esp32: Use SPIRAM in mem-map mode so all of it can be used for uPy heap. | Damien George | |
| Also enable CONFIG_SPIRAM_IGNORE_NOTFOUND to allow boards with faulty or missing SPIRAM to still boot. | |||
| 2019-02-02 | nrf/timer: Fix disabling Timer 1 when using soft PWM. | Stig Bjørlykke | |
| 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. | |||
| 2019-01-31 | stm32/usb: Add flow control option for USB VCP data received from host. | Andrew Leech | |
| It's off by default and can be enabled at run-time with: pyb.USB_VCP().init(flow=pyb.USB_VCP.RTS) | |||
| 2019-01-31 | nrf/ticker: Remove duplicate NRFX_IRQ_PRIORITY_SET. | Stig Bjørlykke | |
| 2019-01-31 | nrf/pin: Print pull information in Pin.__str__. | Ayke van Laethem | |
| 2019-01-31 | lib/nrfx: Upgrade to nrfx v1.3.1. | Damien George | |
| 2019-01-31 | nrf/pin: Cleanup Pin.__str__ to print relevant information. | Ayke van Laethem | |
| Code size change: nrf51: -44 nrf52: -52 | |||
| 2019-01-31 | nrf: Shrink "<peripheral> does not exist" error messages. | Ayke van Laethem | |
| Code size reductions: nrf51: -132 nrf52: -188 | |||
| 2019-01-31 | nrf/uart: Remove unused machine.UART() parameters. | Ayke van Laethem | |
| 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. | |||
| 2019-01-31 | nrf/uart: Use formula instead of switch for baudrate calculation. | Ayke van Laethem | |
| This saves a bit of code: nrf51: -176 nrf52: -152 | |||
| 2019-01-31 | py/warning: Support categories for warnings. | Paul Sokolovsky | |
| 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. | |||
| 2019-01-31 | stm32/sdcard: Don't use SD clock bypass on F7 MCUs. | Damien George | |
| 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. | |||
| 2019-01-31 | stm32/mboot: Add option to autodetect the USB port that DFU uses. | Damien George | |
| 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. | |||
| 2019-01-31 | extmod/modlwip: Add support for polling UDP sockets for writability. | Damien George | |
| 2019-01-31 | stm32/boards/stm32f429_af.csv: Fix typos in UART defs Tx->TX and Rx->RX. | Damien George | |
| Fixes issue #4445. | |||
| 2019-01-31 | esp8266/modmachine: In lightsleep, only waiti if wifi is turned off. | Damien George | |
| Otherwise the STA interface can't do DTIM sleeping correctly and power consumption goes up. | |||
| 2019-01-30 | docs: Convert all cases of machine.sleep to machine.lightsleep. | Damien George | |
| 2019-01-30 | nrf/modmachine: Rename machine.sleep to machine.lightsleep. | Damien George | |
| 2019-01-30 | cc3200/modmachine: Rename machine.sleep to machine.lightsleep. | Damien George | |
| 2019-01-30 | esp8266/modmachine: Implement simple machine.lightsleep function. | Damien George | |
| Use of "waiti 0" reduces power consumption by about 3mA compared to a time.sleep_ms call. | |||
| 2019-01-30 | esp8266/modmachine: Rename machine.sleep to machine.lightsleep. | Damien George | |
| While keeping machine.sleep as an alias for machine.lightsleep for backwards compatibility. | |||
| 2019-01-30 | esp8266/modmachine: Implement optional time_ms arg to machine.deepsleep. | Damien George | |
| 2019-01-30 | esp32/modmachine: Rename machine.sleep to machine.lightsleep. | Damien George | |
| While keeping machine.sleep as an alias for machine.lightsleep for backwards compatibility. | |||
| 2019-01-30 | esp32/modsocket: Fix crashes when connect/bind can't resolve given addr. | Damien George | |
| Fixes issue #4441. | |||
| 2019-01-28 | lib/utils/pyexec: Implement paste mode with event driven REPL. | Damien George | |
| 2019-01-28 | stm32/main: Make board-defined UART REPL use a static object and buffer. | Damien George | |
| This way the UART REPL does not need the MicroPython heap and exists outside the MicroPython runtime, allowing characters to still be received during a soft reset. | |||
| 2019-01-28 | esp32/boards: Use auto xtal freq config instead of default 40MHz. | Damien George | |
| Auto-detection of the crystal frequency is convenient and allows for a single binary for many different boards. But it can be unreliable in certain situations so in production, for a given board, it's recommended to configure the correct fixed frequency. | |||
