Skip to content

rootmeanclaire/attiny402_rgb-pendant

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Build Errors

The toolchain for the new ATtiny 0-series and 1-series is not up to date in a lot of package repositories. Most of these errors have been fixed upstream, but I have included minimal versions of the patches here.

Fixed with patches/ldscript.patch. Apply this to /usr/avr/lib/ldscripts/avrxmega3.xn. The exact path may be slightly different for you. This patch is from the forums, not upstream.

/usr/avr/include/avr/io.h:583:6: warning: #warning "device type not defined" [-Wcpp]
  583 | #    warning "device type not defined"

Fixed with patches/devdef.patch. Apply this to /usr/avr/include/avr/io.h. The exact path may be slightly different for you.

main.c:115:9: error: 'MCUCR' undeclared (first use in this function)
  115 |         set_sleep_mode(SLEEP_MODE_STANDBY);
      |         ^~~~~~~~~~~~~~

Fixed with patches/sleep.patch. Apply this to /usr/avr/include/avr/sleep.h The exact path may be slightly different for you.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published