zephyr/samples/drivers
Jon Medhurst 93f49c20e9 samples: uart: Check return value from uart_fifo_fill
If the UART FIFO is already full at the start of the irq tests (e.g.
because the data from the previous polled mode test is still being
transmitted), then uart_fifo_fill() may not not be able to add the
requested character to the FIFO and so return zero.

Fix this issue by repeating retrying uart_fifo_fill() until success.

Change-Id: I055ca1d4c91d81488b89f2a9b00031b9f2b8b222
Signed-off-by: Jon Medhurst <tixy@linaro.org>
2016-07-21 16:16:24 +00:00
..
adc sys_log: replace old debug macro on ADC driver sample. 2016-06-20 20:40:31 +00:00
aio_comparator aio: unify kconfig variables and make them consistent 2016-05-12 10:57:24 +00:00
aon_counter qmsi: aon_counters: use built-in qmsi driver 2016-04-22 20:46:29 -04:00
button samples: Using new GPIO API callbacks 2016-04-22 22:17:39 -04:00
current_sensing samples: drivers: current_sensing: update tags testcase.ini 2016-06-29 05:43:30 +00:00
disco samples/drivers/disco: add 'disco' sample program 2016-03-18 20:49:32 +00:00
gpio samples: Use GPIO_0 as the default instance 2016-05-20 10:54:06 -04:00
grove_lcd grove: use default i2c device set in Kconfig 2016-04-25 17:01:48 +00:00
i2c_fujitsu_fram samples: I2c FRAM app bug fix 2016-05-26 01:36:52 +00:00
i2c_lsm9ds0 samples: get rid of obsolete usage of ARCH variable 2016-05-12 10:57:28 +00:00
i2c_stts751 samples: get rid of obsolete usage of ARCH variable 2016-05-12 10:57:28 +00:00
lcd_hd44780 samples: gpio: lcd: sample app for HD44780 LCD controller 2016-05-29 22:28:17 +00:00
led_apa102c led_apa102c: rename local configuration and use printk 2016-04-30 13:43:31 -04:00
pci_enum testcases: sanity check TCs get more language for real HW 2016-06-14 23:49:56 +00:00
pwm samples: pwm: rename local configuration and use printk 2016-04-30 13:43:31 -04:00
rtc rtc: unify kconfig variable names 2016-05-12 10:57:24 +00:00
sensor_apds9960 apds9960: Fix reference to i2c driver 2016-05-23 21:32:01 +00:00
spi_flash sample/flash: update sample usage for flash erase operation 2016-05-25 13:31:13 +00:00
spi_lsm9ds0 samples: Add wiring info for Quark D2000 CRB 2016-02-20 14:57:45 +00:00
spi_test samples: get rid of obsolete usage of ARCH variable 2016-05-12 10:57:28 +00:00
uart samples: uart: Check return value from uart_fifo_fill 2016-07-21 16:16:24 +00:00
w25q80bl spi: consalidate and simplify 2016-05-12 10:57:26 +00:00
watchdog watchdog: unify kconfig variables 2016-05-12 10:57:24 +00:00