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

3892 Commits

Author SHA1 Message Date
MrKevinWeiss
e3ec242ecf
drivers/mrf24j40: Fix missing .h file in params 2022-07-11 09:24:59 +02:00
MrKevinWeiss
d6ba7c1428
drivers/kw2xrf: Fix missing .h file in params 2022-07-11 09:24:58 +02:00
MrKevinWeiss
34d7c0def6
drivers/cc2420: Fix missing .h file in params 2022-07-11 09:24:58 +02:00
MrKevinWeiss
659618aeeb
drivers/at86rf2xx: Fix missing .h file in params 2022-07-11 09:24:58 +02:00
MrKevinWeiss
413c263b62
drivers/at86rf215: Fix missing .h file in params 2022-07-11 09:24:54 +02:00
Marian Buschsieweke
240cf75a61
drivers/at86rf2xx: fix NETOPT_RANDOM
- fix wrong return value
- fix wrong size parameter
    - note, the behavior is a bit relaxed in that it allows
      NETOPT_RANDOM with different size than `sizeof(uint32_t)`
2022-07-11 08:05:42 +02:00
chrysn
d9879c96ca
Merge pull request #16833 from chrysn-pull-requests/rust-lib
Add some Rust library building infrastructure
2022-07-10 21:39:35 +02:00
chrysn
841e4deee5 lsm303agr: New sensor driver using external Rust crate
It is enabled by saul_default on microbit-v2.

Co-authored-by: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
2022-07-10 21:27:12 +02:00
eduazocar
e6a7039de4 drivers/at86rf2xx: Adding Switch SRT to Random Number Generator 2022-07-03 17:44:47 -04:00
Firas Hamdi
bc0d3f9de3 drivers/mcp2515: apply the filter to a target mailbox
sys/include/can: add the mailbox target as a member to the filter structure

drivers/mcp2515: cleanup defines
2022-06-30 10:07:24 +02:00
benpicco
d9fc082686
Merge pull request #18062 from firas-hamdi/mcp2515-enable-filtering
drivers/mcp2515: enable filtering
2022-06-26 22:23:07 +02:00
Firas Hamdi
3f9866e709 drivers/mcp2515: fix to add filters
drivers/mcp2515: enable filtering

The current driver implementation initializes the driver in a way to receive all the CAN messages without matching the filters. This commit changes that by adding a macro definition that will be enabling or disabling the filtering and accordingly set the appropriate mcp2515 acceptance mode
2022-06-26 17:38:23 +02:00
benpicco
32a1c22e76
Merge pull request #18252 from gschorcht/cpu/esp32/update_ws281x
drivers/ws281x: update ESP32 driver to use ESP-IDF CPU HAL
2022-06-25 19:04:23 +02:00
Gunar Schorcht
94e7dbfa4b drivers/atwinc15x0: blacklist esp32 architecure
esp32 vendor code and atwinc15x0 both define conflicting spi_flash_{read, write} functions. esp32 already have build-in WiFi, so it's unlikely to ever use this driver - just blacklist the architecture.
2022-06-25 08:12:31 +02:00
benpicco
a7ade355da
Merge pull request #18258 from firas-hamdi/mcp2515_fix/rst_pin_valid
drivers/mcp2515: undefine rst_pin
2022-06-25 01:13:42 +02:00
Firas Hamdi
e8da4269e3 drivers/mcp2515: undefine rst_pin 2022-06-24 17:29:03 +02:00
Gunar Schorcht
e7294cd2bd drivers/ws281x: use ESP-IDF CPU HAL 2022-06-23 15:53:05 +02:00
Gunar Schorcht
24103ad58a
Merge pull request #18215 from benpicco/pkg/driver_atwinc15x0-bump
pkg/driver_atwinc15x0: bump version to 1.6.1
2022-06-20 18:48:53 +02:00
Benjamin Valentin
bede0615ad drivers/mtd: fix doc of mtd_read_page(), mtd_write_page_raw()
The function allows for offsets greater than the page size.
2022-06-20 14:59:41 +02:00
Benjamin Valentin
f8431d7623 drivers/atwinc15x0: blacklist esp8266 2022-06-19 16:53:34 +02:00
Benjamin Valentin
74b401f1eb drivers/dose: generate RX event for queued packets 2022-06-17 10:50:31 +02:00
Benjamin Valentin
86f55c5637 drivers/slipdev: generate RX event for queued packets 2022-06-17 10:50:31 +02:00
Marian Buschsieweke
c5083303f6
Merge pull request #12665 from gschorcht/drivers/hd44780_i2c_pcf857x
drivers/hd44780: PCF857x I2C interface added
2022-06-14 10:23:19 +02:00
benpicco
056b33a242
Merge pull request #18197 from gschorcht/drivers/rtt_rtc_fix_set_alarm
drivers/rtt_rtc: normalize tm struct in rtc_set_alarm
2022-06-12 18:45:05 +02:00
Gunar Schorcht
ded656a67b drivers/rtt_rtc: normalize tm struct in rtc_set_alarm 2022-06-12 15:57:04 +02:00
Benjamin Valentin
f7ab95ad97 dirvers/mtd: return early if init fails
If init fails (e.g. because an SD card was not inserted) don't
fail the `mtd->write_size != 0` assertion but instead return early.
2022-06-07 00:59:37 +02:00
Benjamin Valentin
3d8ba016ec drivers/mtd_mapper: inherit physical properties 2022-06-03 00:22:06 +02:00
benpicco
e1e2b7c5b6
Merge pull request #17601 from gschorcht/cpu/esp32/upgrade_esp-idf_v4.4
cpu/esp32: Upgrade to ESP-IDF v4.4
2022-06-02 10:18:07 +02:00
benpicco
cb5e19beb5
Merge pull request #17979 from maribu/drivers/netdev_ieee802154
drivers/netdev_ieee802154: drop duplicate struct member
2022-06-02 00:47:56 +02:00
Karl Fessel
6e41c685b2
Merge pull request #17935 from dp1/ir_nec
drivers/ir_nec: NEC remote receiver implementation
2022-06-01 13:44:51 +02:00
Gunar Schorcht
259dbc03d8 drivers/ws281x: changes for ESP-IDF 4.4 2022-06-01 13:31:00 +02:00
Dario Petrillo
18f8a476e6
drivers/ir_nec: ir remote implementation 2022-05-31 17:58:39 +02:00
benpicco
4b6da5c8e4
Merge pull request #17863 from benpicco/sam0_sdhc
cpu/samd5x: add SD Host Controller implementation
2022-05-31 15:33:24 +02:00
Benjamin Valentin
babee877ce cpu/sam0_common: add SD Host Controller implementation 2022-05-31 11:07:20 +02:00
Leandro Lanzieri
ca85b4f5ad
drivers/st7735/kconfig: add hardware feature symbol 2022-05-24 17:45:58 +02:00
Fabian Hüßler
477a86022f drivers/mtd: move write_size assertion after init call 2022-05-23 19:46:46 +02:00
Marian Buschsieweke
16f859dafd
drivers/saul: use const qualifier for data to write
This makes life easier when calling e.g. `saul_reg_write()` with data
stored in flash.

