summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-03-15tests/cpydiff: Indent workaround code snippet so it formats correctly.Damien George
2018-03-14esp32/machine_uart: Return None from UART read if no data is available.Damien George
This is instead of returning an empty bytes object, and matches how other ports handle non-blocking UART read behaviour.
2018-03-13drivers/memory/spiflash: Fix bugs in and clean up read/write functions.Damien George
mp_spiflash_read had a bug in it where "dest" and "addr" were incremented twice for a certain special case. This was fixed, which then allowed the function to be simplified to reduce code size. mp_spiflash_write had a bug in it where "src" was not incremented correctly for the case where the data to be written included the caching buffer as well as some bytes after this buffer. This was fixed and the resulting code simplified.
2018-03-13py/obj.h: Move declaration of mp_obj_list_init to objlist.h.Damien George
If this function is used then objlist.h is already included to get the definition of mp_obj_list_t.
2018-03-13py/obj.h: Clean up by removing commented-out inline versions of macros.Damien George
2018-03-13py/misc.h: Remove unused count_lead_ones() inline function.Damien George
This function was never used for unicode/utf8 handling code, or anything else, so remove it to keep things clean.
2018-03-12esp8266/esp_mphal.h: Fix I2C glitching by using input mode for od_high.Damien George
Certain pins (eg 4 and 5) seem to behave differently at the hardware level when in open-drain mode: they glitch when set "high" and drive the pin active high for a brief period before disabling the output driver. To work around this make the pin an input to let it float high.
2018-03-12extmod/vfs_fat: Add file size as 4th element of uos.ilistdir tuple.Tom Collins
2018-03-11stm32/qspi: Do an explicit read instead of using memory-mapped mode.Damien George
Using an explicit read eliminates the need to invalidate the D-cache after enabling the memory mapping mode, which takes additional time.
2018-03-11drivers/memory/spiflash: Fix setting of QE bit in flash register.Damien George
2018-03-10stm32/storage: Provide support for a second block device.Damien George
2018-03-10stm32/boards/STM32L476DISC: Provide SPI-flash bdev config.Damien George
This board shows how to configure external SPI flash as the main storage medium. It uses software SPI.
2018-03-10stm32/storage: Introduce MICROPY_HW_ENABLE_INTERNAL_FLASH_STORAGE cfg.Damien George
This config variable controls whether to support storage on the internal flash of the MCU. It is enabled by default and should be explicitly disabled by boards that don't want internal flash storage.
2018-03-10stm32/storage: Remove all SPI-flash bdev cfg, to be provided per board.Damien George
If a board wants to use SPI flash for storage then it must now provide the configuration itself, using the MICROPY_HW_BDEV_xxx macros.
2018-03-10stm32/storage: Make spi_bdev interface take a data pointer as first arg.Damien George
This allows a board to have multiple instances of the SPI block device.
2018-03-10stm32/storage: Merge all misc block-dev funcs into a single ioctl func.Damien George
It makes it cleaner, and simpler to support multiple different block devices. It also allows to easily extend a given block device with new ioctl operations.
2018-03-10drivers/memory/spiflash: Change to use low-level SPI object not uPy one.Damien George
This patch alters the SPI-flash memory driver so that it uses the new low-level C SPI protocol (from drivers/bus/spi.h) instead of the uPy SPI protocol (from extmod/machine_spi.h). This allows the SPI-flash driver to be used independently from the uPy runtime.
2018-03-10drivers/bus: Pull out software SPI implementation to dedicated driver.Damien George
This patch takes the software SPI implementation from extmod/machine_spi.c and moves it to a dedicated file in drivers/bus/softspi.c. This allows the SPI driver to be used independently of the uPy runtime, making it a more general component.
2018-03-09stm32/system_stm32: Fix CONFIG_RCC_CR_2ND value to use bitwise or.iabdalkader
2018-03-09docs/reference/repl.rst: Fix some minor errors in the REPL tutorial.Damien George
2018-03-09stm32/usbd_conf.h: Add include of stdint.h to fix compilation issues.Tom Collins
2018-03-09stm32: Remove startup_stm32.S, now provided in boards/ for each MCU.Damien George
2018-03-09stm32/Makefile: Use separate startup file for each MCU series.iabdalkader
2018-03-09stm32/boards: Add startup_stm32l4.s for L4 series specific startup.iabdalkader
2018-03-09stm32/boards: Add startup_stm32f4.s for F4 series specific startup.iabdalkader
2018-03-09stm32/boards: Add startup_stm32f7.s for F7 series specific startup.iabdalkader
2018-03-09stm32/boards: Add startup_stm32h7.s for H7 series specific startup.iabdalkader
2018-03-09stm32/main: Enable D2 SRAM1/2/3 clocks on H7 MCUs.iabdalkader
2018-03-09stm32/mpconfigboard_common: Add STM32H7 common configuration.iabdalkader
2018-03-09stm32/extint: Add EXTI support for H7 MCUs.iabdalkader
2018-03-09stm32/rtc: Add RTC support for H7 MCUs.iabdalkader
2018-03-09stm32/dma: Add DMA support for H7 MCUs.iabdalkader
2018-03-09stm32/stm32_it: Add support for H7 MCUs.iabdalkader
2018-03-09stm32/usbd_conf: Add USB support for H7 MCUs.iabdalkader
2018-03-09stm32/modmachine: Support basic H7 MCU features.iabdalkader
2018-03-09stm32/timer: Add Timer support for H7 MCUs.iabdalkader
2018-03-09stm32/uart: Add UART support for H7 MCUs.iabdalkader
2018-03-09stm32/wdt: Add WDT support for H7 MCUs.iabdalkader
2018-03-09stm32/mphalport: Use GPIO BSRRL/BSRRH registers for H7 MCUs.iabdalkader
2018-03-09stm32/system_stm32: Add H7 MCU system initialisation.iabdalkader
2018-03-09stm32/flash: Add flash support for H7 MCUs.iabdalkader
2018-03-09stm32/Makefile: Add settings to support H7 MCUs.iabdalkader
2018-03-09stm32/boards: Add new NUCLEO_H743ZI board configuration files.iabdalkader
USB serial and mass storage works, and the REPL is also available via the UART through the on-board ST-LINK.
2018-03-09stm32/boards: Add stm32h743.ld linker script.Damien George
2018-03-09lib/stm32lib: Update library to include support for STM32H7 MCUs.Damien George
Now points to the branch: work-F4-1.16.0+F7-1.7.0+H7-1.2.0+L4-1.8.1
2018-03-09stm32/boards: Add stm32h743_af.csv file describing H7 GPIO alt funcs.Damien George
2018-03-08tests/basics/builtin_enumerate: Add test for many pos args to enumerate.Damien George
2018-03-08unix/coverage: Allow coverage tests to pass with debugging disabled.Damien George
2018-03-07stm32/boards/NUCLEO_F767ZI: Update pins list to include 3 extra pins.sec2
2018-03-07stm32/boards/stm32f767_af.csv: Add ADC column to pin capability list.sec2