Leandro Lanzieri
ab84ec5134
drivers/bmx280: rework Kconfig model
2021-11-18 09:03:07 +01:00
f8e7e2f557
usbdev_mock: Adapt to xmit API
...
Includes the adaptations needed in the test application
2021-11-16 20:16:59 +01:00
597f1d19aa
usbdev: Refactor to xmit API
...
This API change refactors the usbdev API to supply buffers via the
usbdev_ep_xmit function. This changes from the usbdev_ep_ready call to allow
separate buffers per call. An usbdev_ep_buf_t pseudotype is available and must
be used when defining buffers used for endpoints to adhere to the DMA alignment
restrictions often required with usb peripherals.
Main advantage is that the usbdev peripherals no longer have to allocate
oversized buffers for the endpoint data, potentially saving multiple KiB
of unused buffer space. These allocations are now the responsibility of
the individual USB interfaces in the firmware
2021-11-16 11:21:07 +01:00
59e85cf921
usbdev: Refactor to xmit API
...
This API change refactors the usbdev API to supply buffers via the
usbdev_ep_xmit function. This changes from the usbdev_ep_ready call to allow
separate buffers per call. An usbdev_ep_buf_t pseudotype is available and must
be used when defining buffers used for endpoints to adhere to the DMA alignment
restrictions often required with usb peripherals.
Main advantage is that the usbdev peripherals no longer have to allocate
oversized buffers for the endpoint data, potentially saving multiple KiB
of unused buffer space. These allocations are now the responsibility of
the individual USB interfaces in the firmware
2021-11-16 11:21:00 +01:00
Francisco
6dbf1c3013
Merge pull request #17102 from aabadie/pr/drivers/ads101x_ztimer
...
drivers/ads101x: migrate to ztimer
2021-11-15 09:56:14 +01:00
benpicco
7da50b05a9
Merge pull request #17190 from benpicco/drivers/dose-padding
...
drivers/dose: reduce struct padding
2021-11-12 20:45:24 +01:00
Karl Fessel
3d33cee551
Merge pull request #17137 from kfessel/p-ztimer-at30tse75x
...
driver/at30tse75x: port to ztimer_usec
2021-11-12 17:12:11 +01:00
Benjamin Valentin
b34b67feee
drivers/dose: reduce struct padding
...
By moving all the single byte struct elements to the end, we can reduce
padding inside `dose_t` and ensure that `recv_buf` is always aligned.
This saves some RAM:
master
------
text data bss dec hex filename
36384 136 12944 49464 c138 tests/driver_dose/bin/samr21-xpro/tests_driver_dose.e
this patch
----------
text data bss dec hex filename
36484 136 12936 49556 c194 tests/driver_dose/bin/samr21-xpro/tests_driver_dose.elf
2021-11-12 16:19:20 +01:00
Francisco
b609646961
Merge pull request #17138 from fjmolinas/pr_sx126x_fixes
...
drivers/sx126x: fix sync word and TX PA configuration
2021-11-11 10:59:08 +01:00
benpicco
026d6cfba1
Merge pull request #16768 from benpicco/drivers/dose-timeout_bytes
...
drivers/dose: calculate timeout based on symbol rate
2021-11-10 12:40:13 +01:00
Francisco
035ee0a595
Merge pull request #17172 from kaspar030/drivers_ds18_missing_stdint.h
...
drivers/ds18.h: add missing stdint.h include
2021-11-10 08:42:03 +01:00
Francisco
fb4947937f
Merge pull request #17169 from gschorcht/doc/fix_ccs811_doc
...
drivers/ccs811: fix of documentation
2021-11-10 08:41:26 +01:00
5d3a4d63d8
drivers/ds18.h: add missing stdint.h include
2021-11-09 21:48:48 +01:00
Gunar Schorcht
8e88906445
drivers/ccs811: fix of documentation
2021-11-09 19:50:07 +01:00
benpicco
12ade5a8b5
Merge pull request #16752 from benpicco/drivers/dose-standby
...
drivers/dose: enable standby pin
2021-11-09 18:20:17 +01:00
Benjamin Valentin
6c1481b6ee
drivers/dose: enable standby pin
...
Some CAN transceivers have a standby pin that has to be pulled low
in order to use it.
If the interface is disabled we can set it to high again to save some
power.
2021-11-09 15:19:35 +01:00
Francisco Molina
e17e3254e1
drivers/sx126x: add tx_pa_mode
...
BOARDs with RF switch might only support one of the TX modes, and
on init the BOARD needs to be configured accordingly and the correct
mode selected on TX.
2021-11-08 18:42:05 +01:00
benpicco
358abcf133
Merge pull request #17156 from maribu/drivers/encx24j600
...
drivers/encx24j600: fix unaligned memory access
2021-11-07 18:55:58 +01:00
Marian Buschsieweke
4c22716001
drivers/encx24j600: make cppcheck happy
...
Rename cmd buffer to cmd_buf to avoid shadowing outer function.
2021-11-07 08:46:06 +01:00
Marian Buschsieweke
9f1cece6ee
drivers/encx24j600: fix unaligned memory access
2021-11-06 20:33:43 +01:00
Marian Buschsieweke
5e75047a2b
drivers/lis3dh: fix unaligned memory access
...
The bogus packed attribute added to lis3dh_data_t resulted in the
structure being aligned two 1 byte. It was later casted to an
uint16_t pointer (which is aligned two 2 bytes). By dropping the
packed attribute the alignment mismatch is fixed.
2021-11-06 20:05:05 +01:00
26346188b9
Merge pull request #17105 from aabadie/pr/drivers/ata8520e_ztimer
...
drivers/ata8520e: migrate to ztimer
2021-11-05 16:22:59 +01:00
baa1ed38cc
drivers/ata8520e: migrate to ztimer
2021-11-05 12:49:37 +01:00
benpicco
bfb8d1d3fd
Merge pull request #17014 from benpicco/periph/gpio-cb_not_NULL
...
drivers/periph/gpio: state that interrupt callback must not be NULL
2021-11-05 12:47:16 +01:00
Karl Fessel
314bc00902
driver/at30tse75x: cleanup for static tests
2021-11-05 12:19:35 +01:00
Karl Fessel
fc8e6f01bd
driver/at30tse75x: port to ztimer_usec
2021-11-05 12:19:35 +01:00
eaa007d412
Merge pull request #17135 from bergzand/pr/usbdev/fix_cppcheck_vera
...
usb(dev|bus): Fix static-check issues
2021-11-05 08:36:53 +01:00
7ce5d8a5dd
Merge pull request #17112 from aabadie/pr/drivers/rn2xx3_ztimer
...
drivers/rn2xx3: migrate to ztimer
2021-11-05 00:38:55 +01:00
Francisco
f08c5da7aa
Merge pull request #17101 from aabadie/pr/drivers/bmp180_ztimer
...
drivers/bmp180: migrate to ztimer
2021-11-04 15:25:48 +01:00
Karl Fessel
4d552e7e4a
driver/at30tse75x: avoid direct use of xtimer_ticks
2021-11-04 14:16:07 +01:00
c918630e5e
usbdev_mock: Uncrustified and fixed static-check issues
2021-11-04 13:49:34 +01:00
295092bc29
drivers/rn2xx3: migrate to ztimer
2021-11-04 10:39:36 +01:00
Francisco Molina
5579fd2220
drivers/xbee: uncrustify
2021-11-02 21:46:19 +01:00
Francisco Molina
472f6495a8
drivers/xbee: migrate to ztimer_msec
2021-11-02 21:46:19 +01:00
9029e1caf9
drivers/bmp180: migrate to ztimer
2021-11-02 14:57:50 +01:00
3fa2154d48
drivers/ads101x: migrate to ztimer
2021-11-02 14:49:45 +01:00
Leandro Lanzieri
f64b166319
Merge pull request #16845 from MrKevinWeiss/pr/kconfig/supportstms
...
.murdock: Add nucleo boards to kconfig test
2021-11-01 09:55:22 +01:00
dbbdc8590e
Merge pull request #17031 from fjmolinas/pr_lvgl_ztimer
...
pkg/lvgl: use ztimer instead of xtimer
2021-10-28 11:36:04 +02:00
Ollrogge
c6e94aa6be
periph/flashpage.h: add comment about riotboot impact on flashpage layout
2021-10-26 14:35:33 +02:00
Francisco
7f3344870d
Merge pull request #16972 from Ollrogge/flashpage_pr
...
periph/flashpage: extend API
2021-10-26 12:51:05 +02:00
Francisco Molina
bac1f8c82d
drivers/ili9341: use ztimer instead of xtimer
2021-10-25 10:48:49 +02:00
9f8aee4e95
usbdev: Deprecate USBDEV_EVENT_TR_FAIL
2021-10-24 19:33:29 +02:00
Ollrogge
72d47013dd
periph/flashpage: extend API
2021-10-19 22:33:09 +02:00
Benjamin Valentin
f624eb473a
drivers/periph/gpio: state that interrupt callback must not be NULL
...
This allows us to use `assert(cb != NULL)` inside `gpio_init_int()`
and save a few cycles of interrupt latency.
2021-10-19 21:26:50 +02:00
MrKevinWeiss
9b6a63a951
drivers/kconfig: simplify shared rtt/rtc hardware in kconfig
2021-10-14 11:28:46 +02:00
MrKevinWeiss
c7820cf7e5
*/rtt|rtc: Fix Kconfig modeling
2021-10-14 11:28:44 +02:00
MrKevinWeiss
0c5c657912
drivers/spi: Model Kconfig spi_gpio_mode
2021-10-14 11:28:43 +02:00
Gunar Schorcht
62dd51d8ba
drivers: add anchor to doc to allow stable references
2021-10-13 17:37:16 +02:00
Jose Alamos
cb6e242b65
net/netdev_ieee802154_submac: prevent calling ACK TO fired if cancelled
2021-10-07 14:37:05 +02:00
benpicco
b4de70e9d8
Merge pull request #16922 from jia200x/pr/netdev/signal_netdev_register
...
netdev: add netdev_register_signal
2021-10-05 22:59:49 +02:00
Jose Alamos
503f5a9ddb
netdev: add netdev_register_signal
2021-10-05 14:35:07 +02:00
2ccdac1b7f
drivers/ws281x: declare pseudomodules at driver level
2021-10-05 11:48:53 +02:00
22d9040211
drivers/at: declare pseudomodules at driver level
2021-10-05 11:48:53 +02:00
a090f492bb
drivers/at24cxxx: declare pseudomodules at driver level
2021-10-05 11:48:53 +02:00
a614e9a36e
drivers/ds18: declare pseudomodules at driver level
2021-10-05 11:48:53 +02:00
01de18a855
drivers/qmc5883l: declare pseudomodules at driver level
2021-10-05 11:48:53 +02:00
81d5b7eefb
drivers/at86rf215: declare pseudomodules at driver level
2021-10-05 11:48:52 +02:00
2b3a9b66ea
drivers/bq2429x: declare pseudomodules at driver level
2021-10-05 11:48:52 +02:00
6d57d6ab34
drivers/ina3221: declare pseudomodules at driver level
2021-10-05 11:48:52 +02:00
df2ad2cdde
drivers/lis2dh12: declare pseudomodules at driver level
2021-10-05 11:48:52 +02:00
dc4f9d4c7b
drivers/lpsxxx: declare pseudomodules at driver level
2021-10-05 11:48:52 +02:00
2d2e4d10ae
drivers/vcnl40x0: declare pseudomodules at driver level
2021-10-05 11:48:52 +02:00
fb193ea5cb
drivers/rn2xx3: declare pseudomodules at driver level
2021-10-05 11:48:52 +02:00
982ea7fb6f
drivers/tmp00x: declare pseudomodules at driver level
2021-10-05 11:48:52 +02:00
0a2076a89b
drivers/si70xx: declare pseudomodules at driver level
2021-10-05 11:48:52 +02:00
d2ec49f032
drivers/si114x: declare pseudomodules at driver level
2021-10-05 11:48:51 +02:00
2f7227bd73
drivers/sht1x: declare pseudomodules at driver level
2021-10-05 11:48:51 +02:00
fc5338641e
drivers/sx127x: declare pseudomodules at driver level
2021-10-05 11:48:51 +02:00
a120c2b296
drivers/sx126x: declare pseudomodules at driver level
2021-10-05 11:48:51 +02:00
8a3c103127
drivers/sdp3x: declare pseudomodules at driver level
2021-10-05 11:48:51 +02:00
79a2ea4713
drivers/pn532: declare pseudomodules at driver level
2021-10-05 11:48:51 +02:00
003c472339
drivers/mrf24j40: declare pseudomodules at driver level
2021-10-05 11:48:51 +02:00
60f1615aa3
drivers/lm75: declare pseudomodules at driver level
2021-10-05 11:48:51 +02:00
82e6df6a50
drivers/ina2xx: declare pseudomodules at driver level
2021-10-05 11:48:51 +02:00
a6e58f744c
drivers/mpu9x50: declare pseudomodules at driver level
2021-10-05 11:48:51 +02:00
37a4eed0c4
drivers/mhz19: declare pseudomodules at driver level
2021-10-05 11:48:50 +02:00
12e2e5546d
drivers/itg320x: declare pseudomodules at driver level
2021-10-05 11:48:50 +02:00
ed2c0174b8
drivers/hmc5883l: declare pseudomodules at driver level
2021-10-05 11:48:50 +02:00
f6732f7c82
drivers/ds3231: declare pseudomodules at driver level
2021-10-05 11:48:50 +02:00
a7c979705a
drivers/cc110x: declare pseudomodules at driver level
2021-10-05 11:48:50 +02:00
a4e35a467e
drivers/ccs811: declare pseudomodules at driver level
2021-10-05 11:48:50 +02:00
6fb914653e
drivers/apds99xx: declare pseudomodules at driver level
2021-10-05 11:48:50 +02:00
749bcd530c
drivers/adcxx1c: declare pseudomodules at driver level
2021-10-05 11:48:50 +02:00
8bf72ea3ec
drivers/bmx280: declare pseudomodules at driver level
2021-10-05 11:48:50 +02:00
20a2b7d04c
drivers/bme680: declare pseudomodules at driver level
2021-10-05 11:48:50 +02:00
57fac91247
drivers/at86rf2xx: declare pseudomodules at driver level
2021-10-05 11:48:49 +02:00
Marian Buschsieweke
62ec63628d
Merge pull request #16474 from liyue75/liyue
...
drivers/w5100/w5100.c: fix TX_WR register's value
2021-10-04 12:45:37 +02:00
János Brodbeck
c7695fb40f
drivers/lm75: cleanup
2021-10-01 16:21:31 +02:00
Leandro Lanzieri
b160e43233
Merge pull request #16837 from fjmolinas/pr_kconfig_nrf52
...
cpu/nrf52: initial kconfig modeling (no netif)
2021-09-30 09:57:11 +02:00
Francisco Molina
3e4b35c445
boards/nrf52840dk-nrf52dk-dwm1000: add kconfig dependencies
2021-09-29 10:19:27 +02:00
Francisco Molina
36d1911e65
dirvers/mtd: use imply instead of select
...
Using imply allow for user to deselect the default MTD backends
2021-09-29 10:13:51 +02:00
benpicco
7bfcda979b
Merge pull request #16906 from benpicco/rtt_rtc.h-doxfix
...
rtt_rtc: clarify documentation about epoch
2021-09-28 16:11:34 +02:00
Benjamin Valentin
928c593bca
rtt_rtc: clarify documentation about epoch
...
`epoch` in this context refers to `RIOT_EPOCH`, not Unix Epoch.
Clarify the documentation to avoid confusion.
2021-09-28 15:12:14 +02:00
José Alamos
1ee57f80a0
Merge pull request #15030 from jia200x/pr/lora/remove_xtimer
...
drivers/sx127x: remove ZTIMER_USEC dependency
2021-09-27 11:41:22 +02:00
Jose Alamos
e312155f30
drivers/sx127x: remove ZTIMER_USEC dependency
2021-09-27 10:22:06 +02:00
Vera Clemens
06359e05ad
drivers/lpsxxx: add support for lps22hh
2021-09-22 17:54:02 +02:00
Francisco
0b7eb2bbc9
Merge pull request #16836 from fjmolinas/pr_kconfig_mtd
...
drivers/mtd: fix Kconfig dependencies
2021-09-22 10:08:14 +02:00
Francisco Molina
14ef09b8b4
drivers/mtd: fix Kconfig dependencies
...
Currently implementations of the MTD api are selecting the module,
this makes it easy for default backends to be selected. But the
correct modeling is simply selecting the MTD api and then selecting
a backend. BOARDs providing one of the backends can expose this and
then that backend can be selected by default.
There is also currently nothing preventing from using the MTD api
with no backend since a mock backend can easily be provided as is
done in all mtd tests.
2021-09-22 09:22:51 +02:00
benpicco
3090657b79
Merge pull request #16848 from benpicco/mtd_write_page-sector
...
mtd: fix mtd_write_page() across sector boundaries
2021-09-21 16:50:12 +02:00
Benjamin Valentin
6f9b05cad8
mtd: fix mtd_write_page() across sector boundaries
2021-09-21 15:20:02 +02:00