mspgcc

Configuration msp430-unknown-none not supported

耗尽温柔 提交于 2019-12-25 08:33:07
问题 How do I get rid of the error I got on make TARGET=sky ? ERROR 1: ( .text will not fit in region rom ) 1.c: At top level: 1.c:14:57: warning: ‘last_informer’ defined but not used [-Wunused-variable] /usr/lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld: 1.sky section `.text' will not fit in region `rom' /usr/lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld: section .vectors loaded at [000000000000ffe0,000000000000ffff] overlaps section .text loaded at [0000000000004000,00000000000110eb] /usr/lib

How to declare an interrupt handler (ISR) in Mspgcc?

让人想犯罪 __ 提交于 2019-12-04 10:51:14
问题 What is the preferred method of declaring an interrupt handler in mspgcc? 回答1: Just to clarify, because this is an early Google result. __attribute__((__interrupt__(TIMER0_A0_VECTOR))) void __isr_5(void) { ... } Current GCC still (I believe this is what arvindpdmn commented about) raises an error, when using above syntax. internal compiler error: in msp430_attr, at config/msp430/msp430.c:1835 { ^ An issue was raised for this after a report of this in the TI E2E community, but said issue is

How to declare an interrupt handler (ISR) in Mspgcc?

Deadly 提交于 2019-12-03 07:58:13
What is the preferred method of declaring an interrupt handler in mspgcc? Just to clarify, because this is an early Google result. __attribute__((__interrupt__(TIMER0_A0_VECTOR))) void __isr_5(void) { ... } Current GCC still (I believe this is what arvindpdmn commented about) raises an error, when using above syntax. internal compiler error: in msp430_attr, at config/msp430/msp430.c:1835 { ^ An issue was raised for this after a report of this in the TI E2E community , but said issue is still in its "Planned" state and it is unclear who the tracker even belongs to. (You can access the issue via