Firmware: Move driver instances into driver implementation files#1745
Conversation
96566da to
3b1a21e
Compare
|
From an integration point of view this is a good improvement and gets rid of most of the awkward legacy of Looking a bit beyond the scope of this PR, there is still a bit of a problem with |
3b1a21e to
8bdefc2
Compare
💯 -- this is one of the things I've been looking at in my carcinization branch. Tight-coupling is a blessing for readability when there is complex, inter-dependent configuration steps but most of |
This PR moves driver instances out of a central
drivers.xfile and into the individual driver implementation files.This shift is to reduce linker coupling that would result in unnecessary inclusion of symbols from
firmware/common/in HackRF firmware other thanhackrf_usb.As per conversation at: #1709 (comment)