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

11 Commits

Author SHA1 Message Date
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
08f93d7904
sys/saul_reg: remove deprecated saul_reg_rm 2022-01-08 11:48:44 +01:00
Bas Stottelaar
9bc7dd04e6 sys/saul_reg: add saul_reg_find_type_and_name 2021-01-18 22:28:28 +01:00
chrysn
2c62fec96e saul/doc: Warn about and deprecate saul_reg_rm
saul_reg_rm can not be used safely unless in tight coordination with the
application. This points out the issue, puts the onus of making sure
nobody calls vanishing registrations on the device driver and deprecates
the call (as the requirements for correct usage are practically
impossible to fulfull for a generic driver).
2020-05-25 16:16:11 +02:00
Hauke Petersen
41f0864b67 saul_reg: make ptr to device descriptor non const 2017-10-12 11:51:24 +02:00
Gaëtan Harter
d5ec78f917 saul_reg: define saul_reg_t dev field as a pointer to const 2017-10-05 17:18:13 +02:00
Hauke Petersen
dc4aa9768a sys/saul_reg: fixed return val doc for write func 2017-05-08 13:52:24 +02:00
Laurent Navet
0d09d2d34b doc/saul: add cross link between SAUL and SAUL registry 2017-03-02 22:35:50 +01:00
DipSwitch
cd04690070 saul: Remove _t from struct names 2016-04-11 21:46:53 +02:00
Hauke Petersen
3d63db5aed sys/saul_reg: made registry a global variable 2016-02-26 16:37:02 +01:00
Hauke Petersen
6d14d429e6 sys: added SAUL registry 2015-11-30 20:33:53 +01:00