the other jimmy / mbed-sdk-tools

Fork of mbed-sdk-tools by mbed official

Embed: (wiki syntax)

« Back to documentation index

Uvision Class Reference

Uvision Class Reference

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

Public Member Functions

def uv_files
def format_flags
def format_src
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 113 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 214 of file export/uvision/__init__.py.

def format_flags (   self )
Format toolchain flags for Uvision

Definition at line 155 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 181 of file export/uvision/__init__.py.

def generate (   self )
Generate the .uvproj file

Definition at line 188 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 134 of file export/uvision/__init__.py.