Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Core code produces warnings when compiling for ATtiny85 #10832

Copy link
Copy link
Open
@Erwin007

Description

@Erwin007
Issue body actions

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)
^

Metadata

Metadata

Assignees

No one assigned

    Labels

    Architecture: AVRApplies only to the AVR microcontrollers (Uno, etc.)Applies only to the AVR microcontrollers (Uno, etc.)Component: CoreRelated to the code for the standard Arduino APIRelated to the code for the standard Arduino APIType: Bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.