candle-usb / candleLight_fw

gs_usb compatible firmware for candleLight, cantact and canable
Other
662 stars 292 forks source link

RFC: Split device-specific code to different files #148

Closed fenugrec closed 1 year ago

fenugrec commented 1 year ago

Draft, still thinking about this. Comments welcome.

Since we don't have tons of device-specific code yet, I was putting all the code into a single file per mcu type. This may become impractical if

GPIO may end up in a board-specific hierarchy instead, still thinking about this.

marckleinebudde commented 1 year ago

Haven't tested but looks good!