gen_avr8.pro package

Module contents

Module
__init__.py
Copyright
Copyright (C) 2018 Vladimir Roncevic <elektron.ronca@gmail.com> gen_avr8 is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. gen_avr8 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Info
Defined class AVR8Setup with attribute(s) and method(s). Generate AVR project skeleton.
class gen_avr8.pro.AVR8Setup(verbose=False)[source]

Bases: object

Defined class AVR8Setup with attribute(s) and method(s). Generate AVR project skeleton. It defines:

attributes:
GEN_VERBOSE - console text indicator for process-phase.
__mcu_sel - MCU selector API.
__fosc_sel - FOSC selector API.
__reader - reader API.
__writer - writer API.
__project_setup - project setup.
methods:
__init__ - initial constructor.
project_setup - property methods for set operations.
gen_pro_setup - generate project skeleton.
__str__ - dunder method for AVR8Setup.
GEN_VERBOSE = 'GEN_AVR8::PRO::AVR8SETUP'
gen_pro_setup(verbose=False)[source]

Generate AVR8 project setup.

Parameters:verbose (<bool>) – enable/disable verbose option.
Returns:boolean status, True (success) | False.
Return type:<bool>
Exceptions:None
project_setup(project_name, project_type, verbose=False)[source]

Setter for project setup.

Parameters:
  • project_name (<str>) – project name.
  • project_type (<str>) – project type.
  • verbose (<bool>) – enable/disable verbose option.
Exceptions:

ATSTypeError | ATSBadCallError