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

3863 Commits

Author SHA1 Message Date
Francisco Molina
393c78b8e2 drivers/si1133: migrate to ztimer 2022-01-17 12:04:12 +01:00
Francisco
54d62f1303
Merge pull request #17517 from aabadie/pr/sys/lora_remove_deprecated_define
sys/lora: remove deprecated LORA_PAYLOAD_CRC_ON_DEFAULT define
2022-01-17 11:09:00 +01:00
e809952ca4
drivers/sx12{6,7}x: use inverse CONFIG_LORA_PAYLOAD_CRC_OFF_DEFAULT 2022-01-14 10:31:55 +01:00
37bc47e21c
drivers/at: remove deprecated AT_SEND_ECHO define 2022-01-14 09:06:17 +01:00
380b2468e3
drivers/ethos: remove deprecated USE_ETHOS_FOR_STDIO define 2022-01-11 12:41:24 +01:00
f5b5af9469
drivers/ft5x06: add touch_dev interface 2022-01-09 16:43:34 +01:00
11f73ea5c9
drivers/ft5x06: add touch panel driver 2022-01-08 15:08:05 +01:00
86192de81b
drivers/stmpe811: improve interrupt callback management 2022-01-07 18:30:34 +01:00
ad03af4a50
drivers/hm330x: fix build issues when SAUL is used 2022-01-06 12:07:42 +01:00
e0324d5278
drivers/lis2dh12: fix missing stdbool include 2022-01-06 12:07:41 +01:00
ac1e926776
drivers/sm_pwm_01c: fix undefined saul attribute 2022-01-06 12:07:41 +01:00
768a989298
drivers/init_devs: reorder alphabetically auto_init calls 2022-01-06 12:07:41 +01:00
34f2cc6083
drivers: make use of new driver_with_{disp,touch}_dev.mk 2022-01-06 12:07:07 +01:00
b4267fbd5e
drivers: make use of new driver_with_saul.mk where applicable 2022-01-06 12:07:07 +01:00
Marian Buschsieweke
f022f88629
drivers/sps30: make cppcheck happy 2022-01-05 15:09:10 +01:00
Marian Buschsieweke
362b964ed2
drivers/sps30: use static_assert() instead of BUILD_BUG_ON() 2022-01-05 15:09:09 +01:00
0056648581
Merge pull request #17418 from aabadie/pr/drivers/periph_build_enh
drivers/periph_common: build periph module selectively
2022-01-04 14:59:39 +01:00
9963e28d18
drivers/sdcard_spi: replace GPIO_UNDEF by SPI_CS_UNDEF 2022-01-04 12:53:02 +01:00
acd73529a5
drivers/netdev: fix missing and non matching arguments in doc 2022-01-03 09:52:04 +01:00
7ce1894da9
drivers/candev: fix non matching argument in doc 2022-01-03 09:51:40 +01:00
chrysn
ffe2ef3da6 drivers/motor_driver: Use irq_restore 2021-12-21 18:23:11 +01:00
79df157727
sys: move rtc utility functions to their own module 2021-12-20 13:04:20 +01:00
749efa507d
drivers/periph_common: build periph module selectively 2021-12-20 13:04:20 +01:00
c9e30b01c0
Merge pull request #16333 from fjmolinas/pr_driver_hm3301
drivers/hm330x: initial commit
2021-12-16 17:56:45 +01:00
Francisco Molina
fe38284a3c drivers/hms330x: initial import 2021-12-16 15:19:44 +01:00
Martine Lenders
e062ad78f3
Merge pull request #17265 from miri64/ethos/fix/threadify-state-machine
ethos: move bulk of state machine out of ISR context
2021-12-16 12:24:14 +01:00
Martine Lenders
820a3976ad
ethos: move bulk of state machine out of ISR context
This moves the following parts of ethos' state machine out of ISR
context:

- Sending and replying to HELLO messages
- Byte-unstuffing

