Hello Kevin,
[...] Also since almost no one knows of the existence of these files (or at least I did not until tonight) [...]
Which picks up on my point of our last meeting about documentation. We must document what we are doing otherwise this will happen all the time! And it will only get worse if we don't do it at least for the new stuff!
Thus I want to propose including small snippets of code with the peripheral drivers. We could add a new tag to the `driver.xml` files, something like <compile-test></compile-test> that point to a file that contains something like e.g.:
GpioOutputA0::setOutput(); GpioOutputA0::setOutput(xpcc::Gpio::High); GpioOutputA0::set(); GpioOutputA0::reset(); GpioOutputA0::toggle();
GpioInputA1::setInput(); GpioInputA1::read();
GpioA2::setOutput(); GpioA2::set(); GpioA2::setInput(); GpioA2::read();
for the stm32/gpio driver.
I don't think this will work very well. Often you will need something more, for example some include files etc. which would not fit in this scheme. Cheers, Fabian