Closed maxgerhardt closed 3 years ago
This significantly reduces the firmware size and also makes it possible to compile the firmware for a smaller 8Kbyte flash device (stm8sblue), where the firmware is only 565 bytes big, compared to the over 21kByte before.
For the environments
stm8sblue stm8sdisco nucleo_8s207k8 nucleo_8s208rb
with the old config file:
Error: The program size (21730 bytes) is greater than maximum allowed (8192 bytes) *** [checkprogsize] Explicit exit, status 1 RAM: [ ] 0.0% (used 0 bytes from 1024 bytes) Flash: [==========] 265.3% (used 21730 bytes from 8192 bytes) RAM: [ ] 0.0% (used 0 bytes from 2048 bytes) Flash: [======= ] 74.4% (used 24393 bytes from 32768 bytes) RAM: [ ] 0.1% (used 5 bytes from 6144 bytes) Flash: [==== ] 37.9% (used 24839 bytes from 65536 bytes) RAM: [ ] 0.3% (used 21 bytes from 6144 bytes) Flash: [== ] 22.2% (used 29062 bytes from 131072 bytes)
With my updated file:
RAM: [ ] 0.0% (used 0 bytes from 1024 bytes) Flash: [= ] 6.9% (used 565 bytes from 8192 bytes) RAM: [ ] 0.0% (used 0 bytes from 2048 bytes) Flash: [ ] 1.7% (used 567 bytes from 32768 bytes) RAM: [ ] 0.0% (used 0 bytes from 6144 bytes) Flash: [ ] 0.9% (used 569 bytes from 65536 bytes) RAM: [ ] 0.0% (used 0 bytes from 6144 bytes) Flash: [ ] 0.4% (used 571 bytes from 131072 bytes)
The resulting firmare still works on my STM8S103F3 board.
Thanks, merged.
This significantly reduces the firmware size and also makes it possible to compile the firmware for a smaller 8Kbyte flash device (stm8sblue), where the firmware is only 565 bytes big, compared to the over 21kByte before.
For the environments
with the old config file:
With my updated file:
The resulting firmare still works on my STM8S103F3 board.