Hey,
I’m wondering if we should have a new package called “sys/defs”
which contain system wide definitions. Right now there are some
definitions which don’t fit cleanly in packages (e.g. error codes
require OS package).
By having a “sys/defs” package we could put error codes into that
package, along with any other system wide definitions that don’t fit
cleanly within HAL or OS, but are foundational.
On the power management front, I’m thinking I’d put the power
management calls either in this package, or in hal_bsp.[ch].
Sterling