zephyr/samples/drivers
Tomasz Bursztyka cced7fd47a api/spi: Change transceive functions signature
Instead of NULL terminated buffer arrays, let's add a parameter for each
that tells the number of spi_buf in it.

It adds a little bit more complexity in driver's side (spi_context.h)
but not on user side (bufer one has to take care of providing the NULL
pointer at the end of the array, now he requires to give the count).

This will saves a significant amount of bytes in more complex setup than
the current dumb spi driver sample.

Fix and Use size_t everywhere (spi_context.h was using u32_t).

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
2017-06-01 10:49:30 -04:00
..
aio_comparator samples: convert to using newly introduced integer sized types 2017-04-21 09:53:53 -05:00
crypto samples/crypto: Use sys_log properly 2017-04-27 13:06:35 +00:00
current_sensing samples: convert to using newly introduced integer sized types 2017-04-21 09:53:53 -05:00
gpio arch: sam3x: update Kconfig options after move to SAM SoC family tree 2017-05-03 13:51:37 -04:00
i2c_fujitsu_fram samples: convert to using newly introduced integer sized types 2017-04-21 09:53:53 -05:00
lcd_hd44780 samples: lcd_hd44780: return if binding fails 2017-05-18 11:19:11 -05:00
led_apa102c samples: convert to using newly introduced integer sized types 2017-04-21 09:53:53 -05:00
random samples: convert to using newly introduced integer sized types 2017-04-21 09:53:53 -05:00
rtc samples: convert to using newly introduced integer sized types 2017-04-21 09:53:53 -05:00
soc_flash_nrf5 samples: convert to using newly introduced integer sized types 2017-04-21 09:53:53 -05:00
spi api/spi: Change transceive functions signature 2017-06-01 10:49:30 -04:00
spi_flash samples: convert to using newly introduced integer sized types 2017-04-21 09:53:53 -05:00
spi_fujitsu_fram samples: convert to using newly introduced integer sized types 2017-04-21 09:53:53 -05:00
watchdog license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00