Some escape handling is still needed in the ISR handler, due to ethos'
protocol design, to determine if a received byte must go into the
netdev queue (tsrb) or the STDIO queue (isrpipe), but the actual
unstuffing is now done in the STDIO and netdev handler threads,
respectively.
2021-12-15 16:15:30 +01:00
Martine Lenders
568be105f2
stdio_ethos: move to ethos_stdio 2021-12-15 16:15:29 +01:00
16baad825d
drivers/ws281x: use coreclk() instead of CLOCK_CORECLOCK 2021-12-15 13:14:19 +01:00
Kevin "Tristate Tom" Weiss
e3f6212708
Merge pull request #17355 from leandrolanzieri/pr/boards/samd21/model_kconfig
boards/samd21-based: model Kconfig
2021-12-15 12:35:32 +01:00
Francisco
10165da210
Merge pull request #17308 from aabadie/pr/drivers/mhz19_ztimer
drivers/mhz19: migrate to ztimer
2021-12-15 11:05:16 +01:00
Leandro Lanzieri
14d986d25d drivers: add Kconfig hardware feature to various drivers
- fxos8700
- hdc1000
- pir
- pulse_counter
2021-12-15 10:30:51 +01:00
MrKevinWeiss
8fc06376e4
drivers/lsm6dsl Allow SAUL_DEFAULT in kconfig 2021-12-15 08:39:00 +01:00
MrKevinWeiss
be6e671d4c
drivers/saul: Fix spelling mistake 2021-12-15 08:38:59 +01:00
MrKevinWeiss
aa138dbe4b
drivers/lsm303dlhc: Allow SAUL_DEFAULT in kconfig 2021-12-15 08:38:59 +01:00
MrKevinWeiss
ac769807c4
drivers/lpsxxx: Allow SAUL_DEFAULT in kconfig 2021-12-15 08:38:58 +01:00
MrKevinWeiss
e6352fd383
drivers/lpsxxx: Allow SAUL_DEFAULT in kconfig 2021-12-14 16:17:06 +01:00
MrKevinWeiss
4654bc5eb1
drivers/lm75: Allow SAUL_DEFAULT in kconfig 2021-12-14 16:17:06 +01:00
MrKevinWeiss
5462583e89
drivers/l3g4200d: Allow SAUL_DEFAULT in kconfig 2021-12-14 16:17:05 +01:00
MrKevinWeiss
b1bb309566
driver/isl29020: Allow SAUL_DEFAULT in kconfig 2021-12-14 16:17:05 +01:00
e20f3e5d32
Merge pull request #17381 from gschorcht/drivers/atwinc15x0_migrate_ztimer
drivers/atwinc15x0: migrate to ztimer
2021-12-13 15:10:51 +01:00
Gunar Schorcht
c6874dfbdf drivers/atwinc15x0: mirgate to ztimer 2021-12-13 13:58:42 +01:00
c5e28d4ef3
drivers/lis3mdl: fix timer dep + migrate app to ztimer 2021-12-12 10:45:09 +01:00
3e717480ac
drivers/ws281x: pull xtimer module from test application 2021-12-11 17:56:40 +01:00
e1310e3378
drivers/sps30: fix unused include, migrate to ztimer 2021-12-11 17:56:39 +01:00
e71988d22a
drivers/shtc1: migrate to ztimer 2021-12-11 17:56:39 +01:00
097b1970d2
drivers/pulse_counter: migrate to ztimer 2021-12-11 17:56:39 +01:00
38c2ea57aa
drivers/pn532: migrate to ztimer 2021-12-11 17:56:39 +01:00
d9fe3a74e5
drivers/lis2dh12: migrate to ztimer 2021-12-11 16:53:14 +01:00
9d53ed3ebf
drivers/ad7746: migrate to ztimer 2021-12-11 16:53:14 +01:00
Leandro Lanzieri
b761701ca3
sys/rtt_rtc/kconfig: do not select RTC feature 2021-12-10 18:54:28 +01:00
Leandro Lanzieri
bfdfbb1a48
cpu/esp32: model Kconfig 2021-12-10 18:54:07 +01:00
d0eb8e2f7b
Merge pull request #17361 from fjmolinas/pr_sdcard_ztimer
drivers/sdcard_spi: convert to ztimer_usec
2021-12-09 17:44:48 +01:00
Francisco
7362074f49
Merge pull request #17235 from leandrolanzieri/cpu/kinetis/model_kconfig
cpu/kinetis: model kconfig
2021-12-09 14:22:10 +01:00
Francisco Molina
7cffaab47a drivers/sdcard_spi: factorize timeout code 2021-12-09 14:00:39 +01:00
benpicco
ccc97db715
Merge pull request #17360 from viktorbatista/debug_fixes
core/include/debug.h: minor fix in debug.h
2021-12-09 12:41:33 +01:00
Francisco
e8d8759a69
Merge pull request #17358 from aabadie/pr/drivers/ztimer_bis
drivers: migrate mpu9x50 and si70xx to ztimer
2021-12-09 10:39:52 +01:00
Kevin "Tristate Tom" Weiss
285e1e61cf
Merge pull request #17346 from gschorcht/cpu/esp32/esp_i2c_sw_clear_bus
cpu/esp32: add clear bus during init to the I2C software implementation
2021-12-09 10:13:17 +01:00
5c99f951cd
Merge pull request #17315 from aabadie/pr/drivers/ztimer
drivers: migrate some drivers to ztimer
2021-12-09 09:49:47 +01:00
3a8a543a0c
drivers/mpu9x50: migrate to ztimer 2021-12-09 09:32:31 +01:00
f4474ed817
drivers/si70xx: migrate to ztimer 2021-12-09 09:32:31 +01:00
Francisco Molina
74fc764a41 drivers/sdcard_spi: convert to ztimer_usec 2021-12-09 08:02:06 +01:00
Francisco Molina
8a4e7bf7fe drivers/sdcard_spi: uncrustify 2021-12-09 07:58:49 +01:00
Benjamin Valentin
75a6892480 drivers/stmpe811: add ; after DEBUG() 2021-12-08 21:47:29 +01:00
benpicco
e8cbf1ea90
Merge pull request #16681 from benpicco/drivers/dose-collision
drivers/dose: make use of UART collision detection feature
2021-12-08 20:48:28 +01:00
Benjamin Valentin
8c5b898ed4 drivers/mtd_spi_nor: add ; after DEBUG() 2021-12-08 18:30:43 +01:00
Benjamin Valentin
0c5631bd52 drivers/dose: make use of periph_uart_collision feature 2021-12-08 17:35:00 +01:00
2a1be13f17
drivers/ccs811: migrate to ztimer 2021-12-08 15:15:30 +01:00
1acdec389e
drivers/lsm6dsl: migrate to ztimer 2021-12-08 15:15:30 +01:00
40a1dcb35b
drivers/tsl2561: migrate to ztimer 2021-12-08 15:15:30 +01:00
aa65feab25
drivers/si114x: migrate to ztimer 2021-12-08 15:15:30 +01:00
0076eb83fc
drivers/stmpe811: migrate to ztimer 2021-12-08 15:15:30 +01:00
Leandro Lanzieri
15165bfdf7
Merge pull request #17299 from fjmolinas/pr_nrf52_boards_kconfig
boards: model nrf52 boards
2021-12-08 14:45:03 +01:00
Francisco Molina
69ac014664 drivers/*: add HAVE* 2021-12-08 13:25:26 +01:00
Francisco Molina
738ec239b1 drivers/saul/Kconfig: fix autoselection based on SAUL_DEFAULT 2021-12-08 13:25:26 +01:00
Francisco Molina
39cfa43262 drivers/apds99xx/Kconfig: fix multimodel selection 2021-12-08 13:25:26 +01:00
Francisco Molina
2dab9eeb32 drivers/lpsxxx: fix variant selection 2021-12-08 13:25:26 +01:00
Francisco Molina
cfdd941f9b drivers/lis2dh12: explicit bus variant selection 2021-12-08 10:39:55 +01:00
Gunar Schorcht
739fbf41fb drivers/mcp47xx: add Kconfig 2021-12-08 05:42:07 +01:00
Gunar Schorcht
033fa00b9f drivers/mcp47xx: SAUL integration 2021-12-08 05:42:07 +01:00
Gunar Schorcht
499cbb9062 drivers/mcp47xx: add driver for MCP47xx DAC devices 2021-12-08 05:42:07 +01:00
José Alamos
ce8cda2fd8
Merge pull request #16932 from benpicco/socket_zep-hal
socket_zep: port to radio HAL
2021-12-07 18:24:33 +01:00
Leandro Lanzieri
e04169d2d6
drivers/tmp00x/kconfig: rework modelling 2021-12-07 11:32:16 +01:00
Leandro Lanzieri
2c35ab234e
drivers/tcs37727/kconfig: add hardware feature 2021-12-07 11:32:15 +01:00
Leandro Lanzieri
2d27b993d7
drivers/mpl3115a2/kconfig: add hardware feature 2021-12-07 11:32:15 +01:00
Leandro Lanzieri
a223847621
drivers/mma8x5x/kconfig: add hardware feature 2021-12-07 11:32:15 +01:00
Leandro Lanzieri
3e1ba5af2d
drivers/mag3110/kconfig: add hardware feature 2021-12-07 11:32:15 +01:00
Leandro Lanzieri
88e4c1e5f9
drivers/lis3dh/kconfig: add hardware feature 2021-12-07 11:32:15 +01:00
Leandro Lanzieri
ef71ff5199
drivers/hdc1000/kconfig: add hardware feature 2021-12-07 11:32:14 +01:00
Leandro Lanzieri
e2a78efb42
drivers/fxos8700/kconfig: add hardware feature 2021-12-07 11:32:14 +01:00
benpicco
228ba83dc6
Merge pull request #17184 from benpicco/drivers/dose-standby_fix
drivers/dose: fix standby mode
2021-12-07 11:09:43 +01:00
Francisco
de7df7201a
Merge pull request #17309 from aabadie/pr/pkg/ztimer
pkg: migrate some packages to ztimer
2021-12-07 09:13:39 +01:00
Gunar Schorcht
2cbd6d19cb drivers/aip31068: remove dependeny of I2C implementation on ESP32
On the ESP32 it is often not possible with the I2C software implementation to communicate with an AIP31068 based LCD module.  Therefore, the I2C hardware implementation is enabled when the AIP31068 driver is used, but it is more buggy than stable. The timing of the two implementations seems to be almost identical. The only difference is that the hardware implementation clears the bus before each access by sending 10 clock pulses on the SCL line while SDA is LOW. Using the same mechanism during I2C initialization for the software implementation solves the communication problem with the AIP31068. The special dependency on I2C hardware implementation for AIP31068 is removed therefore.
2021-12-06 22:02:30 +01:00
2e0c02b25d
Merge pull request #17340 from gschorcht/driver/fix_css811_read_status
driver/css811: fix read status
2021-12-04 17:41:02 +01:00
Gunar Schorcht
74afd3b365 drivers/hd44780: PCF857x I2C interface added 2021-12-04 17:38:34 +01:00
benpicco
0646862421
Merge pull request #10430 from gschorcht/drivers_pcf857x
drivers: add PCF857X I2C I/O expander driver
2021-12-04 16:57:01 +01:00
Gunar Schorcht
a471d947f0 drivers/saul: add PCF857X driver 2021-12-04 14:11:04 +01:00
Gunar Schorcht
7eb599e765 drivers: add PCF857X I/O expander driver 2021-12-04 14:11:04 +01:00
Gunar Schorcht
6bdc590516 drivers/ccs811: small cleanups in documentation 2021-12-04 13:43:31 +01:00
Gunar Schorcht
27265095cd drivers/ccs811: fix the data ready check
When the measurement results are read from the `ALG_RESULT_DATA` register set including the STATUS register, the `DATA_RDY` flag in the STATUS register is already cleared during reading. Therefore it is not possible to check this flag after the `ALG_RESULT_DATA` has been read. Therefore the function `ccs811_read_iaq` always returned `CCS811_ERROR_NO_NEW_DATA` although the data were valid either after checking for new data with the function `ccs811_data_ready` or after triggering the Data Ready interrupt.
2021-12-04 13:43:31 +01:00
8329112c45
Merge pull request #17088 from fjmolinas/pr_stmpe811_spi
drivers/stmpe811: add spi mode
2021-12-03 21:37:46 +01:00
Francisco Molina
e17fe0aee2 drivers/stmpe811: add spi mode 2021-12-03 17:12:03 +01:00
Marian Buschsieweke
c97a2119f3
drivers/mcp2515: use container_of()
This silences false positives of -Wcast-align
2021-12-03 10:12:35 +01:00
Francisco
215fb49446
Merge pull request #17288 from leandrolanzieri/pr/drivers/ili9341/add_kconfig_feature
drivers/ili9341/Kconfig: add feature to indicate hardware
2021-12-03 00:46:29 +01:00
Francisco
662aba4680
Merge pull request #17307 from leandrolanzieri/pr/sys/ztimer/kconfig/fix_compat_deps
sys/ztimer/kconfig: enable xtimer compat only with timer backend
2021-12-02 14:52:30 +01:00
b6cc07009f
Merge pull request #17284 from fjmolinas/pr_ztimer_no_periph_rtt
sys/ztimer: add 'ztimer_no_periph_rtt'
2021-12-02 11:02:24 +01:00
Leandro Lanzieri
004da59672
sys/ztimer/kconfig: enable xtimer compat only with timer backend
This also moves the selection of MODULE_ZTIMER_PERIPH_TIMER from
MODULE_ZTIMER_USEC to the visible symbol ZTIMER_USEC.
2021-12-02 09:38:06 +01:00
Francisco Molina
7c3360e4d6 sys/ztimer: add 'ztimer_no_periph_rtt'
This is a temporary fix for Issue #17060. It allows to disable
auto inclusion of `ztimer_periph_rtt` in cases where another
module or application requires direct access.

Limitations:
- as ifeq are involved order of inclusion matters, therefore
  these modules should be included early in the build at application
  level and not in modules `Makefile.dep`
- this does not disallow direct inclusions of `ztimer_periph_rtt`,
  since this only disables auto inclusion of these modules

This is a temporary solution since this is already possible with
Kconfig, but not in make.
2021-12-02 07:54:38 +01:00
25d1e2daa2
pkg/driver_bme680: migrate to ztimer 2021-12-01 17:54:55 +01:00
19018760a5
drivers/mhz19: migrate to ztimer 2021-12-01 14:32:41 +01:00
Francisco
7a8f840627
Merge pull request #17303 from aabadie/pr/drivers/remove_useless_xtimer_includes
drivers: remove some useless xtimer includes
2021-12-01 13:46:08 +01:00
1e2d53987b
drivers/si114x: remove useless xtimer include 2021-12-01 11:29:32 +01:00
Leandro Lanzieri
7b35d6e0f0
drivers/sht1x: rework Kconfig 2021-12-01 10:14:35 +01:00
Leandro Lanzieri
371161548c
drivers/ltc4150/kconfig: add feature 2021-12-01 10:14:35 +01:00
a079ec818b
drivers/sds011: remove useless xtimer include 2021-12-01 10:06:25 +01:00
c6bf3fc897
drivers/hmc5883l: remove useless xtimer include 2021-12-01 10:06:24 +01:00
51638c0ba1
drivers/hts221: remove useless xtimer include 2021-12-01 10:06:24 +01:00
f2dcaee7bd
drivers/grove_ledbar: remove useless xtimer include 2021-12-01 10:06:24 +01:00
9ad52ec7eb
drivers/feetech: remove useless xtimer include 2021-12-01 10:06:24 +01:00
06211f967b
drivers/dfplayer: remove useless xtimer include 2021-12-01 10:06:24 +01:00
03770e36e7
drivers/tsl2561: remove useless xtimer include 2021-12-01 10:06:24 +01:00
557e929bdb
drivers/vcnl40x0: remove useless xtimer include 2021-12-01 10:06:23 +01:00
e4ab484bcb
drivers/veml6070: remove useless xtimer include 2021-12-01 10:06:23 +01:00
86a388a280
drivers/ws281x: remove useless xtimer include 2021-12-01 10:06:23 +01:00
Francisco Molina
1ef9ca8a6f drivers/soft_spi: remove nanosleep 2021-11-30 10:31:22 +01:00
Gunar Schorcht
8794b357a1
Merge pull request #17289 from leandrolanzieri/pr/drivers/sx126x/kconfig/rework
drivers/sx126x/Kconfig: rework model selection
2021-11-30 06:01:01 +01:00
benpicco
05b9c84369
Merge pull request #17255 from MrKevinWeiss/pr/kconfig/sam54
.murdock: Add same54-xpro to kconfig tests
2021-11-29 23:22:23 +01:00
benpicco
c84a40abc4
Merge pull request #17275 from gschorcht/drivers/periph_i2c_acquire_void
drivers/periph_i2c: let i2c_acquire return void
2021-11-29 11:44:59 +01:00
Leandro Lanzieri
f979ec5812
drivers/sx126x/Kconfig: rework model selection 2021-11-29 10:45:10 +01:00
Leandro Lanzieri
4512a25427
drivers/ili9341/Kconfig: add feature to indicate hardware 2021-11-29 10:38:48 +01:00
Kevin "Tristate Tom" Weiss
7f649aa505
Merge pull request #17270 from leandrolanzieri/pr/boards/saml21/model_kconfig
boards/saml21-based: model kconfig
2021-11-29 09:57:15 +01:00
MrKevinWeiss
fba9cad987
periph/gpio: Model TAMPER_WAKE for kconfig 2021-11-29 09:12:28 +01:00
MrKevinWeiss
f98128f0fb
boards/same54-xpro: Kconfig mtd model 2021-11-29 09:12:28 +01:00
MrKevinWeiss
51f92fa816
drivers/periph_spi: Kconfig SPI_ON_QSPI model 2021-11-29 09:12:27 +01:00
Gunar Schorcht
312c31dce5 drivers: update to new I2C API 2021-11-29 06:35:25 +01:00
Gunar Schorcht
3d93b2bcf0 drivers/periph/i2c: i2c_acquire() returns void
Since all implementations simply return 0 and most drivers do not check the return value, it is better to return void and use an assert to ensure that the given device identifier and given device parameters are correct.
2021-11-29 06:35:25 +01:00
Leandro Lanzieri
d962787043
Merge pull request #17274 from fjmolinas/pr_kconfig_nrf51
cpu/nrf51: model kconfig
2021-11-26 12:55:27 +01:00
Leandro Lanzieri
e44ff31560
drivers/sx127x/kconfig: rework modelling 2021-11-26 11:06:50 +01:00
Francisco Molina
3a4f30ec80 drivers/periph_common: add periph_uart_hw_fc 2021-11-26 10:39:40 +01:00
Francisco Molina
272ebd73f4 drivers/bmx055: add saul_default Kconfig selection 2021-11-26 10:39:40 +01:00
Francisco Molina
dbdaa776e4 drivers/mma8x5x: add HAVE_MMA8X5X 2021-11-25 12:33:40 +01:00
f47db6f2c2
drivers/dsp0401: migrate to ztimer 2021-11-23 15:58:56 +01:00
Leandro Lanzieri
7036388769
drivers/periph_common: add RTC ms module to Kconfig 2021-11-22 12:25:57 +01:00
Leandro Lanzieri
e525e23143
drivers/dfplayer: add no_strerror option to Kconfig 2021-11-22 12:25:57 +01:00
Leandro Lanzieri
0a19e58fcb
driver/at30tse75x/Kconfig: enable as default sensor when present 2021-11-22 12:25:31 +01:00
Leandro Lanzieri
e6789198f8
drivers/at24mac/Kconfig: enable as EUI provider when present 2021-11-22 12:25:31 +01:00
Leandro Lanzieri
7c5630032f
drivers/bmx280: refactor Kconfig model 2021-11-22 12:25:31 +01:00
Leandro Lanzieri
347fb256d5
drivers/at24mac: add Kconfig feature 2021-11-22 12:25:31 +01:00
Wouter Symons
5055d0993e drivers/dht: correct interpreting raw values 2021-11-20 14:55:02 +01:00
Benjamin Valentin
669104d841 cpu/sam0_common: SPI: don't perform DMA transfer for small buffers
Setting up a DMA transfer can take longer than sending out a buffer
byte by byte if the buffer is small.

DMA only shows advantages for large buffers, using it for every transfer
will cause a net slowdown.

Since we did not come up with a good way to determine the treshold based
on the SPI frequency, just use a fixed buffer for now so that DMA can be
used without slowing things down overall.
2021-11-19 17:22:51 +01:00
benpicco
24aa7eb6bf
Merge pull request #17191 from benpicco/drivers/periph-byte_type
drivers/periph: use uint_fast8_t as default type
2021-11-18 17:21:55 +01:00
Leandro Lanzieri
c5f9d50a57 socket_zep: add Kconfig 2021-11-18 14:17:29 +01:00
Benjamin Valentin
1768e93710 drivers/periph: use uint_fast8_t as default type
The default driver type is just an index into a device array defined
by the board.

If a platform wants to encode additional information in the device type,
it can define a custom type.

This means we can just set the default type to whatever fits the target
CPU best.

On ARM this will still be a 32 bit word, but on AVR it will by a 8 bit byte.
2021-11-18 10:29:50 +01:00
Benjamin Valentin
4664e63ad4 drivers/soft_uart: fix type usage 2021-11-18 10:14:51 +01:00
Leandro Lanzieri
6a1340da26
drivers/si70xx/kconfig: rework 2021-11-18 09:03:07 +01:00
Leandro Lanzieri
a8d679062a
drivers/ccs811/kconfig: add feature symbol 2021-11-18 09:03:07 +01:00
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
Benjamin Valentin
965fa3ef10 drivers/dose: clarify timeout calculation 2021-11-11 14:43:07 +01:00
Benjamin Valentin
32c29bf062 drivers/dose: fix standby mode
Previously we would not disable the sense pin, this meant that
a node could still wake up if the standby pin is not connected.

Properly disable sensing when in standby and wait for a state
transition to IDLE to avoid aborting a reception and messing up the
DOSE internal state.
2021-11-11 14:33:55 +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
Benjamin Valentin
f89d0c7c25 drivers/periph/uart: add periph_uart_collision feature 2021-11-10 15:57:45 +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
Francisco Molina
9a2c880a60 drivers/stmpe811: use errno 2021-10-30 23:25:50 +02: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
Francisco
2d0a6874c7
Merge pull request #16763 from benpicco/drivers/lm75-saul
drivers/lm75: add SAUL integration
2021-09-21 10:41:58 +02:00
Benjamin Valentin
67f737b5e0 drivers/cc110x: use pseudo-modules for band selection 2021-09-17 12:58:10 +02:00
benpicco
d8000e74ca
Merge pull request #16825 from viktorbatista/lm75_again
drivers/lm75: fixed a typo in Kconfig
2021-09-16 22:28:45 +02:00
benpicco
b6a2d08afc
Merge pull request #15915 from fabian18/ina3221-fixes
drivers/ina3221: style fixes and improvements
2021-09-16 22:22:33 +02:00
MrKevinWeiss
537c4c7096
cpu/cc2538: Add Kconfig cpu and radio 2021-09-08 12:40:31 +02:00
MrKevinWeiss
99d43a7223
drivers/netdev,sys/net: Add kconfig for netdev 2021-09-08 12:40:31 +02:00
Vitor Batista
d742b0f7c1 drivers/lm75: minor fixes related to the CONFIG_LM75_I2C_ADDR variable 2021-09-08 12:27:49 +02:00
benpicco
c98c488559
Merge pull request #16746 from jia200x/pr/hal/fb_lock
ieee802154/submac: reimplement using FSM
2021-09-03 18:13:58 +02:00
Jose Alamos
8f97f73453
ieee802154/submac: reimplement using FSM 2021-09-03 15:00:47 +02:00
Benjamin Valentin
0ee0c5e40e drivers/periph: define periph_rtc_mem 2021-09-03 11:43:42 +02:00
Francisco
a1cbcc9ede
Merge pull request #15902 from maribu/spi-api-change-1
drivers/periph_spi: let spi_acquire return void
2021-09-02 08:50:56 +02:00
Marian Buschsieweke
732cbd969c
drivers: update to new periph_spi API 2021-09-01 21:38:40 +02:00
benpicco
9294a31856
Merge pull request #16781 from benpicco/flashpage_page-const
drivers/flashpage: flashpage_page() takes a const argument
2021-08-31 10:22:46 +02:00
Jean Pierre Dudey
719a18ca8b
Merge pull request #16773 from jeandudey/ili9341-flip
drivers/ili9341: add rotation mode to ili9341_params_t
2021-08-27 14:21:56 +02:00
Benjamin Valentin
f903ec90d4 drivers/flashpage: flashpage_page() takes a const argument
All addresses to flashpage_page() must be in flash. Flash memory is
`const`, therefore this function must also take `const` pointers.
2021-08-27 14:08:25 +02:00
Jean-Pierre De Jesus DIAZ
e6cce1a15f drivers/ili9341: add rotation mode to ili9341_params_t
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2021-08-26 10:45:05 +02:00
Benjamin Valentin
3399a6476a drivers/dose: calculate timeout based on symbol rate
A fixed timeout is either too long for high symbol rates or too short
for low symbol rates.

To fix this, calculate the timeout based on the symbol rate.

For this, the old 5ms timeout is equivalent to 58 bytes being transmitted
at 115200 baud (8 data bit + start & stop bit).

I rounded this to 50 bytes which should yield 4340 µs.
2021-08-25 20:48:54 +02:00
benpicco
dde4772aa4
Merge pull request #16003 from benpicco/cpu/nrf52/saul-vddh
cpu/nrf52: add SAUL driver for VDDH sensor
2021-08-25 20:31:53 +02:00
benpicco
025770968b
Merge pull request #16036 from bergzand/pr/gd32vf103/initial
gd32v/seeedstudio-gd32: Initial support
2021-08-25 00:38:00 +02:00
Benjamin Valentin
fc457459bf drivers/lm75: cleanup 2021-08-24 14:34:52 +02:00
Benjamin Valentin
75e2a65681 drivers/flashpage: add missing include 2021-08-24 14:30:23 +02:00
Benjamin Valentin
42a5807845 drivers/lm75: add SAUL integration 2021-08-20 18:15:13 +02:00
benpicco
be85777cd1
Merge pull request #16678 from viktorbatista/modules/lm75
drivers/lm75: driver for the lm75 sensor and derivatives
2021-08-20 18:04:12 +02:00
Vitor Batista
9267fa2670 drivers/lm75: driver for the lm75 sensor and derivatives 2021-08-20 17:09:40 +02:00
benpicco
71953c984c
Merge pull request #16534 from jia200x/pr/detach_radio_hal_descriptor
ieee802154/radio_hal: detach hal descriptor from driver
2021-08-18 18:15:51 +02:00
Jose Alamos
ddc9c7c686
ieee802154/radio_hal: detach hal descriptor from driver 2021-08-18 15:24:10 +02:00
Jose Alamos
8c0c603146
drivers/at86rf215: remove msg queue dependency 2021-08-16 15:28:06 +02:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
Jan Romann
441afca9fe
drivers/nrf24l01p_ng: fix ENABLE_DEBUG definitions 2021-08-12 17:30:45 +02:00
Marian Buschsieweke
7aab478678
drivers/soft_spi: update API to match periph_spi 2021-08-06 12:47:00 +02:00
Marian Buschsieweke
9e5f7b6797
drivers/periph_spi: make spi_acquire() return void
There is no way to properly handle incorrect SPI parameters at run time, so
just having an assertion blow up is the better choice here.

As most instances of `spi_acquire()` don't check the return value anyway, this
will improve debugging experience quite a bit. Some implementation of
spi_acquire() don't even check parameters anyway.
2021-08-06 12:46:57 +02:00
José Alamos
39d27c2f7c
Merge pull request #16533 from jia200x/pr/submac_fixes
ieee802154/submac: fix initialization code
2021-08-04 16:53:58 +02:00
benpicco
feac187d54
Merge pull request #16506 from benpicco/drivers/dose-rx_start
drivers/dose: make use of start condition received interrupt
2021-07-28 17:21:29 +02:00
Benjamin Valentin
d48f673597 drivers/dose: make use of periph_uart_rx_start feature 2021-07-28 16:19:04 +02:00
Benjamin Valentin
eecc166180 rtt_rtc: fix rtc_now access 2021-07-28 00:35:47 +02:00
Benjamin Valentin
6178325b5b rtt_rtc: fix rtc_get_time_ms() 2021-07-28 00:35:47 +02:00
Benjamin Valentin
0964a217b5 rtt_rtc: add rtc_settimeofday() & rtc_gettimeofday() 2021-07-27 22:12:25 +02:00
Benjamin Valentin
9194440ead drivers/periph/uart: add periph_uart_rx_start feature 2021-07-27 16:29:30 +02:00
benpicco
775d6095bc
Merge pull request #16660 from fjmolinas/pr_lora_e5_dev
boards/lora-e5-dev: initial support
2021-07-21 14:36:58 +02:00
Francisco Molina
c62f6e0590
cpu/stm32/flashpage: adapt to non dual-core stm32wl 2021-07-21 11:28:16 +02:00
benpicco
b0d9ea4b99
Merge pull request #16663 from maribu/drivers/dfplayer
drivers/dfplayer: fix doc & C++ boilerplate
2021-07-21 00:43:07 +02:00
benpicco
07b3e19d01
Merge pull request #16632 from maribu/periph/uart
periph/uart: Fix doc, use errno for return values
2021-07-21 00:12:24 +02:00
Marian Buschsieweke
e3bef10f3b
drivers/dfplayer: fix doc & C++ boilerplate
- Fix unbalanced groups
- Add missing doc
- Fix C++ `extern "C" { ... }` boilerplate
2021-07-20 22:18:21 +02:00
Jose Alamos
b299299ad3
drivers/sx126x: fix NETOPT_RX_SYMBOL_TIMEOUT 2021-07-14 14:11:15 +02:00
Jose Alamos
c6da77a454
Revert "drivers/sx127x: fix size of rx symbol timeout"
This reverts commit 26ead7b5be.
2021-07-13 21:14:28 +02:00
Jose Alamos
abb88b1ffe
netdev_ieee802154_submac: check error codes 2021-07-12 18:20:50 +02:00
Jose Alamos
6b1241c7bf
netdev_ieee802154_submac: fix initialization code 2021-07-12 16:48:50 +02:00
José Alamos
9eb05b0ce6
Merge pull request #16631 from jia200x/pr/fix_gnrc_netif_cmd_lora_dep
shell_commands/gnrc_netif: fix gnrc_netif_cmd_lora dependency
2021-07-10 18:00:22 +02:00
Marian Buschsieweke
e7cacf6f60
periph/uart: Fix doc, use errno for return values
Some terminology issues are fixed. (The speed of an UART interface is
the symbol rate. The unit it is measured in is baud, which is symbols
per second. There is no such thing as baudrate or even baud/s.)

The return codes are changed to use negative errno constants on error
to match the driver design rules. For backward compatibility, the
enum was updated to match the error codes. Unless an application
depends on the exact numerical value (which would be insane), this is
not breaking any code.
2021-07-09 17:06:01 +02:00
José Alamos
934c875aba
Merge pull request #16579 from akshaim/pr/wl55jc_lorawan_final
drivers/sx126x: Add support for Nucleo -WL55JC
2021-07-09 14:48:11 +02:00
Jose Alamos
c8f9d85002
shell_commands/gnrc_netif: fix gnrc_netif_cmd_lora dependency
This commit fixes the dependency resolution of `gnrc_netif_cmd_lora`.
As it was, this module was pulled by the driver if `gnrc` was used.
Besides pulling an extra dependency in applications that don't use
`shell_commands` or `gnrc_lorawan`, this hardcodes the module
resolution in the drivers.

This commit pulls `gnrc_netif_cmd_lora` if `shell_commands` and
`gnrc_lorawan` are present.
2021-07-09 13:29:07 +02:00
Jose Alamos
ebb857f8fa
drivers/encx24j600: avoid explicit cast to netdev 2021-07-09 11:35:23 +02:00
Jose Alamos
91bd1ccd9e
drivers/ethos: avoid explicit cast to netdev 2021-07-09 11:35:23 +02:00
Jose Alamos
2d0802e31f
drivers/slipdev: avoid explicit cast to netdev 2021-07-09 11:35:22 +02:00
Jose Alamos
d4052805f9
drivers/dose: avoid explicit cast to netdev 2021-07-09 11:35:21 +02:00
Akshai M
29c392d52d drivers/sx126x : Uncrustify 2021-07-09 11:16:41 +02:00
Akshai M
17ad0fc5a7 driver/sx126x : Add set_rf_mode interface 2021-07-09 11:16:41 +02:00
Akshai M
8870a885cb drivers/sx126x : Add stm32wl variant 2021-07-09 11:16:41 +02:00
Akshai M
896c12a009 drivers/sx126x: Enable SX126X_IRQ_SYNC_WORD_VALID irq 2021-07-09 10:47:42 +02:00
Akshai M
23c70e321d drivers/sx126x.c : Add debug messages 2021-07-09 10:47:42 +02:00
Jose Alamos
bfbbec3de3
sx127x: avoid explicit cast to netdev 2021-07-09 10:38:36 +02:00
Jose Alamos
c9ee5fb76a
sx126x: avoid explicit cast to netdev 2021-07-09 10:38:36 +02:00
Jose Alamos
af5622cd78
rn2xx3: avoid explicit cast to netdev 2021-07-09 10:38:36 +02:00
Jose Alamos
73da8b3cd5
nrf24l01p_ng: avoid explicit cast to netdev 2021-07-09 10:38:35 +02:00
Jose Alamos
947e305e0b
netdev_ieee802154_submac: avoid explicit cast to netdev 2021-07-09 10:38:35 +02:00
Jose Alamos
9aa832f077
cc2420: avoid explicit cast to netdev 2021-07-09 10:38:33 +02:00
Jose Alamos
343ffa9f7e
at86rf215: avoid explicit cast to netdev 2021-07-09 10:38:33 +02:00
Jose Alamos
227c06dd11
kw41zrf: avoid explicit cast to netdev 2021-07-09 10:08:46 +02:00
Jose Alamos
8cc28a29e1
kw2xrf: avoid explicit cast to netdev 2021-07-09 10:08:46 +02:00
Jose Alamos
b1c86a9ae3
mrf24j40: avoid explicit cast to netdev 2021-07-09 10:08:45 +02:00
Jose Alamos
72d71f1ac4
at86rf2xx: avoid explicit cast to netdev 2021-07-09 10:08:45 +02:00
José Alamos
d75f032a47
Merge pull request #16599 from akshaim/pr/sx126xsymbol_timeout
drivers/sx126x : r/NETOPT_RX_TIMEOUT/NETOPT_RX_SYMBOL_TIMEOUT
2021-07-08 23:39:36 +02:00
Akshai M
4d890b1c45 drivers/sx126x : Configure Rx timeout timer 2021-07-08 12:19:36 +02:00
Akshai M
8d43dbf67f drivers/sx126x : Update NETOPT_RX_xx
r/NETOPT_RX_TIMEOUT/NETOPT_RX_SYMBOL_TIMEOUT
Use sx126x_symbol_to_msec() to calculate the RX timeout in ms.
2021-07-08 12:19:36 +02:00
Akshai M
a3ed19e0ee drivers/sx126x.h : Add sx126x_symbol_to_msec() 2021-07-08 12:19:36 +02:00
benpicco
3d42fe98aa
Merge pull request #16618 from benpicco/drivers/dose-EBUSY
drivers/dose: return -EBUSY if medium is busy
2021-07-07 15:28:26 +02:00
Nicolas Harel
bc25d3b458 drivers/at24cxxx: rearrange AT24CXXX_PARAMS 2021-07-07 10:15:55 +02:00
Fabian Hüßler
c8d1cde380 drivers/ina3221: SAUL refactor 2021-07-07 08:40:02 +02:00
Fabian Hüßler
c50149e488 drivers/ina3221: refactor 2021-07-07 08:40:02 +02:00
Benjamin Valentin
5b959364fc drivers/dose: return -EBUSY if medium is busy
If there was a collision, return -EBUSY so the frame can be put into
the packet queue and we can attempt to send it again.
2021-07-06 16:12:31 +02:00
Francisco
ccfd3ee980
Merge pull request #16597 from jia200x/pr/sx126x_kconfig
sx126x: add support for multiple simultaneous variants
2021-07-06 13:19:15 +02:00
benpicco
8f9233f329
Merge pull request #16232 from maribu/drivers/cc110x
drivers/cc110x: add power off (sleep) functions
2021-07-06 12:24:26 +02:00
Francisco
daeac91aea
Merge pull request #16604 from jia200x/pr/lora/fix_rx_timeout_size
netdev/lora: fix size of NETOPT_RX_SYMBOL_TIMEOUT
2021-07-06 12:15:00 +02:00
Francisco
94820faab9
Merge pull request #16570 from jia200x/pr/sx126x/fix_netdev_write
drivers/sx126x: fix netdev send and recv function
2021-07-06 11:45:51 +02:00
Marian Buschsieweke
462ea9aec0
drivers/cc110x: hook up cc110x_sleep into netdev 2021-07-06 10:12:26 +02:00
Marian Buschsieweke
3d76875f38
drivers/cc110x: style fixes 2021-07-06 10:12:21 +02:00
Francisco Acosta
0efc13602f
drivers/cc110x: add power off (sleep) functions 2021-07-06 10:11:55 +02:00
Jose Alamos
2e5b7f9e31
sx126x: add support for multiple simultaneous variants 2021-07-05 16:02:15 +02:00
Jose Alamos
033c1d97f7
sx126x: move pa_cfg to ROM 2021-07-02 11:12:53 +02:00
Jose Alamos
26ead7b5be
drivers/sx127x: fix size of rx symbol timeout 2021-07-01 11:58:34 +02:00