Am 18.02.2018 um 20:41 schrieb Philipp Klaus Krause:
> 
> This is a known limitation. Currently, SDCC only supports 16-bit
> adresses for STM8, both for data and code. In particular, support for a
> larger memory model that uses 24-bit addresses for code or data is not
> yet implemented.

In SDCC 3.7.3 #10533 support for the new large memory model for stm8
should be complete.

The large memory model allows to use the whole flash for code. Constant
data is still restricted to the lower 64K of the address space. The
linker should atomatically place the code above the constant data by
default, i.e. on an STM8 device with a total of 128 KB flash, everything
should just work as long as the total amount of constant data is at most
32 KB, and the total amount of contant data plus the total amount of
code is at most 128 KB.

Since this is new functionality, it would be good to get a bit of
testing by users, so we know if it works well for them well before the
3.8.0 release.

Philipp

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to