Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 62446

Forum Post: RE: MSP430 GCC 4.0.1.0 - missing macros in iomacros.h

$
0
0
Dave, Thanks for the reference. It looks like there still has been no resolution from TI, or RedHat, or the new maintainer. That's what I was hoping for. Like you, I figured out how to get around it. My biggest problem with that is that a file supplied in the distribution needs to be modified, which means that somehow, I have to get it under the change management system such that the new file will get deployed to each developer's machines. It appears that all the (now) global symbols are being provided in a device specific module, and that asm and C source reference these at link time rather than at compile time. I ponder the motivation for this. Will it save a few words off the text segment, or use instructions that execute in fewer cycles? Another motivation for the overhaul might be that the device specific headers maybe destined to be represented by C structures with absolute base addresses. Like the compiler's output of C source, a register would hold a pointer to the structure (the base address), and the individual SFR's within the structure will be treated as an offset from the base. This approach is consistent with some of the other non-TI uC's with which I have worked. SFR's that are mirrored in structures seem to be more prevalent in 32-bit cores, and non-existent in the 8-bit cores. Just a few thoughts. I'll monitor the other thread for resolution. Thanks for the link, - Chuck

Viewing all articles
Browse latest Browse all 62446

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>