summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2018-03-07stm32/i2c: On F4 MCUs report the actual I2C SCL frequency.Damien George
2018-03-07docs/library/uos: Document mount, umount, VfsFat and block devices.Damien George
2018-03-07docs/library/uos: Create sections for distinct parts and document uname.Damien George
2018-03-05docs/library/micropython: Describe optimisation levels for opt_level().Damien George
2018-03-05docs/library/usocket: Make xref to uerrno explicitly a module reference.Damien George
2018-03-05esp32/modnetwork: Implement status('stations') to list STAs in AP mode.Lee Seong Per
The method returns a list of tuples representing the connected stations. The first element of the tuple is the MAC address of the station.
2018-03-05esp32: Revert "esp32/machine_touchpad: Swap pins 32 and 33."Damien George
This reverts commit 5a82ba8e073f847985595a46fb2f0c12f4389bbc. Touch sensor 8 and 9 have a mismatch in some of their registers and this is now fixed in software by the ESP IDF.
2018-03-05esp8266/esppwm: Always start timer to avoid glitch from full to nonfull.Olivier Ortigues
The PWM at full value was not considered as an "active" channel so if no other channel was used the timer used to mange PWM was not started. So when another duty value was set the PWM timer restarted and there was a visible glitch when driving LEDs. Such a glitch can be seen with the following code (assuming active-low LED on pin 0): p = machine.PWM(machine.Pin(0)) p.duty(1023) # full width, LED is off p.duty(1022) # LED flashes brightly then goes dim This patch fixes the glitch.
2018-03-04tests/extmod/time_ms_us: Fix ticks tests, ticks_diff args are reversed.Damien George
2018-03-04tests/extmod/time_ms_us: Add test for calling ticks_cpu().Damien George
This is just to test that the function exists and returns some kind of valid value. Although this file is for testing ms/us functions, put the ticks_cpu() test here so not to add a new test file.
2018-03-03tests/unix: Add coverage test for uio.resource_stream from frozen str.Damien George
2018-03-03stm32/qspi: Add hardware QSPI driver, with memory-map capability.Damien George
It supports the abstract QSPI protocol defined in drivers/bus/qspi.h.
2018-03-03stm32/spibdev: Convert to use multiple block read/write interface.Damien George
The spiflash driver now supports read/write of multiple blocks at a time.
2018-03-02stm32/storage: Add option for bdev to supply readblock/writeblocks.Damien George
If the underlying block device supports it, it's more efficient to read/write multiple blocks at once.
2018-03-02stm32/spibdev: Add option to configure SPI block dev to use QSPI flash.Damien George
To use QSPI (in software QSPI mode) the configuration needed is: #define MICROPY_HW_SPIFLASH_SIZE_BITS (n * 1024 * 1024) #define MICROPY_HW_SPIFLASH_CS (pin_x1) #define MICROPY_HW_SPIFLASH_SCK (pin_x2) #define MICROPY_HW_SPIFLASH_IO0 (pin_x3) #define MICROPY_HW_SPIFLASH_IO1 (pin_x4) #define MICROPY_HW_SPIFLASH_IO2 (pin_x5) #define MICROPY_HW_SPIFLASH_IO3 (pin_x6)
2018-03-02stm32/spibdev: Update to work with new spiflash driver.Damien George
2018-03-02extmod/machine_spi: Make SPI protocol structure public.Damien George
So it can be referenced directly without the need for the uPy object.
2018-03-02drivers/memory/spiflash: Add support for QSPI interface.Damien George
The spiflash memory driver is reworked to allow the underlying bus to be either normal SPI or QSPI. In both cases the bus can be implemented in software or hardware, as long as the spiflash driver is passed the correct configuration structure.
2018-03-02drivers/bus: Add QSPI abstract type with software QSPI implementation.Damien George
A new directory drivers/bus/ is introduced, which can hold implementations of bus drivers. A software QSPI implementation is added.
2018-03-02py/objint: Remove unreachable code checking for int type in format func.Damien George
All callers of mp_obj_int_formatted() are expected to pass in a valid int object, and they do: - mp_obj_int_print() should always pass through an int object because it is the print special method for int instances. - mp_print_mp_int() checks that the argument is an int, and if not converts it to a small int. This patch saves around 20-50 bytes of code space.
2018-03-02tests: Move heap-realloc-while-locked test from C to Python.Damien George
This test for calling gc_realloc() while the GC is locked can be done in pure Python, so better to do it that way since it can then be tested on more ports.
2018-03-01tests/unix: Add coverage tests for various GC calls.Damien George
2018-03-01py/formatfloat: Fix case where floats could render with negative digits.Damien George
Prior to this patch, some architectures (eg unix x86) could render floats with "negative" digits, like ")". For example, '%.23e' % 1e-80 would come out as "1.0000000000000000/)/(,*0e-80". This patch fixes the known cases.
2018-03-01py/formatfloat: Fix case where floats could render with a ":" character.Damien George
Prior to this patch, some architectures (eg unix x86) could render floats with a ":" character in them, eg 1e+39 would come out as ":e+38" (":" is just after "9" in ASCII so this is like 10e+38). This patch fixes some of these cases.
2018-03-01py/formatfloat: Fix rounding of %f format with edge-case FP values.Damien George
Prior to this patch the %f formatting of some FP values could be off by up to 1, eg '%.0f' % 123 would return "122" (unix x64). Depending on the FP precision (single vs double) certain numbers would format correctly, but others wolud not. This patch should fix all cases of rounding for %f.