dhgdh

Dependencies:   MAX44000 PWM_Tone_Library nexpaq_mdk

Fork of LED_Demo by joey shelton

Embed: (wiki syntax)

« Back to documentation index

Uvision5 Class Reference

Uvision5 Class Reference

Inherits tools::export::exporters::Exporter.

Public Member Functions

def get_toolchain
def generate
def flags
def get_source_paths
def progen_get_project_data
def progen_gen_file
def progen_build
def check_supported
def gen_file

Detailed Description

Exporter class for uvision5. This class uses project generator.

Definition at line 26 of file uvision5.py.


Member Function Documentation

def check_supported (   self,
  ide 
) [inherited]
Indicated if this combination of IDE and MCU is supported

Definition at line 197 of file exporters.py.

def flags (   self ) [inherited]
Returns a dictionary of toolchain flags.
Keys of the dictionary are:
cxx_flags    - c++ flags
c_flags      - c flags
ld_flags     - linker flags
asm_flags    - assembler flags
common_flags - common options

Definition at line 82 of file exporters.py.

def gen_file (   self,
  template_file,
  data,
  target_file 
) [inherited]
Generates a project file from a template using jinja

Definition at line 207 of file exporters.py.

def generate (   self )
Generates the project files 

Definition at line 56 of file uvision5.py.

def get_source_paths (   self ) [inherited]
Returns a list of the directories where source files are contained

Definition at line 107 of file exporters.py.

def get_toolchain (   self )
A helper getter function that we should probably eliminate

Reimplemented from Exporter.

Definition at line 53 of file uvision5.py.

def progen_build (   self ) [inherited]
Build a project that was already generated by progen

Definition at line 187 of file exporters.py.

def progen_gen_file (   self,
  project_data 
) [inherited]
Generate project using ProGen Project API
Positional arguments:
tool_name    - the tool for which to generate project files
project_data - a dict whose base key, values are specified in
       progen_get_project_data, the items will have been
       modified by Exporter subclasses

Keyword arguments:
progen_build - A boolean that determines if the tool will build the
       project

Definition at line 164 of file exporters.py.

def progen_get_project_data (   self ) [inherited]
Get ProGen project data  

Definition at line 116 of file exporters.py.