Jimmy Brisson
1f94ede86c
Merge pull request #4744 from deepikabhavnani/spi_issue_4743
...
Allow user to set default transfer byte for block read
2017-07-24 14:45:30 -05:00
Deepika
1b797e9081
Closed review comments
...
1. Doxygen and Grammar related
2. Change dummy to spi_fill
3. Remove NXP driver and add default loop in spi block read (same as all
other drivers)
2017-07-21 09:46:22 -05:00
Andrzej Puzdrowski
323633611c
nrf5 spi_api - coding style enhancement
2017-06-27 10:44:21 +02:00
Andrzej Puzdrowski
c1870afa86
Bugfix: #4357 simultaneous using of I2C and SPI.
...
Use serial-box of Nordic nRF5 SDK to share resource between
SPI and I2C.
SPI is allocated from highest hw instance number resource in order
to allocate as many I2C instances as possible.
2017-06-27 10:44:20 +02:00
Kevin Gilbert
f324647aae
Original pull request had added these checks to a deleted file. Replicating that change to allow builds on the NRF52840_DK (see original PR #4088 to see the explanation for the removal of spi async)
2017-06-08 17:31:24 -05:00
Christopher Haster
c1de19e49e
spi: Added default spi_master_block_write implementation to all targets
...
There is an easy default implementation of spi_master_block_write that
just calls spi_master_write in a loop, so the default implementation
of spi_master_block_write has been added to all targets.
2017-05-25 12:04:58 -05:00
Andrzej Puzdrowski
2ff5726827
[NRF5]
...
HAL driver: Add changes from needad for nrf52840 support
us_ticker, spi, sleep, serial, pwmout, pinmap, object, i2c, gpio, analogin
Add compatibility patches for:
- SoftDevice headers renamed (redirec by a few h files)
- sdk configuration (redirect by sdk_config.h files)
- renaming of func in softdevice handler module
2017-04-26 15:19:38 +02:00
Głąbek, Andrzej
4213c61073
TARGET_NRF: added a description of the recent change in spi_init().
2017-03-02 13:47:37 +01:00
Głąbek, Andrzej
678f3f9966
TARGET_NRF: corrected spi_init() to properly handle re-initialization on the same pins + minor editorial corrections.
2017-02-27 13:48:55 +01:00
Sam Grove
6d250a98c3
Merge pull request #2969 from nvlsianpu/nrf52_fix_app_priorities
...
[nRF52] - switch irq priorities of driver handlers to the lowest level
2016-11-03 02:11:58 -05:00
Andrzej Puzdrowski
8302ce0625
Fix - Remove unwanted changes to the legacy nrf51822 target (caused by rebase). ad applied them to
...
to regular targets.
Fix a typo and polish nordic's code.
2016-10-10 16:50:03 +02:00
Andrzej Puzdrowski
1ca0918996
nRF52 - switch irq priorities of driver handlers to level (APP_IRQ_PRIORITY_LOWEST) 7.
...
This is fix for bad settings inherited from nRF5 SDK. It might caused eroneus behavior when nrf_drv API were called form irq context etc.
2016-10-10 14:00:29 +02:00
Andrzej Puzdrowski
5c721b401c
Remove unwanted #ifdef form nRF5 targets spi_api implementations.
...
Reduce size of no-init section to precisely fit to size of vector in RAM.
2016-10-10 09:45:31 +02:00
Andrzej Puzdrowski
5c08a01d0c
Intorduce NVIC_SetVector functionality for nRF5 port
...
# Conflicts:
# hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/serial_api.c
# hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/us_ticker.c
2016-10-10 09:45:31 +02:00
Christopher Haster
0bad622a16
restructure - Moved targets out to top level
...
hal/targets -> targets
hal/targets.json -> targets/targets.json
2016-09-30 19:18:09 -05:00