1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

49 Commits

Author SHA1 Message Date
Marian Buschsieweke
e407460243
cpu/nrf51: fix periph_i2c driver
The `i2c_read_bytes()` and `i2c_write_bytes()` function return the
number of bytes written / read, instead of `0` as the API contract
says. This fixes the issue.
2023-11-24 10:03:07 +01:00
Gunar Schorcht
007e29ebb5 cpu/periph/i2c: update implementations to new I2C API
Make all `spi_acquire` implementations return `void` and add assertions to check for valid device identifier where missing.
2021-11-29 06:35:25 +01:00
Marian Buschsieweke
f04b522601
cpu/periph_spi: update implementations to new API
Make all spi_acquire() implementations return `void` and add assertions to
check for valid parameters, where missing.
2021-09-01 21:38:40 +02:00
Bas Stottelaar
22243aec7a cpu/*: realign ENABLE_DEBUG 2020-10-23 00:46:26 +02:00
Bas Stottelaar
ab6188cea3 cpu/*: add missing include of assert.h 2020-10-22 11:13:08 +02:00
hugues
692f99989a cpu/nrf51/periph/adc: removes ADC configuration loading 2020-08-27 03:59:44 +02:00
8761c47e43
nrf51: move common SPI implementation 2020-05-12 19:15:25 +02:00
Gunar Schorcht
b2356d29c5 cpu/nrf51: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Marian Buschsieweke
a468af79a4
cpu/nrf51/periph: adc_sample() now returns int32_t 2020-01-10 14:13:14 +01:00
Francois Berder
4a31f94cfc many typo fixes
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-11-23 22:39:07 +01:00
Marian Buschsieweke
01f77433a8
cpu/nrf51: Updated i2c_release() 2019-08-22 12:03:08 +02:00
Semjon Kerner
9e63671eab cpu/nrf51: fix formatting uint to PRIu32 2018-08-13 17:56:05 +02:00
3e6336ce89 cpu/nrf51: adapt to new I2C api 2018-07-25 12:01:39 +02:00
Semjon Kerner
ad993263e9 cpu/nrf51/pwm: initial implementation 2018-04-25 15:54:00 +02:00
smlng
1540ec0509 nrf51: fix returns and error codes in periph/i2c 2017-11-13 13:38:47 +01:00
Hauke Petersen
399169ddcf cpu/nrf51: remove guards from periph drivers 2017-11-09 12:30:21 +01:00
a20745b6c5 cpu: make use of Makefile.periph 2017-11-06 12:01:19 +01:00
smlng
692cf96297 doc: fix doxygen grouping of cpu periph drivers 2017-06-26 14:42:11 +02:00
Hauke Petersen
e1dde6b456 cpu/nrf5x: unified rtt driver 2017-04-06 11:58:52 +02:00
Hauke Petersen
334b2a6dc1 cpu/nrf52: added support for nRF52840
- added vendor header files for nrf52840
- added config for nrf52840
- added additional isr vectors for the nrf52840
- enabled port 1 in GPIO driver
- adapted periph drivers to cope with GPIO driver changes
- adapted the GPIO config of the I2C driver for the nrf51
2017-04-05 16:43:49 +02:00
Hauke Petersen
b097e0840b cpu/nrf5x+boards: adapted to new SPI API
- adapted the SPI driver
- merged SPI drivers from nrf51 and nrf52
- adapted all boards using the CPU
2017-01-25 16:46:05 +01:00
Hauke Petersen
b5920a38b9 cpu/nrf5x: unified pm.c 2017-01-18 14:54:56 +01:00
c2b48ca230 cpu: nrf51: initial periph/pm support 2017-01-12 16:26:02 +01:00
Hauke Petersen
ee56f37809 cpu/nrf51: added I2C driver implementation 2017-01-10 11:52:36 +01:00
Hauke Petersen
3a00fe8e49 cpus: make use of cortexm_isr_end() 2016-12-21 11:28:46 +01:00
Joakim Nohlgård
0a847d53a7 cpu: Fix array-bounds errors with GCC 6 2016-07-13 19:23:42 +02:00
Hauke Petersen
843c456f4b cpu/nrf51: adapted ADC driver to interface changes 2016-03-14 13:06:23 +01:00
Joakim Nohlgård
f551850642 cpu/nrf51: Use {} notation for empty while loops 2016-03-03 16:30:06 +01:00
Hauke Petersen
a182a44147 cpu/nrf5x: unified hwrng driver 2016-03-01 23:22:03 +01:00
Hauke Petersen
2a92907c96 cpu/nrf: unified and optimized timer driver 2016-03-01 22:20:27 +01:00
Hauke Petersen
b11a3ad74b cpus: adapted timer implementations to API changes 2016-02-29 14:45:00 +01:00
Joakim Nohlgård
698b2841d1 cpu/nrf51: spi: Fix input check warnings
- Cast enum to unsigned int for comparison
 - Remove redundant checks
 - Add default case for missing devices
2016-02-28 00:05:49 +01:00
Joakim Nohlgård
e2f7ac78f0 Merge pull request #4040 from gebart/pr/periph-timer-init-freq
periph/timer: Change timer_init API to support arbitrary (integer) frequencies
2016-02-15 23:36:44 +01:00
Hauke Petersen
7b9a5ae889 cpu/nrf51: adapted HWRNG implementation 2016-02-14 12:59:46 +01:00
Joakim Nohlgård
9ac6176745 cpu/nrf51: Update to match timer_init API change 2016-02-13 21:29:36 +01:00
Hauke Petersen
8dd790bb33 cpu/nrf5x: unified CPUID driver implementation 2016-02-09 16:59:10 +01:00
Hauke Petersen
209e18debd cpu/nrf5x: unified UART driver 2016-02-09 16:58:56 +01:00
Hauke Petersen
d1808717cb cpu/nrf5x: unificitaion of GPIO driver 2016-02-09 16:58:56 +01:00
Hauke Petersen
940097336a cpu: cleanup and unification of CPUID implementations
- moved definition of CPUID_LEN to periph_cpu.h
- fixed some doxygen
- simplyfied some implementations
2016-02-08 14:36:03 +01:00
Hauke Petersen
ad0abdcadd cpus: use default isr_ctx struct in GPIO drivers 2016-01-27 17:00:37 +01:00
Oleg Hahm
e88ebc1c84 cpu nrf51: fix pedantic compiler warnings
Make compiler doesn't complain about unused variables and unnamed unions.
2015-12-07 20:28:52 +01:00
Hauke Petersen
d32c03932e cpu/nrf51: adapted UART driver 2015-10-27 14:59:37 +01:00
Peter Kietzmann
59e2fd8a22 Merge pull request #4148 from LudwigKnuepfer/pr/nrf51-adc
cpu/nrf51 + boards: add ADC implementation
2015-10-27 14:49:32 +01:00
Peter Kietzmann
e539db10ee Merge pull request #4104 from gebart/pr/drop-timer-reset
periph/timer: Drop timer_reset
2015-10-26 08:36:01 +01:00
Ludwig Knüpfer
73d21efe7d cpu/nrf51: add ADC driver 2015-10-25 14:30:14 +01:00
Ludwig Knüpfer
0b5918003f cpu/nrf51 + boards: fix typo - TIEMER -> TIMER 2015-10-25 08:07:21 +01:00
Joakim Nohlgård
cbaeccdb90 periph/timer: Drop timer_reset 2015-10-17 20:11:03 +02:00
Hauke Petersen
696dff5da3 cpu/nrf51: fixedd cppcheck issue in spi.c 2015-07-14 18:22:03 +02:00
haukepetersen
9c46a40005 cpu: renamed nrf51822 to nrf51 2015-07-14 18:15:42 +02:00