xil-se / xildebug_sw

XilDebug is a CMSIS-DAP compliant debugger, UART bridge and power profiler all in one package.
5 stars 1 forks source link

gpio: Add abstraction layer #15

Closed kbeckmann closed 6 years ago

kbeckmann commented 6 years ago

Thinking if we should do this or not. If we do it, we can port easily to other hardware. Then again, it might just be an annoying abstraction. Thoughts?

Idea is to let our code call gpio_write() etc instead of calling HAL_GPIO_WritePin etc.

arturo182 commented 6 years ago

Yes all in the app should be abstracted, no stm specific stuff