Benjamin Valentin
127b46eea3
drivers/mtd_flashpage: require read source & destination alignment
2021-02-23 10:59:17 +01:00
Benjamin Valentin
0b79ae3524
drivers/mtd_flashpage: require the write source buffer to be aligned
2021-02-22 11:27:07 +01:00
benpicco
2f919877c0
Merge pull request #15987 from benpicco/drivers/mtd_spi_nor-fix
...
drivers/mtd_spi_nor: fix poll on init
2021-02-22 11:16:29 +01:00
Martine Lenders
de4ee0f934
Merge pull request #15562 from benpicco/socket_zep_register
...
socket_zep: register with netdev, provide EUI-64 as command line parameter
2021-02-20 20:32:01 +01:00
benpicco
8348437713
Merge pull request #16039 from chudov/drivers/at86rf2xx_aes_spi/module_name_fix
...
drivers/at86rfr2xx: usage of module at86rf2xx_aes_spi fixed
2021-02-18 18:10:10 +01:00
benpicco
d6c5bf4295
Merge pull request #16038 from chudov/drivers/at86rf2xx_netdev.c/trx24_rx_start_isr_fix
...
drivers/at86rf2xx: add missing handler for TRX24_RX_START interrupt
2021-02-18 15:02:29 +01:00
Benjamin Valentin
177f73c789
drivers/mtd_flashpage: make use of uword_t
2021-02-18 14:22:11 +01:00
chudov
762716049d
drivers/at86rfr2xx: usage of module at86rf2xx_aes_spi fixed
2021-02-17 20:47:18 +01:00
benpicco
cdf8c1c759
Merge pull request #16029 from fabian18/bugfix_nrf24l01p_ng_ard_conversion
...
drivers/nrf24l01p_ng: auto retransmission delay conversion bugfix
2021-02-17 12:02:24 +01:00
Benjamin Valentin
1ca93e0171
drivers/mtd_flashpage: narrow down FLASHPAGE_WRITE_BLOCK_ALIGNMENT check
...
Only check the *write* block alignment, not the *read* or *source* alignment.
2021-02-17 11:18:14 +01:00
chudov
d5c8703c48
drivers/at86rf2xx: add missing handler for TRX24_RX_START interrupt for ATmegaRF MCUs
2021-02-17 01:03:01 +01:00
Fabian Hüßler
85a84aa957
drivers/nrf24l01p_ng: ARD conversion bugfix
2021-02-16 17:36:43 +01:00
Memiks
e6cb7392d7
drivers/bmx280: remove unused parameter spi3w_en #15954
2021-02-16 09:04:08 +09:00
Benjamin Valentin
c1348c80a0
drivers/mtd_spi_nor: fix poll on init
...
The while condition for polling the chip ID is broken, it will always
poll for the max ammount of retries.
Change the condition from `or` to `and` to fix the logic.
fixes #15894
2021-02-11 22:49:42 +01:00
Marian Buschsieweke
acd9f4cc1a
drivers/periph_ptp: fix adjustment API
...
The clock adjustment API only used a 16 bit integer for speed correction. This
is to course grained to allow compensating clock drifts at high accuracy.
Using a 32 bit integer instead would allow to fix for a drift of up to
about 1 nanosecond drift per each 5 seconds.
That ought to be enough for anyone! (*cough* *cough*)
2021-02-10 09:55:52 +01:00
Francisco Molina
85caf7cbc7
drivers/flashpage: add FLASHPAGE_ERASE_STATE definition
2021-02-09 11:11:46 +01:00
benpicco
a5e5ec5215
Merge pull request #15897 from bergzand/pr/riotboot/flashwrite_remove_flashpage_size
...
riotboot/flashwrite: Remove last dependencies on flashpage size
2021-02-01 17:21:09 +01:00
Jens Wetterich
533428448d
drivers/ina3221: Add docs to SAUL group
2021-02-01 14:31:11 +01:00
Jens Wetterich
8dff7b57ad
drivers/ina3221: Fix compatibility with C++
2021-02-01 14:31:11 +01:00
c93c3e46d6
flashpage: Support non uniform flashpage sizes
2021-02-01 14:27:22 +01:00
Marian Buschsieweke
ae79f5fc59
drivers/periph/spi: clean up error codes and doc
...
- Use negative errno as error codes, rather than home-grown enums
- Update the home-grown enum with negative errno codes for backward
compatibility and mark it deprecated
- Update API doc to use negative errno codes
- Fix various style issues in Doxygen doc
- Use `@retval` to document specific return values instead of abusing
`@return` for this
- Align parameters to proper indent level
2021-02-01 11:02:14 +01:00
iosabi
2aa7b92884
drivers/lis2dh12: Rename CS ad MODE to avoid conflicts
...
CS and MODE are a bit too generic macros and may conflict with headers
defined by the CPU, like in the QN908x case.
This patch renames them to BUS_CS and BUS_MODE to keep it consistent
with the other BUS names.
2021-01-31 16:27:23 +00:00
Dylan Laduranty
1f085cfd03
Merge pull request #15843 from benpicco/mtd_write_page_hl
...
mtd: rename mtd_write_page() -> mtd_write_page_raw(), add high-level mtd_write_page()
2021-01-28 18:43:42 +01:00
Benjamin Valentin
c569d9a1d9
drivers: add MTD_DRIVER_FLAG_DIRECT_WRITE to mtd drivers
...
- EEPROMs don't need read-modify-write cylce
- SD cards will handle read-modify-write internally
2021-01-28 11:51:28 +01:00
Benjamin Valentin
e8bbe1d1c7
mtd: re-add mtd_write_page()
...
Add a write_page() command that performs a read-modify-write cycle
if necessary.
2021-01-28 11:51:28 +01:00
Akshai M
9600ebf536
net/lorawan : Expose to Kconfig
2021-01-26 16:56:02 +01:00
Akshai M
85c4b5eb3b
net/lorawan : Move 'LORAMAC_DEFAULT_JOIN_DELAY2' to 'CONFIG_'
2021-01-26 16:52:59 +01:00
Akshai M
b6e4e74a87
net/lorawan : Move 'LORAMAC_DEFAULT_JOIN_DELAY1' to 'CONFIG_'
2021-01-26 16:52:59 +01:00
Akshai M
81dac00d5c
net/lorawan : Move 'LORAMAC_DEFAULT_RX2_FREQ' to 'CONFIG_'
2021-01-26 16:52:59 +01:00
Akshai M
d5086ecf60
net/lorawan : Move 'LORAMAC_DEFAULT_RX2_DR' to 'CONFIG_'
...
Added symbols 'CONFIG_LORAMAC_DEFAULT_RX2_DR_XX' to define
choice in Kconfig
2021-01-26 16:52:58 +01:00
Akshai M
d48cee7c2a
net/lorawan : Move 'LORAMAC_DEFAULT_RX1_DELAY' to 'CONFIG_'
2021-01-26 16:52:58 +01:00
Akshai M
ca4acbff12
net/lorawan : Move 'LORAMAC_DEFAULT_LINKCHK' to 'CONFIG_'
2021-01-26 16:52:58 +01:00
Akshai M
e93c362df2
net/lorawan : Move 'LORAMAC_DEFAULT_RETX' to 'CONFIG_'
2021-01-26 16:52:58 +01:00
Akshai M
97d873a5bd
net/lorawan : Move 'LORAMAC_DEFAULT_ADR' to 'CONFIG_'
...
Move 'LORAMAC_DEFAULT_ADR' to 'CONFIG_' namespace and model
'CONFIG_LORAMAC_DEFAULT_ADR' as BOOL for Kconfig
2021-01-26 16:52:58 +01:00
Akshai M
d2d90fbce5
net/lorawan : Move 'LORAMAC_DEFAULT_TX_MODE' to 'CONFIG_'
...
Move 'LORAMAC_DEFAULT_TX_MODE' to 'CONFIG_' and added symbols
for Kconfig exposure
2021-01-26 16:52:58 +01:00
Akshai M
aa3b1da0c4
net/lorawan : Move 'LORAMAC_DEFAULT_TX_PORT' to 'CONFIG_'
2021-01-26 16:52:58 +01:00
Akshai M
3a6c4f2f71
net/lorawan : Move 'LORAMAC_DEFAULT_TX_POWER' to 'CONFIG_'
...
Move 'LORAMAC_DEFAULT_TX_POWER' to 'CONFIG_' namespace and
assign choices for Kconfig exposure
2021-01-26 16:52:58 +01:00
Akshai M
55f196095d
net/lorawan : Move 'LORAMAC_DEFAULT_DR' to 'CONFIG_'
...
Move 'LORAMAC_DEFAULT_DR' to 'CONFIG_' and enable options for
Kconfig
2021-01-26 16:52:58 +01:00
Benjamin Valentin
60eb75da3c
mtd: rename mtd_write_page() -> mtd_write_page_raw()
...
The function will not abstract away the behavior of the underlying media
(e.g. whether only 1 -> 0 writes are possible without erase), thus rename it.
2021-01-26 11:48:26 +01:00
Benjamin Valentin
d8918c24fa
socket_zep: register with netdev
2021-01-25 22:59:01 +01:00
Fabian Hüßler
7d618afa17
nrf24l01p_ng: make use of netdev_register()
2021-01-24 20:49:39 +01:00
Fabian Hüßler
063ff60890
drivers/include: add NETDEV_NRF24L01P_NG
2021-01-24 20:49:39 +01:00
fabian18
f7a77ebb04
drivers/nrf24l01p_ng: netdev driver for nrf24l01+
...
The driver uses the netdev interface. Due to the limited
capabilities of the transceiver (32 byte FIFO and no source address in the layer2 frame),
it relies on 6LowPAN compression and adds the source address to the frame for that.
2021-01-24 20:49:39 +01:00
Jean Pierre Dudey
273721efc0
drivers: add bq2429x power management IC driver
...
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-01-22 19:30:12 +01:00
Francisco
1d9b898e9f
Merge pull request #15717 from leandrolanzieri/pr/kconfig/drivers_s
...
drivers/s*: add modules to Kconfig
2021-01-21 16:49:21 +01:00
Marian Buschsieweke
040aab470a
Merge pull request #15825 from maribu/fix-dfplayer-error-handling
...
drivers/dfplayer: fix error handling
2021-01-21 12:23:34 +01:00
Marian Buschsieweke
d28f74d301
Merge pull request #15824 from maribu/at86rf2xx-fix-null-ptr-check
...
drivers/at86rf2xx: fix null pointer check
2021-01-21 12:18:53 +01:00
Leandro Lanzieri
88f69e1f17
drivers/sx127x: add modules to Kconfig
2021-01-21 11:22:51 +01:00
Leandro Lanzieri
c8cbc2f20e
drivers/stmpe811: add module to Kconfig
2021-01-21 11:22:32 +01:00
Leandro Lanzieri
b8676e02fa
drivers/srf08: add module to Kconfig
2021-01-21 11:22:32 +01:00
Leandro Lanzieri
526a322842
drivers/srf04: add module to Kconfig
2021-01-21 11:22:32 +01:00
Leandro Lanzieri
8a2854ef93
drivers/srf02: add module to Kconfig
2021-01-21 11:22:32 +01:00
Leandro Lanzieri
c1ee0c437f
drivers/sps30: add module to Kconfig
2021-01-21 11:22:32 +01:00
Leandro Lanzieri
d5ca9550e1
drivers/soft_uart: add modules to Kconfig
2021-01-21 11:22:32 +01:00
Leandro Lanzieri
858187dc25
drivers/soft_spi: add module to Kconfig
2021-01-21 11:22:31 +01:00
Leandro Lanzieri
a492400cee
drivers/slipdev: add modules to Kconfig
2021-01-21 11:22:31 +01:00
Leandro Lanzieri
3d480c1d33
drivers/si1133: add module to Kconfig
...
Also remove auto-dependency from Makefile.dep
2021-01-21 11:22:31 +01:00
Leandro Lanzieri
60f60798d1
drivers/si114x: add modules to Kconfig
2021-01-21 11:22:31 +01:00
Leandro Lanzieri
f1f58018ad
drivers/si70xx: add modules to Kconfig
2021-01-21 11:22:31 +01:00
Leandro Lanzieri
1830533428
drivers/shtc1: add module to Kconfig
2021-01-21 11:22:31 +01:00
Leandro Lanzieri
8d345260d9
drivers/sht3x: add module to Kconfig
2021-01-21 11:22:30 +01:00
Leandro Lanzieri
e6dead79d9
drivers/sht2x: add module to Kconfig
2021-01-21 11:22:30 +01:00
Leandro Lanzieri
6ecac5548a
drivers/sht1x: add modules to Kconfig
2021-01-21 11:22:30 +01:00
Leandro Lanzieri
95206d0346
kconfig/saul: select phydat and enable saul_registry by default
2021-01-21 11:22:30 +01:00
Leandro Lanzieri
a97e786e81
drivers/servo: add module to Kconfig
2021-01-21 11:22:29 +01:00
Leandro Lanzieri
c212fe3512
drivers/seesaw_soil: add module to Kconfig
2021-01-21 11:22:06 +01:00
Leandro Lanzieri
3b46124954
drivers/sds011: add module to Kconfig
2021-01-21 11:22:06 +01:00
Leandro Lanzieri
7d489936cf
drivers/sdp3x: add modules to Kconfig
2021-01-21 11:22:06 +01:00
Leandro Lanzieri
50946f8b0d
drivers/scd30: add module to Kconfig
2021-01-21 11:22:03 +01:00
Marian Buschsieweke
0bc08dfbbc
drivers/dfplayer: fix error handling
...
The error code was previously overwritten :-/ this clearly is not how it is
intended to work.
2021-01-21 10:36:24 +01:00
Marian Buschsieweke
bc2a225e53
drivers/at86rf2xx: fix null pointer check
...
check if argument is NULL *before* using it :-)
2021-01-21 10:23:40 +01:00
Leandro Lanzieri
c0ff2e04d6
drivers/ws281x: add modules to Kconfig
2021-01-21 10:02:34 +01:00
Leandro Lanzieri
2c7616d7d5
drivers/veml6070: add module to Kconfig
2021-01-21 10:02:34 +01:00
Leandro Lanzieri
80cc89510b
drivers/vcnl40x0: add modules to Kconfig
2021-01-21 10:02:34 +01:00
Leandro Lanzieri
977b517229
drivers/usbdev_mock: add module to Kconfig
2021-01-21 10:02:27 +01:00
Leandro Lanzieri
b4696a6d08
drivers/tsl4531x: add module to Kconfig
2021-01-21 10:02:27 +01:00
Leandro Lanzieri
13f1b70d25
drivers/tsl2561: add module to Kconfig
2021-01-21 10:02:27 +01:00
Leandro Lanzieri
cce98d2288
drivers/tps6274x: add module to Kconfig
2021-01-21 10:02:27 +01:00
Leandro Lanzieri
ddbf155cdb
drivers/touch_dev: add module to Kconfig
2021-01-21 10:02:27 +01:00
Leandro Lanzieri
c8e0e49943
drivers/tmp00x: add modules to Kconfig
2021-01-21 10:02:27 +01:00
Leandro Lanzieri
c3c7040d6c
drivers/tja1042: add module to Kconfig
2021-01-21 10:02:27 +01:00
Leandro Lanzieri
785148dd6c
drivers/tcs37727: add module to Kconfig
2021-01-21 10:02:27 +01:00
Francisco
b46116d77e
Merge pull request #15607 from leandrolanzieri/pr/kconfig/drivers_lmn
...
drivers/{l, m, n}*: add modules to Kconfig
2021-01-18 11:45:46 +01:00
Leandro Lanzieri
d8cf1c9440
drivers/nvram_spi: add module to Kconfig
2021-01-18 10:42:35 +01:00
Leandro Lanzieri
bfacb78f31
drivers/nvram: add module to Kconfig
2021-01-18 10:42:35 +01:00
Leandro Lanzieri
52b838b877
drivers/ncv7356: add module to Kconfig
2021-01-18 10:42:35 +01:00
Leandro Lanzieri
4ada286f89
drivers/mtd_spi_nor: add module to Kconfig
2021-01-18 10:42:35 +01:00
Leandro Lanzieri
b3df3cf931
drivers/mtd_sdcard: add module to Kconfig
2021-01-18 10:42:34 +01:00
Leandro Lanzieri
db3349d052
drivers/mtd_mci: add module to Kconfig
2021-01-18 10:42:34 +01:00
Leandro Lanzieri
1950f5a532
drivers/mtd_mapper: add module to Kconfig
2021-01-18 10:42:34 +01:00
Leandro Lanzieri
105001a977
drivers/mtd_flashpage: add module to Kconfig
2021-01-18 10:42:34 +01:00
Leandro Lanzieri
c574ac999e
drivers/mq3: add module to Kconfig
2021-01-18 10:42:34 +01:00
Leandro Lanzieri
91e88522af
drivers/mpu9x50: add module to Kconfig
2021-01-18 10:42:33 +01:00
Leandro Lanzieri
b959e3a11e
drivers/mpl3115a2: add module to Kconfig
2021-01-18 10:42:33 +01:00
Leandro Lanzieri
a69b854b17
drivers/motor_driver: add module to Kconfig
2021-01-18 10:42:33 +01:00
Leandro Lanzieri
245a04b612
drivers/mma7660: add module to Kconfig
2021-01-18 10:42:33 +01:00
Leandro Lanzieri
d22ef9087d
drivers/mma8x5x: add module to Kconfig
2021-01-18 10:42:33 +01:00
Leandro Lanzieri
e977dec8fb
drivers/mhz19: add modules to Kconfig
2021-01-18 10:42:33 +01:00
Leandro Lanzieri
a155b3f28e
drivers/mcp2515: add module to Kconfig
2021-01-18 10:42:32 +01:00
Leandro Lanzieri
22bc6a7935
drivers/mag3110: add module to Kconfig
2021-01-18 10:42:32 +01:00