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.)
↧