On 06/03/17 21:53, David W. Schultz wrote:
> On 03/06/2017 02:19 PM, Bob von Knobloch wrote:
>> Hi David,
>> How have you extracted these from the .elf file?
>
> I didn't. You were talking about the .hex file so that is where I looked.
>
> The ISRs start out like this:
>
> __attribute__((wakeup, interrupt(USCI_A1_VECTOR))) void rxISR(void)
>

OK - I have it now,
You put me on the right track David.

I have been used to creating the hex file with "objcopy", in a make 
file. For my AVR projects, this copied .text, .data, & .vectors into the 
HEX output.

It seems this is unnecessary with msp430-elf-gcc and a simple "objcopy" 
from "main.elf" to "main.hex" with no section options does the job, also 
including the used ISRs and reset vectors.

Many thanks,
Bob
-- 
The Sun is out, the sky is blue, it's time to drive the MR2.

------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to