Forum : ST7/STM8
Original Post
Post Information | Post |
---|---|
September 13, 2010 - 3:19pm
|
Hi, Is there a size limit of a C function in STM8 compiler? I mean, can a C function use whole the flash area or Ram area? Thanks®ards |
Hi Volkan,
There is a limit due to the STM8 architecture: No object (function, array, struct or whatever) can cross a 64KB limit (this is called a "section" in STM8 terminology).
This means that a C function cannot be larger than 64KB.
Regards,