Actually inside drivers/ are supposed to have only generic drivers (upper
half drivers that work with all chips).
Please don't use drivers/ for arch specific drivers, that is not the way
NuttX is supposed to be.
Today we don't have a simple way to share arch drivers, as you can see for
each stm32
Hi,
My personal opinion: use arch/arm/src/rp23xx and arch/risc-v/src/rp23xx
With shared drivers in drivers/rp23xx
And separate board configs for arm and riscv.
Not sure if nuttx wants to support an hybrid arm+riscv port as a single
build !
So there is no need to invent new dirs.
Sebastien