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.
Contents
InstallationΒΆ
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/
#python2
python setup.py install_lib
python setup.py install_data
python setup.py install_egg_info
#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 π¦
#python2
pip install gen-avr8
#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
Copyright and licenceΒΆ
Copyright (C) 2018 by vroncevic.github.io/gen_avr8
gen_avr8 is free software; you can redistribute it and/or modify it under the same terms as Python itself, either Python version 2.x/3.x or, at your option, any later version of Python 3 you may have available.
π π π Lets help and support PSF.