4 ms·
Nice! It's a cool project, and ambitious, but definitely worth doing. I'll be rooting for you! Let me try to poke a hole or two in it for you. Not to discourag
by bkanber 11y ago
Nice! It's a cool project, and ambitious, but definitely worth doing. I'll be rooting for you!
Let me try to poke a hole or two in it for you. Not to discourage you, of course, but just to try and get you to think of some of the harder, less technical problems you may run into.
First, there's a fine line between a HAL and a full-fledged operating system, so be careful there! It's also hard to justify adding overhead or third party code to a system in many cases, especially if you're manufacturing for six sigma. You want every system to be in your complete control, because it turns out that making reliable products is _hard_.
I also don't see something like a universally-used HAL becoming mainstream anytime soon; for almost all production purposes (I don't know the number, of course, but perhaps on the order of 99%) a 50kHz chip with a 30-year old design is _exactly_ what you want. In most cases, you want to use a tried-and-true workhorse that you can get for $0.012 each, and not have to use a $2 chip that's powerful enough to run the HAL.
BUT a universal HAL could be great for hobbyists. Port your code easily from arduino to a powerful RISC to some other platform. That'd be great :)
BEST of luck!!
- pedalpete 11y agoThanks, I wish I had a better term than HAL, as that does sound like an OS term. I'm doing more of a middleware layer, focused on the hobbyist market first. I say Hardware Abstraction because technically, that is what it is doing, abstracting away the hardware level. My project is at https://github.com/favor/it https://github.com/favor/it if you are interested in learning more.