-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
msp430: no optimization fix #5188
Conversation
I am not very familiar with msp430 so I won't be of much help, but did you examine the assembly output of the compiler? |
@@ -135,7 +136,8 @@ ISR(TIMER_ISR_CC0, isr_timer_a_cc0) | |||
__exit_isr(); | |||
} | |||
|
|||
ISR(TIMER_ISR_CCX, isr_timer_a_ccx_isr) | |||
void __attribute__((optimize("omit-frame-pointer"), no_instrument_function, | |||
interrupt (TIMER_ISR_CCX))) isr_timer_a_ccx_isr(void) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cgundogan Is it on purpose this ISR is not naked?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, otherwise the compiler would give messages like described #4954
news on this one? |
@cgundogan can you make it for this release? |
ping? |
Needs rebase BTW... |
Are you sure? Anyway, it would be in vain since MSP430 still seems to break with this PR and |
The rebase was only to update the PR and get rid of travis, but you're right, is not really needed. |
Given the age of the both this PR and the last build a rebuild might be a good idea. I agree with @kYc0o on that. |
Postponed in correspondence with the author. |
I merged it locally. It still fails. So, from my perspective a rebase seems like a waste of time. |
So this PR is still needed? It is compatible with #6445 ? |
@cgundogan any thoughts on this one - like close as memo? |
No significant progress for over a year. Closing as memo for now. |
addresses #4954, but does not fix it.
I modified all functions so that the compiler doesn't complain anymore.
However, if I flash the
telosb
board with thedefault
example, then I can see RIOT's greeting, but it does not respond to my input. When I flash thehello-world
example, then I get a boot-loop.Necessary to test this PR: in
cpu/Makefile.include.msp430_common
changeCFLAGS_OPT
toO0
.