-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Description
Hi Andrea,
I'm currently working on a couple new ports (2 active and almost done just need to add some more peripherals, 3 more lined up afterwards) that I would like to upstream here as well. I currently got a couple question around the logistics there:
- Is there already a preferred way how to structure a HAL for different peripheral interfaces like SPI, I2C, etc shared between ports?
- I got a platform that uses some SiFive IPs in silicon but is not a SiFive based system, is it fine for platforms like these to just import from other ports or should items like that maybe made common somehow?
- One of the platforms has a pretty extensive 32GBit l2 switch peripheral, I could upstream that one here as well but that part is specific and therefore no really reusable, I assume it should be used just within the SoC. Any opinion on 'internal' packages for stuff like that or should I just place it directly into the soc folder to match other platforms structure?
I can also open up draft PRs for each SoC under which we could discuss in more detail but I assume things like where to place common driver interfaces would affect both anyways (I'm currently duplicating a bit of code there)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels