Skip to content
This repository has been archived by the owner on Jun 15, 2024. It is now read-only.

Florin-Popescu/avr-libc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AVR GCC

Standard C library for AVR-GCC

Changes from official repo

  • Removed a test file (aux.c) which used a Windows reserved name.
  • Added support for AVR8x/AVRXmega3 family:
    • EEPROM
    • Sleep
    • Watchdog
  • Added support for ATTiny program memory read.
  • Added support for ATmega324PB. Tested on ATmega324PB Xplained Pro Board.
  • Added support for ATmega4808. Tested on AVR-IoT WG Development Board.

Supporting new stuff

This is a rough guide since it only documents changes already performed. So far new devices are still fairly compatibile with existing ones, but this will most likely not always be the case. It is not intendend to be an extensive porting guide.

New devices

  1. Add the device to ./configure.ac
    • to the CHECK_AVR_DEVICE list of macros under its family
    • to the list of makefiles under its family subfolder
  2. Add the device to the list of assembly files in ./crt1/iosym/Makefile.am.
  3. Add the device to the scripts:
    • ./devtools/gen-avr-lib-tree.sh
    • ./devtools/generate_iosym.sh
  4. Add the device to the makefile in ./include/avr/Makefile.am.
  5. Add an include for the device header to ./include/avr/io.h.
  6. Add the header for the device from the ATmega DFP to ./include/avr.
  7. Add the device to the documentation in:
    • ./doc/api/main_page.dox
    • ./doc/api/using-tools.dox

Forked from latest sources at AVR Libc Project with patches tracked in SVN but not yet applied, and patches from Atmel/Microchip Toolchain.