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

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

$
0
0
Will it save a few words off the text segment, or use instructions that execute in fewer cycles? No. The compiler could optimize these things only if it knew the actual addresses. (The old version used asm() to specify the addresses, so the compiler didn't know either. At least it did not get worse.) Another motivation for the overhaul might be that the device specific headers maybe destined to be represented by C structures with absolute base addresses. This would be completely indendent from the mechanism used to specify addresses. Anyway, if you want CMSIS-style headers, you have to write them yourself. (Or copy the definitions for the common modules like eUSCI from the MSP432 headers.)

Viewing all articles
Browse latest Browse all 62309

Trending Articles



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