13.07.2015 Views

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Tool OptionsControl program option: --cpu (-C)Menu entry1. Expand C/C++ Build and select Processor.2. From the Processor Selection list, make a selection by Architecture, Core or one of themanufacturers.Command line syntax--cpu=architecture | processor-Carchitecture | processorYou can specify the following architectures:<strong>ARM</strong>v6M<strong>ARM</strong>v7M<strong>ARM</strong>v7EM<strong>ARM</strong>v7RCompile/assemble <strong>for</strong> <strong>ARM</strong>v6-M architectureCompile/assemble <strong>for</strong> <strong>ARM</strong>v7-M architectureCompile/assemble <strong>for</strong> <strong>ARM</strong>v7E-M architectureCompile/assemble <strong>for</strong> <strong>ARM</strong>v7-R architectureDescriptionWith this option you specify the <strong>ARM</strong> architecture <strong>for</strong> which you create your application. The architecturedetermines which instructions are valid and which are not. The default architecture is <strong>ARM</strong>v7M and thecomplete list of supported architectures is: <strong>ARM</strong>v6-M, <strong>ARM</strong>v7-M, <strong>ARM</strong>v7E-M or <strong>ARM</strong>v7-R. Instead ofthe architecture name you can also specify the full processor name, like "STM32F205RB".The standard list of supported processors is defined in the file processors.xml. This file defines <strong>for</strong>each processor its full name (<strong>for</strong> example, STM32F205RB), its ID (<strong>for</strong> example, stm32f205rb), thearchitecture name (<strong>for</strong> example, <strong>ARM</strong>v7M), the core settings (<strong>for</strong> example, cortexm3), the on-chip flashsettings, the list of silicon bugs <strong>for</strong> that processor. Each processor also defines options to supply to thelinker <strong>for</strong> preprocessing the LSL file <strong>for</strong> the applicable on-chip memory definitions (<strong>for</strong> example,-D__FLASH_SIZE=128k).The control program reads the file processors.xml. The lookup sequence <strong>for</strong> names specified to thisoption is as follows:1. match any of the standard architecture names (as listed above, <strong>for</strong> example <strong>ARM</strong>v7M)2. if none matched, match with the 'id' attribute in processors.xml (case insensitive, <strong>for</strong> examplearmv7_m)3. if still none matched, match with the 'name' attribute in processors.xml (case insensitive, <strong>for</strong> exampleSTM32F205RB)4. if still none matched, the control program issues a fatal error.591

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!