3 ms·
> but I am suspicious of any ECU containing malloc. The sane thing to do when using a general purpose OS as an RTOS, you pre-allocate memory during an init pha
by MisterTea 6y ago
> but I am suspicious of any ECU containing malloc.
The sane thing to do when using a general purpose OS as an RTOS, you pre-allocate memory during an init phase then run the control loop as if statically allocated. An ECU (or any tight control loop really) should have ZERO need to dynamically allocate memory while running.