As now the signatures for reading and writing differ (in that `const`
qualifier only), `saul_notsup()` is split into `saul_write_notsup()`
and `saul_read_notsup()`. However, one is implemented as a symbol alias
of the other, so that ROM consumption remains unchanged.
2022-05-23 08:35:27 +02:00
chrysn
dc7bc9f854
Merge pull request #17683 from chrysn-pull-requests/mtd-granularity
mtd: Introduce write granularity
2022-05-20 11:52:03 +02:00
Francisco
37da85f047
Merge pull request #18033 from thingsat/pr/sx1280_v2
drivers/sx1280: add driver for SX1280 transceiver v2
2022-05-18 22:10:38 +02:00
Aymeric Brochier
09ca09adbf drivers/sx1280: initial import 2022-05-18 17:06:12 +02:00
benpicco
5fd88e1d35
Merge pull request #17889 from benpicco/drivers/atwinc15x0-fix_sleep
drivers/atwinc15x0: disconnect when sleeping
2022-05-18 16:27:34 +02:00
benpicco
260c59e6a2
Merge pull request #17914 from benpicco/drivers/at86rf215-non-blocking
drivers/at86rf215: make at86rf215_blocking_send a DEFAULT_MODULE
2022-05-17 11:14:48 +02:00
Benjamin Valentin
d0ca6294ea drivers/dose: make RX buffer size configurable
To benefit from the chunked ringbuffer if large frames are being sent,
we need to allocate more than one ethernet frame length to it.

Rename the define and make it overwriteable by the user.
2022-05-15 14:43:47 +02:00
Benjamin Valentin
37159fe4d9 drivers/atwinc15x0: make use of wake pin 2022-05-12 00:29:28 +02:00
Benjamin Valentin
14121a5298 drivers/atwinc15x0: fix DEBUG() macro 2022-05-12 00:29:28 +02:00
Benjamin Valentin
71bfc3a1ca drivers/atwinc15x0: disconnect when sleeping
Don't try to re-connect when the interface is in SLEEP state.
Also disconnect before entering sleep.
2022-05-12 00:29:28 +02:00
Benjamin Valentin
9ea5e58774 drivers: drop NETOPT_RX_END_IRQ 2022-05-11 23:44:24 +02:00
Marian Buschsieweke
bae91c1660
Merge pull request #17723 from benpicco/periph_timer_periodic-set_stopped
drivers/periph/timer: add TIM_FLAG_SET_STOPPED flag
2022-05-03 12:06:37 +02:00
Daniel Lockau
257ffdb442 drivers/mcp2515: fix set bittiming
- apply hardware dependent parameters to bittiming struct before
  reinitializing the hardware with the new parameter set
