Closed dzid26 closed 1 month ago
I checked that cpu load is the same with both options (70%). On the other hand, the assembly / rom size (24109 vs 23374 bytes) is bigger with lospre. So there is no point enabling lospre.
Tested on a development board.
On the other hand, adding --no-peep
reduces CPU usage to 62%, but the size increases to 27888 which is apparently still ok .
Or actually it's the other way round. --no-peep
makes cpu load 70% instead of 60%
nolospre should be removed https://github.com/emmebrusa/TSDZ2-Smart-EBike-1/blob/ad782fd3b5691bbf9400e01387ef65ae0ceded79/src/Makefile#L68
and minimum SDCC version should be enforced https://github.com/lujji/stm8-bare-min/blob/master/README.md#sdcc-bugs (in
compile_and_flash_20
)