hi flash usage compared avr8
Posted: Thu Nov 18, 2021 9:12 pm
Hi,
I recently compiled a Atmega328P code to a STM32G0.
I just changed the pins for the new hardware and build.
First try
But then I realised:

Wow, using flash is so different! is it due to all uin8_t variables instead of uint32_t?
This is basically my first experience with STM32 and general embedded arm development.
Any suggestions for making this lighter?? I switched to STM32 to expand the code but after seeing this ...
Greetings,
Nicolò
I recently compiled a Atmega328P code to a STM32G0.
I just changed the pins for the new hardware and build.
First try


Wow, using flash is so different! is it due to all uin8_t variables instead of uint32_t?
This is basically my first experience with STM32 and general embedded arm development.

Any suggestions for making this lighter?? I switched to STM32 to expand the code but after seeing this ...

Greetings,
Nicolò