benpicco
d9598a0f54
Merge pull request #15412 from bergzand/pr/flashpage/merge_raw
...
periph_flashpage: Make pagewise API optional
2020-11-12 22:32:21 +01:00
3aa5203bc5
mtd_flashpage: only depend on periph_flashpage
...
The features in flashpage_raw are now default in flashpage and do not
have to be included as a separate dependency
2020-11-11 23:16:43 +01:00
41bbaa7442
flashpage: Make pagewise API optional
...
flashpage currently requires pagewise implementation with an optional
extension for per block writes (flashpage_raw). Most implementations
with flashpage_raw implement the pagewise access via the flashpage_raw
functions. This commit makes the flashpage raw the main access method
and adds an extension feature for the pagewise access.
The functions and defines are renamed to reflect this. The API is also
extended with a dedicated function for erasing a sector.
2020-11-11 22:26:33 +01:00
Hauke Petersen
8a31519558
drivers: add support for ds3231 RTC
2020-11-09 15:18:54 +01:00
Leandro Lanzieri
8b74702c7e
drivers/periph_common: add gpio_fast_read module to Kconfig
2020-11-06 15:57:59 +01:00
Leandro Lanzieri
98cc3c317a
drivers/periph_common: add LPUART module to Kconfig
2020-11-06 15:57:57 +01:00
Benjamin Valentin
14da3717c1
drivers/stmpe811: convert to xtimer_msleep()
2020-11-05 11:32:41 +01:00
Benjamin Valentin
b533e08fe7
drivers/si70xx: convert to xtimer_msleep()
2020-11-05 11:32:41 +01:00
Benjamin Valentin
1954283b34
drivers/sht2x: convert to xtimer_msleep()
2020-11-05 11:32:41 +01:00
Benjamin Valentin
9ad6b6b857
drivers/rn2xx3: convert to xtimer_msleep()
2020-11-05 11:32:41 +01:00
Benjamin Valentin
56763a5cc4
drivers/ph_oem: convert to xtimer_msleep()
2020-11-05 11:32:41 +01:00
Benjamin Valentin
daae2fb9bd
drivers/mhz19: convert to xtimer_msleep()
2020-11-05 11:32:41 +01:00
Benjamin Valentin
30e7b6da74
drivers/itg320x: convert to xtimer_msleep()
2020-11-05 11:32:41 +01:00
Benjamin Valentin
0b960ab2de
drivers/ili9341: convert to xtimer_msleep()
2020-11-05 11:32:41 +01:00
Benjamin Valentin
044e0a22fb
drivers/dsp0401: convert to xtimer_msleep()
2020-11-05 11:32:41 +01:00
Benjamin Valentin
9050fcb547
drivers/ds75lx: convert to xtimer_msleep()
2020-11-05 11:32:41 +01:00
Benjamin Valentin
e2cf95b0a9
drivers/dht: convert to xtimer_msleep()
2020-11-05 11:32:41 +01:00
Benjamin Valentin
04114c3d83
drivers/dfplayer: convert to xtimer_msleep()
2020-11-05 11:32:41 +01:00
Benjamin Valentin
6dbc5fea3a
drivers/bme680: convert to xtimer_msleep()
2020-11-05 11:32:41 +01:00
Benjamin Valentin
fd102efea8
drivers/atwinc15x0: convert to xtimer_msleep()
2020-11-05 11:32:41 +01:00
Benjamin Valentin
5b3829845d
drivers/ata8520e: convert to xtimer_msleep()
2020-11-05 11:32:41 +01:00
Benjamin Valentin
58d90e252d
drivers/aip31068: convert to xtimer_msleep()
2020-11-05 11:32:41 +01:00
Benjamin Valentin
908833a44e
drivers/ad7746: convert to xtimer_msleep()
2020-11-05 11:32:41 +01:00
Francisco
78bdf7d274
Merge pull request #15213 from HendrikVE/pr/driver/pca9633-bitarithm
...
drivers/pca9633: use bitarithm
2020-11-03 16:00:52 +01:00
Francisco
3e3da1217d
Merge pull request #15249 from aabadie/pr/tools/typo
...
tools/codespell: fix new typos and make it fail when typos are found
2020-11-03 15:01:20 +01:00
Juergen Fitschen
a15d50dffe
drivers/mtd_flashpage: fix erasure of multiple sectors
2020-11-03 12:35:43 +01:00
benpicco
9681c204d6
Merge pull request #14959 from benpicco/at86rf215-mr-fsk
...
drivers/at86rf215: implement MR-FSK
2020-11-03 11:26:24 +01:00
Bas Stottelaar
e8cadc02d8
Merge pull request #15285 from basilfx/feature/optimize_debug
...
treewide: more cleanups of ENABLE_DEBUG
2020-11-03 11:13:53 +01:00
Benjamin Valentin
a6db7d56ba
drivers/at86rf215: fix CCA duration
...
The standard CCA backoff period is 8 symbols and only differs for
MR-O-QPSK where it is dependent on the chip rate.
2020-11-03 10:51:21 +01:00
Benjamin Valentin
6f23263503
drivers/at86rf215: implement MR-FSK
2020-11-03 10:51:21 +01:00
Bas Stottelaar
62994dfb16
drivers/*: replace #if ENABLE_DEBUG with IS_ACTIVE
2020-11-02 21:34:12 +01:00
Bas Stottelaar
d2ce652dff
drivers/*: remove unneeded ENABLE_DEBUG
2020-11-02 21:34:12 +01:00
Benjamin Valentin
98f88e849c
drivers/mtd_spi_nor: check addr_width with assert()
2020-11-02 21:17:36 +01:00
Benjamin Valentin
53ca0dd1d0
drivers/mtd_spi_nor: define WP and HOLD pin
...
Hold and WP are not used by the driver, but if they are connected
to the flash they must be driven HIGH to enable writes and not stop
any flash operation.
2020-11-02 21:17:36 +01:00
Benjamin Valentin
dee3ae4ab7
drivers/mtd_spi_nor: enable 32 bit addressing
2020-11-02 17:03:34 +01:00
benpicco
e77d12da26
Merge pull request #15188 from benpicco/drivers/kw41zrf-register
...
drivers/kw41zrf: register with netdev
2020-10-31 14:30:00 +01:00
Marian Buschsieweke
125c892c03
drivers/periph/timer: Use uint32_t for frequency
...
For all currently supported platforms `unsigned long` is 32 bit in width. But
better use `uint32_t` to be safe.
2020-10-30 22:02:12 +01:00
nagrawal
f50da0a27d
drivers/sdp3x: Corrected improper comments for internal functions
2020-10-29 12:42:51 +01:00
cd3ee9e825
drivers/mii: fix typo 'auto-negotation' => 'auto-negotiation'
2020-10-27 10:33:48 +01:00
Benjamin Valentin
fde3026312
drivers/mtd_spi_nor: prevent data corruption on 'sector erase'
...
There is no difference between 4k erase and sector erase.
But sector erase would previously do `.block_erase` which would not
erase a sector (4k) but a whole block (64k).
Fortunately all boards declare `SPI_NOR_F_SECT_4K` and all file systems
don't try to erase anything smaller, so this was never triggered.
Add an `assert(0)` to crash instead of corrupting data.
2020-10-26 13:48:26 +01:00
Benjamin Valentin
783df5990b
drivers/mtd_spi_nor: do address conversion in SPI function
2020-10-26 13:02:09 +01:00
Benjamin Valentin
27cf34d836
drivers/mtd_spi_nor: introduce helper function to get SPI device
2020-10-26 13:02:09 +01:00
Benjamin Valentin
0425325260
drivers/mtd_spi_nor: use single transfer to read JEDEC ID
...
Just read the JEDEC ID with a single SPI transfer, there can only
be 10 banks.
This makes adaption to QSPI much simpler because now flash functions
don't call the SPI API directly anymore.
2020-10-26 13:02:09 +01:00
Benjamin Valentin
2fa208e5ed
drivers/mtd_spi_nor: cleanup
...
- remove forward declarations
- remove useless do { … } while (0); loops
- insert whitespace
2020-10-26 13:02:09 +01:00
Bas Stottelaar
6fc3ac8371
drivers/*: remove unneeded ENABLE_DEBUG
2020-10-23 11:29:57 +02:00
Bas Stottelaar
92b1dfc703
drivers/*: realign ENABLE_DEBUG
2020-10-23 01:26:09 +02:00
Bas Stottelaar
8d602435a5
drivers/*: reorder ENABLE_DEBUG after last include
2020-10-23 00:45:56 +02:00
Bas Stottelaar
26835a949f
drivers/*: remove unused assert.h include
2020-10-22 11:29:27 +02:00
Bas Stottelaar
4bdfe9a254
drivers/*: add missing include of assert.h
2020-10-22 11:13:08 +02:00
Benjamin Valentin
9fb90b11f5
drivers/at86rf215: fix dependency resolution for single radio
...
Let the user chose `at86rf215_subghz`/`at86rf215_24ghz` if they
only want a single radio.
2020-10-21 19:38:24 +02:00