1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 00:49:45 +01:00
RIOT/cpu/fe310
Marian Buschsieweke c2c2cc8592
drivers/periph_gpio: let gpio_read() return bool
Since https://github.com/RIOT-OS/RIOT/pull/20935 gpio_write()
uses a `bool` instead of an `int`. This does the same treatment for
`gpio_read()`.

This does indeed add an instruction to `gpio_read()` implementations.
However, users caring about an instruction more are better served with
`gpio_ll_read()` anyway. And `gpio_read() == 1` is often seen in
newcomer's code, which would now work as expected.
2024-10-23 13:24:09 +02:00
..
include cpu/riscv: Add PMP driver 2023-06-28 11:55:34 +02:00
periph drivers/periph_gpio: let gpio_read() return bool 2024-10-23 13:24:09 +02:00
vendor *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
clock.c cpu/fe310: use coreclk instead of cpu_freq 2021-12-15 13:14:19 +01:00
cpu.c cpu: call early_init() 2023-01-08 22:26:12 +01:00
doc.txt riscv_common: Refactor common fe310 code to riscv_common 2021-02-05 09:32:19 +01:00
Kconfig *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
Kconfig.clk cpu/fe310: move clock Kconfig to cpu 2020-12-17 15:53:31 +01:00
Makefile riscv_common: Refactor common fe310 code to riscv_common 2021-02-05 09:32:19 +01:00
Makefile.dep cpu/riscv_common: move C lib selection to common place 2021-08-25 10:53:00 +02:00
Makefile.features cpu/riscv: Add PMP driver 2023-06-28 11:55:34 +02:00
Makefile.include riscv_common: Refactor common fe310 code to riscv_common 2021-02-05 09:32:19 +01:00