2 ms·
Agreed. I’m on ARM every day and it’s not nearly as foreign as people think. Here is the issue though, portability is a joke even between chips of the same ser
by SlowRobotAhead 8y ago
Agreed. I’m on ARM every day and it’s not nearly as foreign as people think.
Here is the issue though, portability is a joke even between chips of the same series let alone chips of different mfgs and code for PC.
In a PC I’m not stuffing every possible bit in a structure because I’m going to push this “object” over a 10kbps bus at some point or because on system still measures it’s ram with a K not a G.
And typically it’s moot. Even if I have an RTOS, the majority of what a micro is doing is loading data in and out of peripherals. When it’s CPU heavy it’s typically (for me anyhow) just crunching some data in order to load a result into a peripheral. Well - those peripherals are never the same between mfgs. So portability it’s really as important to me as understanding how the mfg intended the peripheral to be used and doing so efficiency.
I’ve been doing this for some time and while it’s a nice goal to write once use many, reality gets in the way.