Package: gen-avr8
AVR project skeleton generatorgen_avr8is tool for generation of AVR8 project skeleton for development
of embedded applications.Developed inpythoncode.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.Table of ContentsInstallationInstall using pipInstall using buildInstall using py setupInstall using dockerDependenciesUsageSupported MCUSTool structureDocsContributingCopyright and LicenceInstallationUsed next development environmentCurrently there are three ways to install packageInstall process based on using pip mechanismInstall process based on build mechanismInstall process based on setup.py mechanismInstall process based on docker mechanismInstall using pipPython is located atpypi.org.You can install by using pip#python3pip3installgen-avr8Install using buildNavigate to releasepagedownload and extract release archive.To installgen_avr8type the followingtarxvzfgen_avr8-x.y.z.tar.gzcdgen_avr8-x.y.z/# python3wgethttps://bootstrap.pypa.io/get-pip.py
python3get-pip.pypython3-mpipinstall--upgradesetuptools
python3-mpipinstall--upgradepip
python3-mpipinstall--upgradebuild
pip3install-rrequirements.txt
python3-mbuild--no-isolation--wheel
pip3install./dist/gen_avr8-*-py3-none-any.whl
rm-fget-pip.py
chmod755/usr/local/lib/python3.9/dist-packages/usr/local/bin/gen_avr8_run.py
ln-s/usr/local/lib/python3.9/dist-packages/usr/local/bin/gen_avr8_run.py/usr/local/bin/gen_avr8_run.pyInstall using py setupNavigate torelease pagedownload and extract release archive.To installgen_avr8locate and run setup.py with argumentstarxvzfgen_avr8-x.y.z.tar.gzcdgen_avr8-x.y.z# python3pip3install-rrequirements.txt
python3setup.pyinstall_lib
python3setup.pyinstall_egg_infoInstall using dockerYou can use Dockerfile to create image/container.Dependenciesgen_avr8tool requires other modules/librariesats-utilities - Python App/Tool/Script UtilitiesUsageShort example of usagegen_avr8toolCreate workspace directory BlinkmkdirBlinkcdBlink/Crete AVR8 project files, by using parameterspythongen_avr8_run.py-gBlink-tappRunning build processcdbuild/
makeallIn case for missing subtool from toolchain, please install the following packages with your favorite package managergcc-avrbinutils-avrgdb-avravr-libcavrdudeInstall directly from the shell as root user (debian)apt-getinstallgcc-avrbinutils-avrgdb-avravr-libcavrdudeSupported MCUSCurrent list of supported microcontrollersattiny2313atmega128at90s2313
attiny24atmega1280at90s2333
attiny25atmega1281at90s4414
attiny26atmega1284pat90s4433
attiny261atmega16at90s4434
attiny44atmega163at90s8515
attiny45atmega164pat90s8535
attiny461atmega165
attiny84atmega165p
attiny85atmega168
attiny861atmega169atmega169patmega2560atmega2561atmega32atmega324patmega325atmega3250atmega329atmega3290atmega32u4atmega48atmega64atmega640atmega644atmega644patmega645atmega6450atmega649atmega6490atmega8atmega8515atmega8535atmega88Tool structuregen_avr8is based on Template mechanismGenerator structuregen_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.py8directories,40filesDocsMore documentation and info atgen_avr8.readthedocs.iowww.python.orgContributingContributing to gen_avr8Copyright and LicenceCopyright (C) 2018 - 2024 byvroncevic.github.io/gen_avr8gen_avr8is free software; you can redistribute it and/or modify
it under the same terms as Python itself, either Python version 3.x or,
at your option, any later version of Python 3 you may have available.Lets help and support PSF.