bugAVR C Runtime Library - Bugs: bug #58862, avr/wdt.h LLVM11 error for...


You are not allowed to post comments on this tracker with your current authentication level.

bug #58862: avr/wdt.h LLVM11 error for atmega328p

Submitter:  Kim <kimstik>
Submitted:  Fri 31 Jul 2020 11:32:44 AM UTC
Category:  Header Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Header files
Status:  None Percent Complete:  0%
Assigned to:  None Open/Closed:  Open
Release:  2.0.0 Fixed Release:  None

Fri 31 Jul 2020 11:32:44 AM UTC, original submission:  

Error message:

avr\include\avr/wdt.h:419:12: error: value '64' out of range for constraint 'I'
                                : "I" (_SFR_IO_ADDR(_WD_CONTROL_REG)),
avr\include\avr/sfr_defs.h:183:27: note: expanded from macro '_SFR_IO_ADDR'
#define _SFR_IO_ADDR(sfr) (_SFR_MEM_ADDR(sfr) - __SFR_OFFSET)

I guess that wdt_enable()/wdt_disable() should have conditional preprocessor code instead of conditional inline.

Kim <kimstik>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by kimstik (Submitted the item)



    No changes have been made to this item

    Back to the top

    Powered by Savane 3.9