2022-05-02 14:04:52 +02:00
Benjamin Valentin
4b5858bc7f drivers/dose: make use of TIM_FLAG_SET_STOPPED 2022-04-29 22:33:07 +02:00
Marian Buschsieweke
1fd4d41d76
driver/netdev_ieee802154: Make timestamp optional
Also remove duplicate struct member.
2022-04-22 14:33:56 +02:00
Marian Buschsieweke
f881ad3f90
drivers/Kconfig: split netdev Kconfig to drivers/netdev 2022-04-22 14:33:50 +02:00
Marian Buschsieweke
23855e140e
drivers: Add periph/gpio_ll API
Co-authored-by: Gunar Schorcht <gunar@schorcht.net>
Co-authored-by: chrysn <chrysn@fsfe.org>
Co-authored-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
2022-04-22 08:39:04 +02:00
56359d6fb1
Merge pull request #17930 from aabadie/pr/drivers/lcd_rotation_rework
drivers/lcd: rework rotation management and enable it for st7735
2022-04-21 14:31:49 +02:00
Francisco Molina
02ce15b2e9 drivers/scard_spi: _dyn_spi_rxtx_byte return void
Both _sw_spi_rxtx_byte and _hw_spi_rxtx_byte return always 1, so
having a return value and checking for it does not make sense,
instead return void and remove the checks
2022-04-20 14:54:36 +02:00
df95c6ca83
Merge pull request #17945 from fjmolinas/pr_mcp2515_cleanups
drivers/mcp2515: fixes and cleanups
2022-04-20 10:42:08 +02:00
Francisco Molina
6959f5eb78 drivers/mcp2515: use ztimer 2022-04-20 09:23:50 +02:00
85ba0597f7
drivers/lcd: rework rotation modes and enable it with st7735 2022-04-19 16:22:10 +02:00
646fb1135a
Merge pull request #17925 from aabadie/pr/drivers/lcd_params_rework
drivers/lcd: slightly rework params to expose offset values to ili9341 driver
2022-04-19 16:21:42 +02:00
Francisco Molina
babaa6ec4a drivers/mcp2515/candev_mcp2515: remove Illegal ID error
0x1fffffff marks and extended can id.
2022-04-19 15:57:57 +02:00
Francisco Molina
cd21bc00da drivers/candev_mcp2515: set default bitrate to 500kbps 2022-04-19 15:56:45 +02:00
Francisco Molina
c07514ad3f drivers/mcp2515: allow for can_mask == 0, promiscuos
can_mask = 0 is a valid value to reaceive all frames
2022-04-19 15:56:45 +02:00
Francisco Molina
3084928151 drivers/mcp2515: support no rst_pin 2022-04-19 15:56:44 +02:00
Francisco Molina
0c526f12c6 driver/mcp2515: clear irq masks after read
This fixes a bug where it triggers twice on e.g. tx isr
2022-04-19 15:55:29 +02:00
63b25483c9
Merge pull request #17921 from aabadie/pr/drivers/disp_dev_coordinates
drivers/disp_dev: use struct to store display area coordinates
2022-04-19 12:48:12 +02:00
718b1e350d
Merge pull request #17459 from aabadie/pr/drivers/cst816s_enh
drivers/cst816s: add touch_dev interface + add Kconfig + migrate to ztimer
2022-04-19 11:43:34 +02:00
benpicco
b7c68a2c69
Merge pull request #17940 from fjmolinas/pr_stdio_ethos_missing_include
drivers/ethos: add missing vfs include
2022-04-14 16:24:54 +02:00
dbc59aa75b
drivers/cst816s: use gpio_is_valid where appropriate 2022-04-14 11:31:36 +02:00
a2fc925a0e
drivers/cst816s: add touch_dev interface 2022-04-14 11:31:35 +02:00
b1ac9e124d
drivers/cst816s: add Kconfig 2022-04-14 11:31:35 +02:00
d3330e1813
drivers/cst816s: migrate to ztimer 2022-04-14 11:31:34 +02:00
Francisco Molina
9473f88e3a drivers/ethos: add missing vfs include 2022-04-14 08:36:27 +02:00
Marian Buschsieweke
c2e029b427
drivers/mtd_spi_nor: fix off by one bug
The boolean expression to detect when 32 bit address mode are needed
was off by one, this fixes the issue.
2022-04-13 17:24:39 +02:00
81cf5dba53
drivers/lcd: apply offset parameters to ili9341 2022-04-13 12:55:16 +02:00
1152a47817
drivers/lcd: adapt ltdc periph disp_dev interface 2022-04-13 12:49:58 +02:00
36211f3fae
drivers/disp_dev: use struct to store display area coordinates 2022-04-13 12:49:58 +02:00
d311dd94cf
drivers/ili9341: st7735: adapt to new build system rules 2022-04-12 12:39:00 +02:00
Francisco Molina
c5cc2966ff
drivers/ili9341: use common lcd driver 2022-04-12 12:39:00 +02:00
Francisco Molina
827fa976a6
driveres/st7735: add driver based on common lcd driver 2022-04-12 12:38:59 +02:00
Francisco Molina
8f2fa772e9
drivers/lcd: add common driver for lcd display 2022-04-12 12:35:02 +02:00
benpicco
e3f9252947
Merge pull request #17913 from benpicco/mtd_fixes
mtd: minor cleanup & test fixes
2022-04-12 09:30:27 +02:00
Benjamin Valentin
72bb9c749f drivers/at86rf215: make at86rf215_blocking_send a DEFAULT_MODULE
So it can be disabled.
2022-04-11 16:28:52 +02:00
Benjamin Valentin
e3c8187736 dirvers/mtd: don't use work_buf as proxy for !direct write flag
Currently work_buf is only NULL when MTD_DRIVER_FLAG_DIRECT_WRITE is
set, so it served as a proxy for that flag.

