benpicco
2614831c86
Merge pull request #16137 from maribu/stm32_rtt
...
drivers/periph_rtt: add periph_rtt_set_counter feautre
2021-03-08 16:53:57 +01:00
Marian Buschsieweke
ab89234040
drivers/periph/rtt: add periph_rtt_set_counter feature
...
Some periph_rtt implementations do not provide `rtt_set_counter()`. This
adds `periph_rtt_set_counter` as feature to allow testing for its
availability. The feature is provided at CPU level if periph_rtt is
provided by the board for all CPUs implementing `rtt_set_counter()`.
2021-03-08 14:16:46 +01:00
Jean Pierre Dudey
e54af1ce40
Merge pull request #16136 from silkeh/pr/bme280-pa
...
driver/bmx280: increase accuracy of SAUL pressure readings
2021-03-05 11:26:06 +01:00
Silke Hofstra
3ca1162a6a
driver/bmx280: increase accuracy of SAUL pressure readings
...
The SAUL implementation of the BMx280 currently returns the pressure in hPa.
The sensor, however, actually reads the pressure in Pa, leading to a
significant loss of precision.
Because the operation range of the BME280 and BMP280 is 300 hPa to 1100 hPa,
we can safely increase the precision by a factor of 10 without risk of overflow.
The only downside is that readings are now presented as `e1 Pa` (eg 10206e1 Pa).
2021-03-04 21:01:56 +01:00
Francisco
d369dffb4f
Merge pull request #14339 from aabadie/pr/sys/auto_init_screen
...
drivers: sys/auto_init: pkg/lvgl: setup disp_dev, touch_dev and lvgl auto_init
2021-03-04 19:23:32 +01:00
Marian Buschsieweke
b9cb75fedf
drivers/periph/rtt: add periph_rtt_set_counter feature
...
Some periph_rtt implementations do not provide `rtt_set_counter()`. This
adds `periph_rtt_set_counter` as feature to allow testing for its
availability. The feature is provided at CPU level if periph_rtt is
provided by the board for all CPUs implementing `rtt_set_counter()`.
2021-03-04 18:05:06 +01:00
benpicco
753c833109
Merge pull request #15871 from jan-mo/feat/20210120_lis2dh12_extension
...
driver_lis2dh12: functionality extension
2021-03-04 15:20:55 +01:00
Jan Mohr
4598602176
drivers/lis2dh12: functionality extension
2021-03-04 00:43:04 +01:00
c1c9785da1
drivers/usbdev_mock: add to drivers_misc category
2021-03-03 18:09:39 +01:00
d227a117a2
drivers/screen_dev: add a bit of documentation
2021-03-03 18:04:42 +01:00
f9f394c88b
drivers/stmpe811: add touch_dev set event callback wrapper
2021-03-03 18:00:49 +01:00
1362c61abb
drivers/stmpe811: add runtime configurable event callback
2021-03-03 18:00:49 +01:00
528d884b5d
drivers/touch_dev: extend API to set event callback function
2021-03-03 18:00:49 +01:00
7e1d4c323a
drivers/stmpe811: add config for screen identifiers
2021-03-03 18:00:48 +01:00
f37ec87ae8
drivers/ili9341: add config for screen identifiers
2021-03-03 18:00:48 +01:00
0f9693b18f
drivers/touch_dev: add touch driver registry
2021-03-03 18:00:48 +01:00
f4bc980236
drivers/disp_dev: add display driver registry
2021-03-03 18:00:48 +01:00
Jean Pierre Dudey
a30184b5a9
Merge pull request #15896 from maribu/spi-api-cleanup
...
drivers/periph/spi: clean up error codes and doc
2021-02-27 01:09:49 +01:00
Jean Pierre Dudey
68c304aabc
drivers/netdev_ieee802154_submac: get NETOPT_IEEE802154_PHY
...
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-02-26 11:16:27 +01:00
Benjamin Valentin
a2396111ee
drivers: remove unused luid dependencies
...
Those drivers don't rely on luid anymore, we can drop the dependency.
2021-02-25 22:10:14 +01:00
chrysn
9cbc6042e3
drivers/saul: Fix "%u" print formatter
2021-02-23 18:02:06 +01:00
Francisco
c91499997e
Merge pull request #16030 from benpicco/drivers/mtd_flashpage-fix_native
...
drivers/mtd_flashpage: fixes for native (and stm32l0, stm32l4)
2021-02-23 15:12:06 +01:00
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