Damien George
b4cc68e4a4
stmhal/led: Refactor LED to use mp_hal_pin_output() init function.
...
As part of this patch the MICROPY_HW_LED_OTYPE setting is removed because
it is now unused (all boards anyway had this as OUTPUT_PP).
2016-10-18 14:43:05 +11:00
David Siorpaes
b67eb20ed0
stmhal: Fix I2C mappings for STM32F429DISC board.
2016-08-04 22:51:53 +10:00
Paul Sokolovsky
97a0846af9
stmhal/diskio: Introduce MICROPY_HW_HAS_FLASH setting.
...
To allow to reuse stmhal/diskio for ports which don't have flash but have
other storage devices.
2016-02-06 15:07:01 +02:00
Tobias Badertscher
c5d8ffef58
stmhal: Extend SPI support to fully support all SPI devices on STM32F429.
...
This includes SPI4, SPI5 and SPI6.
2015-12-16 00:38:36 +00:00
Damien George
f7c4f9a640
stmhal: For SPI config, use HW_SPIx_SCK instead of HW_ENABLE_SPIx.
...
Previously, SPI was configured by a board defining MICROPY_HW_ENABLE_SPIx
to 0 or 1. Now, the board should define MICROPY_HW_SPIx_SCK, MISO, MOSI
and NSS. This makes it the same as how I2C is configured.
2015-12-12 15:02:02 +00:00
Tobias Badertscher
8844d031e4
stmhal: Add support for the STM32F429I-DISCO kit by STMicro.
2015-11-25 23:53:26 +00:00