However, we might want to have a work buffer even when writes without
erase are possible.
2022-04-11 14:29:52 +02:00
Marian Buschsieweke
697448e51c
drivers/periph_cpuid: Minor cleanup
Avoid use of `memcpy` altogether to work around false positive of
`-Warray-bounds` in newer GCC versions.
2022-04-11 12:01:57 +02:00
Fabian Hüßler
045d88df7c drivers/periph_common/cpuid: disable false positive warnings
The warnings appeared after the -fno-builtin compiler flag was removed (#17898),
but the code is looking fine and tests/periph_cpuid shows correct results.
2022-04-10 15:52:23 +02:00
Oleg Hahm
31f44fbf5f
Merge pull request #17879 from kfessel/p-mtd-nor
driver/mtd_spi_nor: cleanup sleep timing
2022-04-08 14:06:19 +02:00
Francisco
8b18898760
Merge pull request #17880 from benpicco/drivers/atwinc15x0-mcast
drivers/atwinc15x0: join multicast groups
2022-04-07 15:42:26 +02:00
chrysn
5221ce278e
Merge pull request #17860 from Ollrogge/deprecate_flashpage
periph/flashpage: deprecate *_free functions
2022-03-31 20:42:01 +02:00
Ollrogge
4974790bad periph/flashpage: deprecate *_free functions 2022-03-31 17:59:54 +02:00
Ollrogge
a834cc9acf periph/flashpage: activate FLASH_WRITABLE_INIT documentation 2022-03-31 17:59:44 +02:00
chrysn
47148642f9 drivers/mtd_{mci,sdcard}: Pages need to be written at once
See-Also: https://github.com/RIOT-OS/RIOT/pull/17683#issuecomment-1084245744
2022-03-31 10:58:52 +02:00
chrysn
88f4f7c6e8 drivers/mtd_spi_nor: Storage is byte-writable
See-Also: https://github.com/RIOT-OS/RIOT/pull/17683#discussion_r815362737
2022-03-31 10:58:52 +02:00
chrysn
d764e037bf drivers/at2[45]: EEPROMs can be written byte-wise
See-Also: https://github.com/RIOT-OS/RIOT/pull/17683#discussion_r815362737
2022-03-31 10:58:52 +02:00
chrysn
52ea93ef03 drivers/mtd_mapper: Add write_size 2022-03-31 10:58:52 +02:00
chrysn
882f76ab01 drives/mtd_flashpage: Configure write_size in MTD device 2022-03-31 10:52:34 +02:00
chrysn
9ec42492da mtd: Introduce write_size, setting no-rewrite policy
... with flags defining more clearly which kinds of overwrites are OK

Co-authored-by: benpicco <benpicco@googlemail.com>
2022-03-31 10:50:30 +02:00
chrysn
df9226fb80 mtd doc: Editorial fix 2022-03-31 10:50:30 +02:00
Benjamin Valentin
d800cca1c3 drivers/atwinc15x0: register with netdev 2022-03-30 16:07:29 +02:00
Karl Fessel
f8607ecc28 driver/mtd_spi_nor: clearup sleep timming 2022-03-30 11:58:58 +02:00
Benjamin Valentin
b173bbb0b7 drivers/atwinc15x0: join multicast groups
I noticed the wifi module would not receive any router advertisements
while an esp8266 did just fine.

Turns out joining the multicast groups was not enabled.
With this it works as expected.
2022-03-29 15:16:54 +02:00