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

42 Commits

Author SHA1 Message Date
1dc6e0e32b
drivers/nrf24l01p: model in Kconfig 2023-05-24 10:18:53 +02:00
Karl Fessel
05f114d0af doc: fix unbalaced grouping
- most were trivial
    - missing group close or open
    - extra space
    - no doxygen comment
- name commad might open an implicit group
    this hould also be implicit cosed but does not happen somtimes
- crazy: internal declared groups have to be closed internal
2022-09-14 15:05:25 +02:00
Francisco Molina
24a848e844 drivers/nrf24l01p: migrate to ztimer 2022-01-18 16:27:44 +01:00
Francisco
a1cbcc9ede
Merge pull request #15902 from maribu/spi-api-change-1
drivers/periph_spi: let spi_acquire return void
2021-09-02 08:50:56 +02:00
Marian Buschsieweke
732cbd969c
drivers: update to new periph_spi API 2021-09-01 21:38:40 +02:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
Bas Stottelaar
92b1dfc703 drivers/*: realign ENABLE_DEBUG 2020-10-23 01:26:09 +02:00
Benjamin Valentin
2e34298265 drivers/nrf24l01p: use unsigned char 2020-07-31 13:38:03 +02:00
304bce3724
drivers: configure per driver dependency resolution 2020-07-20 14:32:16 +02:00
490126cfa0
drivers: move USEMODULE_INCLUDES in each driver directories 2020-07-15 20:36:27 +02: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
808e44243e
drivers/nrf24l01p: fix potentially undefined return value 2019-10-28 14:46:57 +01:00
Benjamin Valentin
d92e2b25ac drivers/nrf24l01p: rename CMD_NOP -> CMD_NOOP
This prevents a conflict with an unrelated Atmel header file.
2019-10-17 19:20:31 +02:00
smlng
57c5c9b6a6 make: enable Wall and Wextra by default, and optionally Wpedantic 2017-11-28 20:33:39 +01:00
smlng
b283b7784c make: fix various compile errors with Wextra
pkg, nordic_softdevice_ble: disable CFLAGS to omit compiler error
        sys, pm_layered: fix casting nonscalar to the same type
        cpu, stm32_common: fix type-limits, remove always true assert
        cpu, stm32f4: fix pointer arithmetic in periph/i2c
        drivers, at86rf2xx: fix type-limits where condition always true
        saul, gpio: fix if no gpio configured for saul
        cpu, saml21: add frequency check to periph/timer
        driver, cc110x: fix unused param and type-limts errors
        boards, wsn430-common: fix old-style-declaration
        make: fix old style definition
        drivers, sdcard_spi: fix old style typedef
        driver, at30tse: remove unnecessary check
        driver, nrf24: fix type-limit
        driver, pn532: change buffer from char to uint8_t
        tests/driver_sdcard: fix type limits
        boards, feather-m0: add missing field inits
        driver, tcs37727: fix type limits
        pkg, emb6: disable some compiler warnings
        tests/emb6: disable some compiler warings
        pkg, openthread: fix sign compare and unused params
        tests/trickle: fix struct init
        tests/pthread_cooperation: fix type limits
        board, mips-malta: remove feature periph_uart
        shell: fix var size for netif command
        gnrc, netif: fix sign-compare
        gnrc, nib: fix sign-compare
        shell: fix output in netif command
        posix: fix type-limits in pthread_cond
2017-11-28 18:31:43 +01:00
kYc0o
1927104298 drivers/nrf24l01p: fix vars lengths 2017-11-08 20:10:16 +01:00
94c753c07a drivers: doxygen cleanup 2017-09-01 15:12:20 +02:00
Joakim Nohlgård
065bc62e0a netdev: Make set() value parameter const void * 2017-08-25 13:41:19 +02:00
317716419c drivers: use const device descriptor 2017-06-21 17:05:45 +02:00
Cenk Gündoğan
3629796937 drivers/nrf24l01p: add function to disable crc 2017-03-22 13:39:47 +01:00
Hauke Petersen
e6db9587db drivers/nrf24l01: removed doxgen warnings
- de-blacklisted nrf24l01p_settings.h from doxygen excludes
- fixed doc for that file
2017-03-07 12:19:43 +01:00
Hauke Petersen
5cb10ca9ea drivers/nrf24l01: adapted to SPI API changes 2017-01-25 16:46:46 +01:00
Joakim Nohlgård
7c48c891a0 xtimer: Update xtimer usage to match API changes 2016-11-29 20:44:31 +01:00
7718f114cb all: remove pointer casts for msg.content.ptr 2016-06-02 23:13:42 +02:00
Hauke Petersen
e51d634aeb drivers: adapted gpio_init(_x)() calls 2016-03-17 14:55:30 +01:00
PeterKietzmann
e2cd3b1508 drivers/nrf24l01p: unified return values and fixed doc 2016-02-29 12:00:01 +01:00
Cenk Gündoğan
c0369f04f6 drivers: make default channel configurable at compile time 2016-02-16 13:07:17 +01:00
Marc Poulhiès
de5a7e00c6 drivers/nrf24l01p : dynamic ack and dynamic payload
Add method for enabling/disable dynamic ack and dynamic payloads on
nrf24l01+ devices.
Also add function for reseting one or more interrupts.
2016-01-26 09:59:53 +01:00
Joakim Nohlgård
98c465008b all: Update @gebart family name, email 2015-09-20 13:47:39 +02:00
a5dd9cb29b drivers: nrf24l01p: rename DELAY microsecond defines to *_US 2015-09-16 10:58:56 +02:00
3edc40e4c5 drivers: nrf24l01p: use xtimer 2015-09-16 10:58:51 +02:00
Hauke Petersen
2cc2d9f740 drivers: adjusted drivers to changed GPIO interface 2015-06-12 19:10:29 +02:00
Joakim Gebart
0ae1a3d7e5 drivers/nrf24l01p: Replace tabs by spaces 2015-05-18 07:10:53 +02:00
Alexandru Caciulescu
69c4cd2aca drivers/nrf24l01p: Repair header file include guards 2015-03-24 17:55:38 +02:00
Ludwig Ortmann
cec87139a5 core, cpu, drivers, tests: remove trailing space 2015-02-18 13:52:48 +01:00
PeterKietzmann
e56b821774 drivers/nrf24l01p: change API and fix initial setup 2015-01-21 09:47:18 +01:00
Joakim Gebart
c457cd954d nrf24l01p: Acquire exclusive access to SPI bus.
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-19 19:05:40 +01:00
Joakim Gebart
b6d94d9525 nrf24l01p: Remove superfluous delays in nrf24l01p_on, nrf24l01p_off.
The delays were introduced in an attempt to fix "inexplicable timing
errors", although the errors were in the SPI bus driver rather than the
nrf24l01p driver.

See also:
 - https://github.com/RIOT-OS/RIOT/pull/1704
 - https://github.com/RIOT-OS/RIOT/pull/2315

Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-19 19:05:40 +01:00
Joakim Gebart
a991d7c58e nrf24l01p: Remove redundant gpio_clear/gpio_set.
This change removes extra gpio_clear(dev->cs) before calling
nrf24l01p_read_reg(), nrf24l01p_write_reg(). The GPIO handling is not
necessary since nrf24l01p_{read,write}_reg() handle the CS pin
internally.

Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-19 19:05:39 +01:00
Ludwig Ortmann
1340fadcbe boards,drivers,examples: unset ENABLE_DEBUG 2014-12-12 14:29:06 +01:00
Hinnerk van Bruinehsen
e7d0a7664f lint: fix possible nullptr deref in *pwr 2014-11-28 01:07:33 +01:00
PeterKietzmann
d8a26d5aa6 Initial import of nrf24l01p lowlevel functions 2014-11-26 13:50:29 +01:00