With refer to allon_sensor_tflm.ld on Seeed_Grove_Vision_AI_Module_V2 repo, CM55M_S_APP_ROM LENGTH is set to 256kB. It seems that the max code size is 256kB.
Is there a sample code that demonstrates application code larger than 256k?
Techniques like compiler optimization flags (-Os
for GCC), code refactoring, and removing unused libraries can significantly reduce code size.