mbed-os/targets/TARGET_STM/TARGET_STM32F0
Francisco J. Manno 206e1b7634 STM32s Serial does not properly handle parity bits
Reworked the serial_format() function for STM32F0x
devices to take the format in the form:
data_bits - parity - stop_bits

E.g. 8 - N - 1

where data_bits exclude the parity bit.
Added a case for 7 bits data as at least the chips
STM32F0x1/STM32F0x2/STM32F0x8 support 7 bits data.

Consolidated serial_format() and uart_init()
functions into a general TARGET_STM serial_api.c
file since the functions are common to all STM targets.

Fixes #4189
2017-06-11 09:48:11 +01:00
..
TARGET_DISCO_F051R8 STM32: Fix 32-bit us ticker interrupt scheduling 2017-06-11 09:48:11 +01:00
TARGET_NUCLEO_F030R8 STM32: Fix 32-bit us ticker interrupt scheduling 2017-06-11 09:48:11 +01:00
TARGET_NUCLEO_F031K6 STM32: Fix 32-bit us ticker interrupt scheduling 2017-06-11 09:48:11 +01:00
TARGET_NUCLEO_F042K6 STM32: Fix 32-bit us ticker interrupt scheduling 2017-06-11 09:48:11 +01:00
TARGET_NUCLEO_F070RB STM32: Fix 32-bit us ticker interrupt scheduling 2017-06-11 09:48:11 +01:00
TARGET_NUCLEO_F072RB STM32: Fix 32-bit us ticker interrupt scheduling 2017-06-11 09:48:11 +01:00
TARGET_NUCLEO_F091RC STM32: Fix 32-bit us ticker interrupt scheduling 2017-06-11 09:48:11 +01:00
device Introduce stm32_assert.h for MBED port 2017-05-29 13:48:29 +02:00
analogin_api.c Renamed files in platform to match source names 2017-02-22 18:17:54 -06:00
analogout_api.c STM32 remove usage of deprecated MACROs 2017-05-09 16:48:34 +02:00
can_device.h Give access to HAL_GetTick function 2017-05-29 10:24:03 +02:00
common_objects.h Merge pull request #3488 from LMESTM/dev_stm_i2c_v2_unitary_functions 2017-01-09 10:15:55 -06:00
device.h restructure - Moved targets out to top level 2016-09-30 19:18:09 -05:00
gpio_irq_device.c STM32: move pin_lines_desc to c file 2017-02-16 19:34:11 +01:00
gpio_irq_device.h STM32: move pin_lines_desc to c file 2017-02-16 19:34:11 +01:00
i2c_device.h Fixes linking errors when building with debug profile 2017-01-12 15:09:28 -06:00
mbed_overrides.c INIT:GCC add call to HAL_Init 2016-10-27 10:40:28 +02:00
pin_device.h stm32: use default in switch case 2017-02-16 19:34:01 +01:00
pwmout_device.c STM32: move pwmout device tables to C file 2017-02-27 17:07:01 +01:00
pwmout_device.h STM32: move pwmout device tables to C file 2017-02-27 17:07:01 +01:00
serial_device.c STM32s Serial does not properly handle parity bits 2017-06-11 09:48:11 +01:00
spi_api.c [STM32] Deploy SPI_ASYNCH to all family 2016-10-13 14:18:21 +02:00