2017-06-12 01:36 AM
Hello all,
I would like to generate register map definition header files preferably for all STM8 MCUs to for the SDCC project.
Is there any database (XML, MDB, whatever) from what I could generate it without hurting any license?
Thanks in advance!
#sdcc Note: this post was migrated and contained many threaded conversations, some content may be missing.2017-06-14 05:51 AM
Bump!
2017-06-22 01:04 AM
Panecki.Szymon.002
VALCIN.Simon
Could you please comment on this one?
The IAR ships a bunch of sfr files where all the necessary information would be available for me but those files are copyrighted.
I cannot believe that they have 'handtyped' those files from the datasheets, the sources of these files must be derived from some databases coming from the ST.
Thank you in advance!
2017-06-22 02:49 AM
Hi Miklos,
There is a project on github, a guy adapted the standard peripheral libraries for SDCC:
2017-06-22 05:00 AM
Thanks for the link, but there are many cases when it is easier to use the bitfields directly.
2017-06-22 05:14 AM
I agree and I support your original question.
2017-06-22 06:37 AM
2017-06-22 07:37 AM
I have checked those files but I have not found the bitfields definitions in them.
I doubt that any of that would have it because the STVD itself is unaware of that:
2017-06-23 04:40 AM
Then we can invent them :p
On Thu, Jun 22, 2017 at 3:38 PM, marton.miklos <
2017-06-23 04:43 AM
The sfr files shipped with IAR have all of these bitfield informations, but they are copyrighted and the SDCC could not include them legally.
This is why I have asked it from the ST with permissible license. But as you see they did not care about this.