Anders Blomdell / mbed-sdk-tools
Embed: (wiki syntax)

« Back to documentation index

Uvision Class Reference

Uvision Class Reference

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

Inherited by UvisionArmc5, and UvisionArmc6.

Public Member Functions

def uv_files
def format_flags
def format_src
def format_fpu
def generate
def build

Detailed Description

Keil Uvision class

This class encapsulates information to be contained in a Uvision
project file (.uvprojx).
The needed information can be viewed in uvision.tmpl

Definition at line 129 of file export/uvision/__init__.py.


Member Function Documentation

def build (   project_name,
  log_name = 'build_log.txt',
  cleanup = True 
)
Build Uvision project 

Definition at line 282 of file export/uvision/__init__.py.

def format_flags (   self )
Format toolchain flags for Uvision

Definition at line 173 of file export/uvision/__init__.py.

def format_fpu (   core )
Generate a core's FPU string

Definition at line 221 of file export/uvision/__init__.py.

def format_src (   self,
  srcs 
)
Make sources into the named tuple for use in the template

Definition at line 212 of file export/uvision/__init__.py.

def generate (   self )
Generate the .uvproj file

Definition at line 230 of file export/uvision/__init__.py.

def uv_files (   self,
  files 
)
An generator containing Uvision specific information about project files
Positional Arguments:
files - the location of source files

.uvprojx XML for project file:
<File>
    <FileType>{{file.type}}</FileType>
    <FileName>{{file.name}}</FileName>
    <FilePath>{{file.loc}}</FilePath>
</File>

Definition at line 152 of file export/uvision/__init__.py.