On 03/03/17 19:30, DJ Delorie wrote:
> Also, you can use "msp430-elf-gcc -mintr ..." to minimize the runtime
> support.
Thanks DJ,
I tried -mintr and at least one project produces code that could fit,
thanks (should have RTFM - but finding this was not intuitive).
Now the linker doesn't want to
> Now the linker doesn't want to play with me - it cannot find the
> "msp430g2231.ld" link file. Curious because the compiler fids "msp430.h"
> in the same directory.
>From my understanding the .h files and the .ld files are not supposed to be in
>the same directory. When in installed msp430-gcc-
On 03/06/2017 09:42 AM, Bob von Knobloch wrote:
> Now the linker doesn't want to play with me - it cannot find the
> "msp430g2231.ld" link file. Curious because the compiler fids "msp430.h"
> in the same directory.
I include -Wl,-L$(SUPPORT_FILE_DIRECTORY) in the flags for gcc when
linking.
SUP
On 06/03/17 16:58, Ben Green wrote:
>>From my understanding the .h files and the .ld files are not supposed to be
>>in the same directory. When in installed msp430-gcc-support-files-1.198.zip I
>>did this:
Curious, as the TI installer places them there (under
/opt/msp430-gcc/include)
> cp *.l
Bob von Knobloch writes:
> Now the linker doesn't want to play with me - it cannot find the
> "msp430g2231.ld" link file. Curious because the compiler fids "msp430.h"
> in the same directory.
Add "-v" to your gcc line, it will show you more info on where it's
searching for things. Note that t
On 03/06/2017 10:25 AM, Bob von Knobloch wrote:
> Now I have to find out where the vectors have gone - they are missing
> from the .hex file. Maybe a different name from the old mspgcc?
>
TI moved a lot of things into the linker scripts a while back. Each
vector now gets its own section and as n
On 06/03/17 17:52, DJ Delorie wrote:
>
> Bob von Knobloch writes:
>> Now the linker doesn't want to play with me - it cannot find the
>> "msp430g2231.ld" link file. Curious because the compiler fids "msp430.h"
>> in the same directory.
>
> Add "-v" to your gcc line, it will show you more info on w
On 06/03/17 18:09, David W. Schultz wrote:
> On 03/06/2017 10:25 AM, Bob von Knobloch wrote:
>> Now I have to find out where the vectors have gone - they are missing
>> from the .hex file. Maybe a different name from the old mspgcc?
>>
>
> TI moved a lot of things into the linker scripts a while ba
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)
--
David W.
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, in
10 matches
Mail list logo