AVR project skeleton generator

gen_avr8 is toolset for generation of AVR8 project skeleton for development embedded applications.

Developed in python code.

The README is used to introduce the tool modules and provide instructions on how to install the tool modules, any machine dependencies it may have and any other information that should be provided before the modules are installed.

gen_avr8 python checker gen_avr8 python package github issues documentation status github contributors

Installation

gen_avr8 python3 build

Navigate to release page download and extract release archive.

To install gen_avr8 type the following

tar xvzf gen_avr8-x.y.z.tar.gz
cd gen_avr8-x.y.z/
#python3
python3 setup.py install_lib
python3 setup.py install_data
python3 setup.py install_egg_info

You can use Docker to create image/container, or You can use pip to install

#python3
pip3 install gen-avr8

Usage

Create AVR8 Project Blink, MCU/FOSC will be selected during generation process

python gen_avr8_run.py -g Blink -t app

Dependencies

gen_avr8 tool-module requires other modules and libraries

Supported MCUS

Current list of supported microcontrollers

attiny2313    atmega128      at90s2313
attiny24      atmega1280     at90s2333
attiny25      atmega1281     at90s4414
attiny26      atmega1284p    at90s4433
attiny261     atmega16       at90s4434
attiny44      atmega163      at90s8515
attiny45      atmega164p     at90s8535
attiny461     atmega165
attiny84      atmega165p
attiny85      atmega168
attiny861     atmega169
              atmega169p
              atmega2560
              atmega2561
              atmega32
              atmega324p
              atmega325
              atmega3250
              atmega329
              atmega3290
              atmega32u4
              atmega48
              atmega64
              atmega640
              atmega644
              atmega644p
              atmega645
              atmega6450
              atmega649
              atmega6490
              atmega8
              atmega8515
              atmega8535
              atmega88

Tool structure

gen_avr8 is based on Template mechanism

Generator structure

gen_avr8/
    ├── conf/
    |   ├── gen_avr8.logo
       ├── fosc.yaml
       ├── gen_avr8.cfg
       ├── gen_avr8_util.cfg
       ├── mcu.yaml
       ├── project_app.yaml
       ├── project_lib.yaml
       └── template/
           ├── app/
              ├── cflags.template
              ├── csflags.template
              ├── Makefile.template
              ├── module.template
              ├── objects.template
              ├── ocflags.template
              ├── odflags.template
              ├── sources.template
              ├── subdir.template
              └── tools.template
           └── lib/
               ├── aflags.template
               ├── avr_lib_c.template
               ├── avr_lib_h.template
               ├── cflags.template
               ├── csflags.template
               ├── Makefile.template
               ├── objects.template
               ├── ocflags.template
               ├── odflags.template
               ├── sources.template
               ├── subdir.template
               └── tools.template
    ├── __init__.py
    ├── log/
       └── gen_avr8.log
    ├── pro/
       ├── __init__.py
       ├── mcu_selector.py
       ├── module_type.py
       ├── osc_selector.py
       ├── read_template.py
       ├── template_dir.py
       ├── template_type.py
       └── write_template.py
    └── run/
        └── gen_avr8_run.py

8 directories, 40 files

Indices and tables