error compile when define ISR routine for external interrrupt
See original GitHub issueI got an error when i try to implement in ISR for external interrupt:
09:30:12 Building the project | Processing...
.pioenvs/optibootPro16MHzatmega328/libFrameworkArduino.a(WInterrupts.o): In function `__vector_2':
collect2: error: ld returned 1 exit status
09:30:16 ERROR | it took 4.49s
Here is implementation
#ifdef EXTERNAL_INTERRUPT
ISR(INT1_vect) {
CounterControl::GATE_ISR();
};
void CounterControl::GATE_ISR() {
}
#endif
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
AVR External Interrupts - Tutorials
When an interrupt occurs, the current program execution is stopped, the context is saved and the control jumps to Interrupt Service Routine (the...
Read more >[Resolved] prototype of ISR gives already defined error
I have 2 files that contain interrupt info... a header file called Interrupts.h, and a code file called Interrupts.c. Here they are.
Read more >Exception and Interrupt - STM32 - Code Inside Out
The current executing application on a processor can be interrupted by either internal system exception or external interrupt.
Read more >Problem with external interrupt - ST Community
My setting is a SPC56xL Discovery Kit and the SPC5 Studio in combination with the High Tec C compiler. What I want to...
Read more >Why am I getting error: interrupt service routine should have ...
The compiler arranges to pop the error code off the stack before the IRET instruction. #ifdef __x86_64__ typedef unsigned long long int uword_t; ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes, is truth! After i make update i see that not working with old json and need to do exactly what u say (after many try’s). Maybe is better to make an update to this threat to help and other users.
Good to hear!
As recommendation, I realized your JSON file hasn’t the right format, in PlatformIO 3 it should be like this:
Rename the json file as:
optibootPro16MHzatmega328.json
That way you will avoid any problem