Am 21.02.2018 um 22:34 schrieb Eric Rullens:
> 
> All STM8 parts with more than 32 kB flash currently cannot be used to their
> full potential with SDCC.
> 
> Looking at the ST website, at the moment this means 58 of the 138 variants.
> Including the interesting ones of course. ;-)

I would have no idea how to list all STM8 variants on the ST website;
AFAIK one can only easily list those marketed under the STM8 name. And
for some, I can't even find sufficient documentation to support them in
teh free tools (e.g. the STWBC).

> 
> A while ago I did some experiments (sadly not completed yet) by adding a 24
> bit mode to the SDCC STM8 port. Instead of CALL/RET, CALLF/RETF are emitted
> and the stack calculations need to cope with 3 instead of 2 bytes for the
> return. For the constants section I cheated a bit and made an option to
> place this segment before the code segment, so for most (of my) programs  no
> further changes would be needed.
> 
>  Eric

I have opened feature request #556 for this, and alreaedy implemented
large parts of it. I suggest you have a look at current SDCC trunk.
Since you already have some experience with 24-bit space support, you
might be able to provide patches for the still-missing parts.

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