4 ms·
Honestly I think in the embedded world HALs are a problem with how diverse the micro controller area is getting - especially heterogeneous multi-core chips. HAL
by jack_h 6y ago
Honestly I think in the embedded world HALs are a problem with how diverse the micro controller area is getting - especially heterogeneous multi-core chips. HALs end up targeting the least common denominator but there may be a really good reason why you would want a particular micro controller in the first place.
I think Andrei Alexandrescu has a good idea that he presented in his talk about compile time introspection^[1]. That combined with something like ARMs SVD, but vastly expanded to include practically all hardware resources, might be the future. That way you could use exactly what you need.
Of course the embedded world changes very slowly, so if this every does happen I'll be long retired...
^[1] https://www.youtube.com/watch?v=tcyb1lpEHm0 https://www.youtube.com/watch?v=tcyb1lpEHm0