sommersoft
f21038b913
sphinx fix; incorrect currentmodule ref
2018-03-09 20:24:07 +00:00
Scott Shawcroft
f00d2814b7
Merge pull request #661 from kattni/add-am2320-to-driver-list
...
Added AM2320 to driver list
2018-03-09 12:05:12 -08:00
Scott Shawcroft
9bcdf40410
Merge pull request #662 from siddacious/dotstar_fixes
...
fixes hardware dotstar support for 3.0 and addresses issue #514
2018-03-09 12:02:53 -08:00
Damien George
0d5bccad11
stm32/storage: Provide support for a second block device.
2018-03-10 01:03:27 +11:00
Damien George
bb3359f357
stm32/boards/STM32L476DISC: Provide SPI-flash bdev config.
...
This board shows how to configure external SPI flash as the main storage
medium. It uses software SPI.
2018-03-10 00:59:43 +11:00
Damien George
626d6c9756
stm32/storage: Introduce MICROPY_HW_ENABLE_INTERNAL_FLASH_STORAGE cfg.
...
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-10 00:59:43 +11:00
Damien George
d1c4bd69df
stm32/storage: Remove all SPI-flash bdev cfg, to be provided per board.
...
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-10 00:59:43 +11:00
Damien George
1803e8ef22
stm32/storage: Make spi_bdev interface take a data pointer as first arg.
...
This allows a board to have multiple instances of the SPI block device.
2018-03-10 00:59:43 +11:00
Damien George
1e4caf0b1e
stm32/storage: Merge all misc block-dev funcs into a single ioctl func.
...
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-10 00:59:43 +11:00
Damien George
a739b35a96
drivers/memory/spiflash: Change to use low-level SPI object not uPy one.
...
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-10 00:59:43 +11:00
Damien George
58ebeca6a9
drivers/bus: Pull out software SPI implementation to dedicated driver.
...
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-10 00:59:43 +11:00
iabdalkader
ad2a6e538c
stm32/system_stm32: Fix CONFIG_RCC_CR_2ND value to use bitwise or.
2018-03-09 23:37:09 +11:00
Damien George
9cef2b03a7
docs/reference/repl.rst: Fix some minor errors in the REPL tutorial.
2018-03-09 16:14:58 +11:00
Tom Collins
993f4345c0
stm32/usbd_conf.h: Add include of stdint.h to fix compilation issues.
2018-03-09 16:08:08 +11:00
Bryan Siepert
942b7ffbe0
fixes hardware dotstar support for 3.0 and addresses issue #514
2018-03-08 20:39:47 -08:00
Damien George
eb56efb434
stm32: Remove startup_stm32.S, now provided in boards/ for each MCU.
2018-03-09 15:14:24 +11:00
iabdalkader
66748aaf60
stm32/Makefile: Use separate startup file for each MCU series.
2018-03-09 15:14:17 +11:00
iabdalkader
88157715db
stm32/boards: Add startup_stm32l4.s for L4 series specific startup.
2018-03-09 15:14:10 +11:00
iabdalkader
e3b81f5712
stm32/boards: Add startup_stm32f4.s for F4 series specific startup.
2018-03-09 15:14:03 +11:00
iabdalkader
d84f1a90cc
stm32/boards: Add startup_stm32f7.s for F7 series specific startup.
2018-03-09 15:13:56 +11:00
iabdalkader
0f5cce7753
stm32/boards: Add startup_stm32h7.s for H7 series specific startup.
2018-03-09 15:13:13 +11:00
iabdalkader
bbf19bb64e
stm32/main: Enable D2 SRAM1/2/3 clocks on H7 MCUs.
2018-03-09 15:12:58 +11:00
iabdalkader
61d463ad07
stm32/mpconfigboard_common: Add STM32H7 common configuration.
2018-03-09 15:12:44 +11:00
iabdalkader
6d3f42f713
stm32/extint: Add EXTI support for H7 MCUs.
2018-03-09 15:12:34 +11:00
iabdalkader
711f817c2a
stm32/rtc: Add RTC support for H7 MCUs.
2018-03-09 15:12:29 +11:00
iabdalkader
0e51e4d139
stm32/dma: Add DMA support for H7 MCUs.
2018-03-09 15:12:19 +11:00
iabdalkader
fe29419c10
stm32/stm32_it: Add support for H7 MCUs.
2018-03-09 15:12:01 +11:00
iabdalkader
2858e0aef8
stm32/usbd_conf: Add USB support for H7 MCUs.
2018-03-09 15:11:22 +11:00
iabdalkader
d151adb791
stm32/modmachine: Support basic H7 MCU features.
2018-03-09 15:10:53 +11:00
iabdalkader
0989e0cdff
stm32/timer: Add Timer support for H7 MCUs.
2018-03-09 15:10:46 +11:00
iabdalkader
b982b95c18
stm32/uart: Add UART support for H7 MCUs.
2018-03-09 15:10:39 +11:00
iabdalkader
a863c60439
stm32/wdt: Add WDT support for H7 MCUs.
2018-03-09 15:10:31 +11:00
iabdalkader
3f86fbcb07
stm32/mphalport: Use GPIO BSRRL/BSRRH registers for H7 MCUs.
2018-03-09 15:10:10 +11:00
iabdalkader
2e93d4167d
stm32/system_stm32: Add H7 MCU system initialisation.
2018-03-09 15:09:56 +11:00
iabdalkader
81f8f5f163
stm32/flash: Add flash support for H7 MCUs.
2018-03-09 15:09:49 +11:00
iabdalkader
b8d09b9bef
stm32/Makefile: Add settings to support H7 MCUs.
2018-03-09 15:09:29 +11:00
iabdalkader
fabfacf3d7
stm32/boards: Add new NUCLEO_H743ZI board configuration files.
...
USB serial and mass storage works, and the REPL is also available via the
UART through the on-board ST-LINK.
2018-03-09 15:08:11 +11:00
Damien George
8522874167
stm32/boards: Add stm32h743.ld linker script.
2018-03-09 15:08:11 +11:00
Damien George
e22ef277b8
lib/stm32lib: Update library to include support for STM32H7 MCUs.
...
Now points to the branch: work-F4-1.16.0+F7-1.7.0+H7-1.2.0+L4-1.8.1
2018-03-09 14:31:34 +11:00
sommersoft
01471e1e22
sphinx fix; added toctree to include 'runtime'
2018-03-09 03:22:00 +00:00
Damien George
a3c721772e
stm32/boards: Add stm32h743_af.csv file describing H7 GPIO alt funcs.
2018-03-09 14:06:34 +11:00
sommersoft
c1c3a79ec4
atmel-samd: changed Status to Runtime; instituted runtime singleton
2018-03-09 02:19:51 +00:00
Kattni
fa8f1a29e5
moved to top of list for alphabetical order
2018-03-07 23:10:25 -05:00
Damien George
72adc381fb
tests/basics/builtin_enumerate: Add test for many pos args to enumerate.
2018-03-08 12:51:06 +11:00
Damien George
0b88a9f02e
unix/coverage: Allow coverage tests to pass with debugging disabled.
2018-03-08 12:49:31 +11:00
Kattni
2de471950a
Added AM2320 to driver list
2018-03-07 17:25:43 -05:00
sec2
250b24fe36
stm32/boards/NUCLEO_F767ZI: Update pins list to include 3 extra pins.
2018-03-07 18:53:02 +11:00
sec2
bda3620616
stm32/boards/stm32f767_af.csv: Add ADC column to pin capability list.
2018-03-07 18:40:06 +11:00
Damien George
024edafea0
stm32/i2c: On F4 MCUs report the actual I2C SCL frequency.
2018-03-07 14:59:03 +11:00
Damien George
8359210e71
docs/library/uos: Document mount, umount, VfsFat and block devices.
2018-03-07 14:50:38 +11:00