Skip to content

Core code produces warnings when compiling for ATtiny85 #10832

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

Open
Erwin007 opened this issue Oct 3, 2020 · 0 comments
Open

Core code produces warnings when compiling for ATtiny85 #10832

Erwin007 opened this issue Oct 3, 2020 · 0 comments
Labels
Architecture: AVR Applies only to the AVR microcontrollers (Uno, etc.) Component: Core Related to the code for the standard Arduino API Type: Bug

Comments

@Erwin007
Copy link

Erwin007 commented Oct 3, 2020

I've got in File > Preferences under "Additional Boards Manager URLs" the link:
https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json

Is it possible to correct the warnings in WInterrupts for ATtiny 25/45/85 and 24/44/84 ?

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\WInterrupts.c: In function 'attachInterrupt':
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\WInterrupts.c:198:8: warning: #warning attachInterrupt may need some more work for this cpu (case 1) [-Wcpp]
#warning attachInterrupt may need some more work for this cpu (case 1)
^~~~~~~
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\WInterrupts.c: In function 'detachInterrupt':
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\WInterrupts.c:312:8: warning: #warning detachInterrupt may need some more work for this cpu (case 1) [-Wcpp]
#warning detachInterrupt may need some more work for this cpu (case 1)
^~~~~~~
In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\WInterrupts.c:29:0:
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\WInterrupts.c: In function 'INT1_vect':
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\WInterrupts.c:373:15: warning: 'INT1_vect' appears to be a misspelled 'signal' handler, missing '__vector' prefix [-Wmisspelled-isr]
IMPLEMENT_ISR(INT1_vect, EXTERNAL_INT_1)
^
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\WInterrupts.c:373:1: note: in expansion of macro 'IMPLEMENT_ISR'
IMPLEMENT_ISR(INT1_vect, EXTERNAL_INT_1)
^~~~~~~~~~~~~
In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\Tone.cpp:37:0:
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\Tone.cpp: In function 'void TIMER2_COMPA_vect()':
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\Tone.cpp:538:5: warning: 'TIMER2_COMPA_vect' appears to be a misspelled 'signal' handler, missing '__vector' prefix [-Wmisspelled-isr]
ISR(TIMER2_COMPA_vect)
^
In function 'INT1_vect':
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\WInterrupts.c:373:1: warning: 'INT1_vect' appears to be a misspelled 'signal' handler, missing '__vector' prefix [-Wmisspelled-isr]
IMPLEMENT_ISR(INT1_vect, EXTERNAL_INT_1)
^
In function 'INT1_vect':
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\WInterrupts.c:373:1: warning: 'INT1_vect' appears to be a misspelled 'signal' handler, missing '__vector' prefix [-Wmisspelled-isr]
IMPLEMENT_ISR(INT1_vect, EXTERNAL_INT_1)
^
@per1234 per1234 added Architecture: AVR Applies only to the AVR microcontrollers (Uno, etc.) Component: Core Related to the code for the standard Arduino API Type: Bug labels Oct 3, 2020
@per1234 per1234 changed the title Sketch for ATtiny85 with include<Arduino.h> compiles with next warnings in WInterrupts.c Core code produces warnings when compiling for ATtiny85 Mar 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Architecture: AVR Applies only to the AVR microcontrollers (Uno, etc.) Component: Core Related to the code for the standard Arduino API Type: Bug
Projects
None yet
Development

No branches or pull requests

2 participants