Commit Graph

7 Commits

Author SHA1 Message Date
Nico Tonnhofer aeb98b557b STM32F411: cleanup code with using pinio.h macros. 2017-03-03 18:54:57 +01:00
Nico Tonnhofer 01be683b6c STM32F411: Enable all GPIO-clocks in SystemInit()
Serial pins are also there.
2017-03-03 18:54:56 +01:00
Nico Tonnhofer b9107397b2 STM32F411: serial-stm32.c: allow sending arbitrarily long messages.
On ARM we use only the 16 byte hardware buffer for sending and
receiving over the serial line, which is often too short for
debugging messages. This implementation works fine and still
neither blocks nor introduces delays for short messages.

Removed while-loop. Looks like we need some more us than the LPC?!? With +7us
we do not lose characters anymore.
2017-03-03 18:54:56 +01:00
Nico Tonnhofer eb8c5a39e1 STM32F411: cleaning mbed
delete mbed-stm32f4xx_hal_
- dma.h
- flash.h
- legacy.h
- pwr.h
- uart.h

    SIZES          ARM...     stm32f411
    FLASH  :  3108 bytes           1%
    RAM    :   208 bytes           1%
    EEPROM :     0 bytes           0%
2017-03-03 18:54:55 +01:00
Nico Tonnhofer 3af3919303 STM32F411: clean mbed-stm32f4xx_*.h from *_ex.h
Everything in one shot is too much. Really easy to delete those _ex.h-files.
    SIZES          ARM...     stm32f411
    FLASH  :  3132 bytes           1%
    RAM    :   212 bytes           1%
    EEPROM :     0 bytes           0%
2017-03-03 18:54:55 +01:00
Nico Tonnhofer a890fecc6d STM32F411: use arduino.h for UART pinout.
delete 11 mbed-files
    SIZES          ARM...     stm32f411
    FLASH  :  3124 bytes           1%
    RAM    :   212 bytes           1%
    EEPROM :     0 bytes           0%
2017-03-03 18:54:55 +01:00
Nico Tonnhofer e5494c6951 STM32F411: move serial handling code directly into serial-arm_stm.c 2017-03-03 18:54:55 +01:00