Looking for registermap database to generate headers for SDCC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-06-12 1: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.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-06-14 5:51 AM
Bump!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-06-22 1: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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-06-22 2:49 AM
Hi Miklos,
There is a project on github, a guy adapted the standard peripheral libraries for SDCC:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-06-22 5:00 AM
Thanks for the link, but there are many cases when it is easier to use the bitfields directly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-06-22 5:14 AM
I agree and I support your original question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-06-22 6:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-06-22 7: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:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-06-23 4:40 AM
Then we can invent them :p
On Thu, Jun 22, 2017 at 3:38 PM, marton.miklos <
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-06-23 4: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.
