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
Jose Alamos
fa0dd8b5e2
netdev_ieee802154_submac: set addresses using netdev_register
2020-10-19 15:18:35 +02:00
fd1057ee9f
drivers/saul: fix typo in auto_init adc function name
2020-10-16 12:33:37 +02:00
José Alamos
fc8961ec27
Merge pull request #15081 from akshaim/PR_LoRaWAN_IN_865
...
net/lorawan : Support for IN865 region, Improve debugging
2020-10-16 12:22:18 +02:00
Marian Buschsieweke
b145f4b0b6
sys/auto_init: auto_init_adc -> auto_init_saul_adc
...
Avoid confusion between peripheral device initialization and SAUL registration
by renaming `auto_init_adc()` to `auto_init_saul_adc()`.
2020-10-16 09:48:05 +02:00
benpicco
4edf5c7cbd
Merge pull request #15208 from benpicco/ieee802154_submac-etx
...
netdev/ieee802154_submac: add retransmission reporting
2020-10-15 14:31:54 +02:00
Benjamin Valentin
37aad4ef38
netdev/ieee802154_submac: add retransmission reporting
...
If we do software retransmissions, we already keep a count.
Allow to query it with `NETOPT_TX_RETRIES_NEEDED`.
2020-10-15 13:26:42 +02:00
Marian Buschsieweke
c38ca6d718
Merge pull request #15212 from miri64/gnrc_pkt/enh/pkt-list-ops
...
gnrc_pkt: introduce packet list operations
2020-10-15 12:13:03 +02:00
Nishchay-sopho
eb1064eef4
drivers/scd30: Add reset function to Sensirion scd30 sensor
2020-10-14 15:07:01 +02:00
Akshai M
1ef362edea
drivers/sx127x : Improve debugging
2020-10-14 00:16:47 +05:30
Martine Lenders
45144fb4a4
treewide: use new gnrc_pkt API functions instead of utlist.h macros
2020-10-13 13:32:53 +02:00
Hendrik van Essen
f5c9be1e37
drivers/pca9633: make use of bitarithm.h
2020-10-12 19:02:58 +02:00
José Alamos
2de78a9862
Merge pull request #15210 from benpicco/ieee802154_submac-ack_req
...
netdev/ieee802154_submac: enable ACK_REQ by default
2020-10-12 16:46:48 +02:00
Benjamin Valentin
bb546835a1
netdev/ieee802154_submac: enable ACK_REQ
...
One of the features of the sub-MAC is to allow for ACK-handling in
software.
So enable the use of ACKs by default, just like the netdev drivers do
that support this feature in hardware.
2020-10-12 15:49:34 +02:00
Marian Buschsieweke
6294382627
cpu/stm32: Use mii.h for periph_eth
...
Use shared MII definitions and utilities instead own definitions.
2020-10-12 08:46:20 +02:00
Marian Buschsieweke
33d916b237
drivers/mii: Media-Independent Interface utils
...
Add utilities for working with Ethernet Media-Independent Interface for use by
Ethernet drivers.
2020-10-12 08:46:20 +02:00
Benjamin Valentin
b32bc3dbd1
drivers/kw41zrf: register with netdev
2020-10-08 16:19:23 +02:00
Benjamin Valentin
1afe72a5e5
drivers/enc28j60: register with netdev
2020-10-08 10:36:56 +02:00
benpicco
ab37c9fba1
Merge pull request #14949 from benpicco/drivers/mrf24j40-register
...
drivers/mrf24j40: register with netdev
2020-10-08 10:33:37 +02:00
Francisco
3918d714ce
Merge pull request #13624 from wosym/pr/candev_mcp2515
...
tests/candev: add mcp2515 + driver/mcp2515: add driver
2020-10-08 09:45:40 +02:00
Benjamin Valentin
a1d8c79a98
drivers/mrf24j40: pass long address via pointer
2020-10-07 16:39:39 +02:00
Benjamin Valentin
988ee1648f
drivers/mrf24j40: register with netdev
2020-10-07 16:39:39 +02:00
Marian Buschsieweke
5b9463aca1
drivers/netdev: Clarify documentation
2020-10-06 10:48:06 +02:00
Karl Fessel
9a89b84c2c
Makefile.dep: sort dependencies
...
move most dependencies from <RIOTBASE>/Makefile.dep to the Makefile.dep where
dependant module resides
2020-10-05 18:27:58 +02:00