Rtos API example

Embed: (wiki syntax)

« Back to documentation index

DeviceCMSIS Class Reference

DeviceCMSIS Class Reference

Inherited by DeviceUvision.

Public Member Functions

def vendor_debug
def cpu_cmsis

Detailed Description

CMSIS Device class

Encapsulates target information retrieved by arm-pack-manager

Definition at line 29 of file export/cmsis/__init__.py.


Member Function Documentation

def cpu_cmsis (   cpu )
Transforms information from targets.json to the way the generic cores are named
in CMSIS PDSC files.
Ex:
Cortex-M4F => ARMCM4_FP, Cortex-M0+ => ARMCM0P
Returns formatted CPU

Definition at line 89 of file export/cmsis/__init__.py.

def vendor_debug (   self,
  vendor 
)
Reads the vendor from a PDSC <dvendor> tag.
This tag contains some additional numeric information that is meaningless
for our purposes, so we use a regex to filter.

Positional arguments:
Vendor - information in <dvendor> tag scraped from ArmPackManager

Returns a tuple of (debugger, vendor)

Definition at line 68 of file export/cmsis/__init__.py.