Rami Ali
27a503f632
stmhal: Refactor UART configuration to use pin objects.
...
This follows the pattern of other peripherals (I2C, SPI) to specify the
pins using pin objects instead of a pair of GPIO port and pin number. It
makes it easier to customise the UART pins for a particular board.
2016-12-05 14:26:41 +11:00
Krzysztof Blazewicz
7928b3e347
stmhal/boards: configure all F4 boards to work with new HAL
...
changes include:
* use single GPIO.BSRR instead of BSRRH and BSRRL
* change HSE_STARTUP_TIMEOUT to 100 ms
* define LSE_STARTUP_TIMEOUT to 5 s
2016-11-16 12:43:27 +01:00
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
Dave Hylands
031fadd10e
stmhal: Add board definition files for NUCLEO_F411RE
2016-03-12 16:16:15 -08:00