Open antoinealb opened 10 years ago
Maybe more useful ressource : http://www.renaissancesoftware.net/blog/archives/8
For drivers where we need properly blocking IO we need to write our own drivers, since those from libopencm3 use busy-waiting. But of course we can use the low level parts of those drivers to set registers etc. I suggest to create a single new repo for all drivers. I agree about the testing. Most importantly for the state machines used for the more complicated peripherals.
I would prefer a repo per driver because all drivers might not compile on all boards. For example the Ethernet driver will only compile on the master, but the CAN will be shared between master / slave / power.
Also, shared repository is useful when different parts are to remain in sync. Drivers being independent of each other, no point in doing so here.
So, let's talk about device drivers.
libopencm3
?