Use const structs for the pio definitions Move the weak definitions outside of the...
authorNathael Pajani <nathael.pajani@ed3l.fr>
Sun, 7 Dec 2014 22:00:07 +0000 (23:00 +0100)
committerNathael Pajani <nathael.pajani@ed3l.fr>
Tue, 8 Nov 2022 16:03:04 +0000 (17:03 +0100)
commitbc58fdef09cc323ea1e9d87cdd9a1fbf76abe77a
treeaa099d5a1910dce705dbce0bb76e38d02a447eca
parent5eab59440bd60dce1fb2da1a226dde227efe5c36
Use const structs for the pio definitions Move the weak definitions outside of the driver file, so that the compiler cannot optimise and use the empty "weak" definitions. Next step is to merge all definitions in a single table, and call a single pio config function.
drivers/adc.c
drivers/gpio.c
drivers/i2c.c
drivers/serial.c
drivers/ssp.c
drivers/timers.c
drivers/weak_pinout.c [new file with mode: 0644]