Where should parts go?

Ralf Corsepius corsepiu at faw.uni-ulm.de
Wed Mar 12 08:30:52 UTC 2003


Am Mit, 2003-03-12 um 04.47 schrieb David Dudley:
> This Atmel AVR chip has subsystems on the chip (parallel, serial, timer, 
> network, ...)
> 
> Should the drivers for the subsystems be in libbsp, or libchip?
Well, it depends ...

libchip is supposed to take drivers which are independent of a cpu, eg.
drivers for external cards or similar.

libbsp would be appropriate for drivers whose HW is specific to a BSP,
eg. for proprietary HW of a BSP.

For On-CPU drivers I'd recommend libcpu/<cpu>/<cpu-variant> (cf. the
Hitachi SH).

Ralf






More information about the users mailing list