Home

Technical Note

image

Contents

1. The Analog Mixed Signal Company 7 g Y1 a 0t ZWIR45xx lechnical Note LMCI Setting Up an Open Source Development Environment The Analog Mixed Signal Company Content t UCUN eee E E E E E E E E E E E E E 3 Teli Reguired COMPO i281 EE 3 Um PEE Compiler and Binary Tool Cain sirissrainninemin nin eA En ai aaa i a ainka 3 1 1 2 Standard HON IR ER E TR TOTEM 3 ECNEEP oloc dt t 4 NP ELO eI DEDUGOGI m 4 1 1 5 Integrated Development Environment ccccccseseecceeseeeceeeececceuseeecsaseeceaueeeeseaseeessageeeesaueeessseseneees 4 MEE Oei mero Mm m 5 x WIR453x EiDranes and Meo NRI TOTEM COEORESR 5 2 2 Compiler and Binary Tool Chain Debugger and Standard Library ccccccccccecssseeeeeeeeeeseeeeeeseeseeeeeaeeees 5 2 3 Installation of OpenOCD for Windows ssseeeesessssssssseeeee nennen nnne nennen nnne nnns n nna nnns nnns nnns aa 5 2de COSC AS Ee e 6 3 POS CL Se o ERR A E E E E E E E A TEE E A TE i 8 3 1 Creating a Template Project ccccccccccccccssssecceecseeseceeecueuseeeeesseuseeeeseeaseceeeeeeaeceeesaeaeeceesssaaseeeeseeageeeessaaaees 8 3 2 Adding a debug configuration wsciccdicnsdvescecsshnnscadesossnedetcndendddeseaciadenticndstensande endenditeviaaeanboedeaiudenienas ensn
2. log system Filter Types Select All Deselect All To archive file C trnp test zip Options Save in zip format Create directory structure for files Save in tar format Create only selected directories Compress the contents of the file 4 Click Finish to export the project 5 Debug configurations can be exported in a similar way by choosing Run Debug gt Launch Configurations as the Export destination Prog ramming 2014 Zentrum Mikroelektronik Dresden AG Rev 1 00 Guide All rights reserved The material contained herein may not be reproduced adapted merged translated stored or used without the 1 4 of 1 6 October 2 2014 prior written consent of the copyright owner The information furnished in this publication is subject to changes without notice ZWIR45xx lechnical Note LMCI Setting Up an Open Source Development Environment The Analog Mixed Signal Company c bd coe 3 5 Creating a New Project from the Template YA This section describes how a new project is generated from a previously saved project template Note A workspace must not already contain a project with the same name as the saved project template When a new project is generated in the same workspace that was used in section 3 1 the project that was saved as a template must be renamed Otherwise it will be impossible to import In order to rename the project right click on the existing
3. Select menu nstallation gt Apply Changes Prog ramming 2014 Zentrum Mikroelektronik Dresden AG Rev 1 00 Guide All rights reserved The material contained herein may not be reproduced adapted merged translated stored or used without the October 2 2014 prior written consent of the copyright owner The information furnished in this publication is subject to changes without notice ZWIR45xx lechnical Note ptu III Setting Up an Open Source Development Environment The Analog Mixed Signal Company 8 Open the Windows command prompt 9 Enter the following sequence of commands Note the command starting with find typically generates some error messages which can be ignored C Windows System32 gt MinGW msys 1 0 bin bash bash 3 15 export PATH c MinGW bin c MinGW msys 1 0 bin bash 3 15 cd c temp openocd build openocd 0 7 0 bash 3 15 find name c exec sed I e s lt isascii gt isascii g bash 3 15 mkdir build bash 3 15 cd build bash 3 15 configure enable ft2232 ftd2xx with ftd2xx win32 zipdir c temp openocd build ftdi disable werror bash 3 15 make 2 4 Eclipse IDE Follow these steps to install the Ec ipse integrated development environment 1 Navigate to http Awww eclipse org downloads Download Eclipse IDE for C C Developers Unzip the file to a user selected directory e g C Program Files Execute eclipse exe On the top menu select Help gt Insta
4. European Technical Support DISCLAIMER This information applies to a product under development Its characteristics and specifications are subject to change without notice Phone 49 351 8822 7 772 Zentrum Mikroelektronik Dresden AG ZMD AG assumes no obligation regarding future manufacture unless otherwise agreed to in writing The Fax 49 351 8822 87 772 information furnished hereby is believed to be true and accurate However under no circumstances shall ZMD AG be liable to any customer licensee or any other third party for any special indirect incidental or consequential damages of any kind or nature whatsoever arising out of or European Sales Stuttgart in any way related to the furnishing performance or use of this technical data ZMD AG hereby expressly disclaims any liability of ZMD AG to any Phone 449 711 674517 55 customer licensee or any other third party and any such customer licensee and any other third party hereby waives any liability of ZMD AG for i any damages in connection with or arising out of the furnishing performance or use of this technical data whether based on contract warranty Fax 49 711 674517 87955 tort including negligence strict liability or otherwise Prog ramming 2014 Zentrum Mikroelektronik Dresden AG Rev 1 00 Guide All rights reserved The material contained herein may not be reproduced adapted merged translated stored or used without the October 2 2014 prior written consent
5. Mikroelektronik Dresden AG Rev 1 00 Guide All rights reserved The material contained herein may not be reproduced adapted merged translated stored or used without the 1 5 of 1 6 October 2 2014 prior written consent of the copyright owner The information furnished in this publication is subject to changes without notice ZWIR45xx lechnical Note ptu III Setting Up an Open Source Development Environment The Analog Mixed Signal Company 5 Glossary Tem Beim S Application Programming Interface GNU Compiler Collection GNU Debugger IGU Graphical User Interface Integrated Development Environment 6 Document Revision History Zentrum Mikroelektronik ZMD America Inc Zentrum Mikroelektronik ZMD FAR EAST Ltd Zentrum Mikroelektronik Dresden AG 1525 McCarthy Blvd 212 Dresden AG Japan Office 3F No 51 Sec 2 Dresden AG Korea Office Global Headquarters Milpitas CA 95035 7453 2nd Floor Shinbashi Tokyu Bldg Keelung Road U space 1 Building Grenzstrasse 28 USA 4 21 3 Shinbashi Minato ku 11052 Taipei 11th Floor Unit JA 1102 01109 Dresden Germany Tokyo 105 0004 Taiwan 670 Sampyeong dong Central Office USA Phone 1 855 275 9634 Japan Bundang gu Seongnam si Phone 449 351 8822 306 Phone 41 408 883 6310 Phone 481 3 6895 7410 Phone 886 2 2377 8189 Gyeonggi do 463 400 Fax 49 351 8822 337 Fax 41 408 883 6358 Fax 481 3 6895 7301 Fax 886 2 2377 8199 Korea Phone 82 31 950 7679 Fax 82 504 841 3026
6. project in the Project Explorer choose Rename and assign a new name 1 From the main menu bar choose File gt Import 2 Select Existing Projects into Workspace from group General and click Next 3 Select Select Archive File and browse for the saved project template 4 Select the project from the list of projects there should only be the ZWIR4512 Template and then click Finish 5 The workspace should now contain a copy of the template project that can be renamed to the desired name 6 Building the project should be possible without problems 4 Related Documents In addition to the following ZMDI documents refer to the STMicroelectronics document STM32 and STM8 Flash Loader Demonstrator User Manual which is available on the STMicroelectronics website www st com Note X xy refers to the current revision of the document ZWIR4512 Data Sheet ZWIR4512_DataSheet_Rev_X_xy pdf ZWIR4512 Development Kit Description ZWIR4512 Dev Kit Rev X xy pdf ZWIR451X Programming Guide ZWIH451x Prog Guide Hev X xy pdf Visit the ZWIR4512 product page www zmdi com zwir4512 on ZMDI s website www zmdi com or contact your nearest sales office for the latest version of these documents Note A free customer login account is required for web access to documents marked with an asterisk To set up a login account click on in the top right corner the www zmdi com web page and follow the instructions Prog ramming 2014 Zentrum
7. CI Setting Up an Open Source Development Environment The Analog Mixed Signal Company T EK ll 4 ace 3 3 Debug Troubleshooting The ZWIR45xx network stack is highly optimized toward power consumption This includes sending the module to Sleep Mode when no processing is to be performed The network stack includes detection of whether the program being executed is running under debugger control If so the low power debug functionality which can be enabled explicitly using the API function ZWIR_EnableLowPowerDebug is enabled implicitly However after power on there is no debugger attached and consequently low power debug support is disabled This can lead to debugger connection problems causing Eclipse to show an error message when trying to launch a debug configuration In this case it might be necessary to launch the debug configuration multiple times However the most effective way to connect the debugger is by forcing the device into its internal boot loader mode before launching the debug configuration This is done by a pulse on its Reset pin while the BSEL pin is active On the ZWIR4512 Development Board this is easily accomplished using the Reset and SW BootSEL buttons as shown in Figure 3 1 YA Figure 3 1 Forcing the ZWIR45xx Module into its Internal Boot Loader Mode Button Pressed Heset oW BootSEL C gutnPresed a i LLL In order to avoid connection problems the function ZWIR Ena
8. IDE is a graphical user interface GUI that provides some form of project manager source code editor and debugger frontend This is optional as all the other tools can be used separately as well However the IDE is wrapped around all the tools used in application development providing a unified easy to use interface to their functionality The setup proposed in this document is based on the Eclipse Version 4 4 Eclipse Luna which has a very powerful source code editor and is widely configurable Prog ramming 2014 Zentrum Mikroelektronik Dresden AG Rev 1 00 Guide All rights reserved The material contained herein may not be reproduced adapted merged translated stored or used without the October 2 2014 prior written consent of the copyright owner The information furnished in this publication is subject to changes without notice ZWIR45xx lechnical Note ptu IDI Setting Up an Open Source Development Environment The Analog Mixed Signal Company 2 Environment Setup 2 1 ZWIR45xx Libraries and Tools Download ZWIR45xx msi from the ZWIR4512 product page www zmdi com zwir4512 on the ZMDI website www zmdi com or use the version of this file that is distributed on the ZWIR45xx Development Kit DVD Install the package and choose the complete setup 2 2 Compiler and Binary Tool Chain Debugger and Standard Library Navigate to the download page bleeding edge toolchain for bare metal ARM microcontrollers and download the app
9. ame enter Embedded System Register Viewer e Under Location enter htto embsysregview sourceforge net update e Click OK After Eclipse has read the target repository mark all items for installation Click Next and follow the instructions to complete the installation of the new components Prog ramming 2014 Zentrum Mikroelektronik Dresden AG Rev 1 00 Guide All rights reserved The material contained herein may not be reproduced adapted merged translated stored or used without the October 2 2014 prior written consent of the copyright owner The information furnished in this publication is subject to changes without notice ZWIR45xx lechnical Note LMCI Setting Up an Open Source Development Environment The Analog Mixed Signal Company g gt ll 4 ace 3 Project Setup This section gives step by step instructions on how to set up a new project The newly generated project will be set up in such way that it can be used as template for future projects reducing the project setup effort Exercising the whole project setup from the beginning can help the user understand Eclipse configurability and shows many important locations in the configuration settings dialogs YA In order to prepare the project setup execute the following steps 1 Open Eclipse 2 Select a location for the workspace A workspace is a file system directory containing one or multiple projects in separate subdirectories 3 Close the welco
10. ation and technical support for Rowley Associates CrossWorks which is a bundle of tools integrated with the CrossStudio IDE CrossWorks is a commercial bundle partially based on open source tools such as the Gnu Compiler Collection GCC Purchasing a commercial full featured IDE such as Rowley Associates CrossWorks provides the advantage of getting easy to use project set up code completion easy access to project settings and most important easy debugging and seamless integration of all these features in a single IDE Under some circumstances however a commercial IDE with its associated license cost is not appropriate for a project This document describes how a comparable functionality can be provided without the cost of purchasing a license for such projects Note that the setup described might be less stable than a commercial tool chain and that ZMDI does not provide commercial support for this setup The steps described in this document provide a quick entry point into a cost free working environment for those who are able to maintain this setup For this document it is assumed that debugging is done using the USB JTAG connector as it is used on the ZWIR4512 Development Boards in the ZWIR4512 Development Kit Different JTAG adaptors can be used but the user must determine the appropriate OpenOCD configuration It is strongly recommended that the user implement only the versions of the tools referenced in these proced
11. bleLowPowerDebug can be called from ZWIR AppInitHardware However for applications that are using the low power features of the network stack it must be ensured that firmware delivered to customers does not use this function as this significantly increases the power consumption of the device Refer to the ZW R451X Programming Guide for further information Prog ramming 2014 Zentrum Mikroelektronik Dresden AG Rev 1 00 Guide All rights reserved The material contained herein may not be reproduced adapted merged translated stored or used without the 1 3 of 1 6 October 2 2014 prior written consent of the copyright owner The information furnished in this publication is subject to changes without notice ZWIR45xx lechnical Note ptu III Setting Up an Open Source Development Environment The Analog Mixed Signal Company 3 4 Exporting the Project and Debug Configuration as Templates To avoid the time consuming setup of all configuration parameters for new projects the project generated in section 3 1 can be exported as a template for new projects using these steps 1 Right click on the project in the Project Explorer and select Export 2 Select Archive File from group General as the Export destination 3 Select items as shown in the dialog below and choose an appropriate archive file name 7 k RemoteSystemsTempFiles X cproject a EE ZWIRASI2 Template lll project i settings LE main c gt F amp Debug
12. cadlensente 10 3 3 Debug Troubleshooting ET 13 3 4 Exporting the Project and Debug Configuration as Templates ccccccccccceeeeceeceeceeseeeeesseeeeesaeeeeeeas 14 3 5 Creating a New Project from the Template cccccccccssseseeeeeseeseeeeeeeeeeceeeeeeeeeeeeesseeeeeeeesseaeeeeeessenseeeeeeas 15 Ar i o Bereit 15 Co e a A 16 6 Document HeVISIODAIIS IOEV scseseeretecsa uda rx t FU been FuvS yen keiten dua NEENA EANA au OERA NES ERE UU T Ss UE bnx IU IEDOIUO VOCTR ctentaieens 16 For more information contact ZMDI via woan zmdi com Prog ramming 2014 Zentrum Mikroelektronik Dresden AG Rev 1 00 Guide All rights reserved The material contained herein may not be reproduced adapted merged translated stored or used without the October 2 2014 prior written consent of the copyright owner The information furnished in this publication is subject to changes without notice ZWIR45xx lechnical Note LMCI Setting Up an Open Source Development Environment The Analog Mixed Signal Company 7 ll aaa 1 Introduction Application development for embedded systems is typically a rather complex task considering the number of tools involved in this process see section 1 1 Typically these tools are hidden to some extent by an integrated development environment IDE which makes use of the individual tools to accomplish the tasks that the developer is requesting Although other IDEs can be used ZMDI provides integr
13. configuration 4 Change to the Debugger tab and complete these steps e Click on Variables in the OpenOCD Setup group e Click Edit variables in the resulting dialog window e Double click openocd path and select the location of openocd exe in the Value field for Windows this should be C temp openocd build openocd 0 7 0 build src when adhering to the instructions in this document e Close the dialogs with OK three times e Enter a name for the Log file 1og OpenOCD log Important the path separators must be slashes not backslashes Y regardless of the operating System e Add file system ZWIR4512 OpenOCD cfg to the Config Options field don t include the quotation marks Important the path separators must be slashes not backslashes Y regardless of the operating System Prog ramming 2014 Zentrum Mikroelektronik Dresden AG Rev 1 00 Guide All rights reserved The material contained herein may not be reproduced adapted merged translated stored or used without the 10 of 16 October 2 2014 prior written consent of the copyright owner The information furnished in this publication is subject to changes without notice ZWIR45xx lechnical Note LMCI Setting Up an Open Source Development Environment The Analog Mixed Signal Company 5 Change to the Startup tab e Deselect the following checkboxes Initial Reset Enable ARM Semihosting Set breakpoint at e Click Debug e Wh
14. en adialog appears asking to switch to the Debug Perspective confirm e The debugger should now connect to the device stopping at the function Reset_Handler see below If not refer to section 3 3 below for troubleshooting methods Debug Source not found Ecli 3 ipse Ele Edit Navigate Search Project Pydew Run Window Help Tr uu ci UR END bBE W45 M List PU ONS R ers y 4 c New configuration GDB OpenOCD Debugging F ug test elf 4 gf Thread 1 Suspended Signal SIGINT Interrupt Reset Handler at 0x80001 e4 s openocd sj arm none eabi gdb e The program can be run and stopped using the U and buttons e Option It is possible to add a view showing the processor s core registers Inthe menu bar select Windows gt Show View gt Registers Now anew window should be displayed showing the STM32 core registers e Option It is possible to add a view showing the processor s peripheral registers Inthe menu bar select Windows gt Show View gt Other Inthe resulting dialog select EmbSys Registers from the Debug group Click OK The result is that a new view is displayed which needs to be configured in order to show the STM32 processor registers Prog ramming 2014 Zentrum Mikroelektronik Dresden AG Rev 1 00 Guide All rights reserved The material contained herein may not be reproduced adapted merged translated stored or used without the 11 of 1 6 October 2 2014 prior written consen
15. ll New Software Select Luna htto download eclipse org releases luna in the Work with dropdown DU IM eM e o D After Eclipse has read the component repository mark the item C C GDB Hardware Debugging from the Mobile and Device Development group 8 Click Next and follow the instructions to complete the installation of the new component 9 Reopen the Help gt Install New Software dialog 10 Click on the Add button e Under Name enter GNU ARM Eclipse e Under Location enter htto gnuarmeclipse sourceforge net updates e Click OK Prog ramming 2014 Zentrum Mikroelektronik Dresden AG Rev 1 00 Guide All rights reserved The material contained herein may not be reproduced adapted merged translated stored or used without the October 2 2014 prior written consent of the copyright owner The information furnished in this publication is subject to changes without notice ZWIR45xx lechnical Note LMCI Setting Up an Open Source Development Environment The Analog Mixed Signal Company 12 13 14 15 16 After Eclipse has read the target repository mark the following items from group GNU ARM C C Cross Development Tools e GNU ARM C C Cross Compiler Support e GNU ARM OpenOCD Debugging Support e GNU ARM Packs Support Click Next and follow the instructions to complete the installation of the new components Reopen the Help gt Install New Software dialog Click the Add button e Under N
16. me screen if shown 3 1 Creating a Template Project Follow these steps to create a template which can also be used for future projects 1 From the main menu select File gt New C Project Specify the Project name as ZWIR4512 Template Under Project type select Executable gt Empty Project Under Toolchains choose Cross ARM GCC Click Next Keep the proposed settings on this page and click Next again Select GNU Tools for ARM Embedded Processors arm none eabi gcc under Toolchain name Under Toolchain path enter the installation directory of the compiler tool chain from section 2 2 Click Finish O p o N SS de S amp S bf Eclipse should now show the C C development perspective Use these steps to import the required source and system files e Right click on the project in the project explorer and select mport e Select Archive File from group General and click Next e Click the Browse button and navigate to the file ZWIR4512EclipseTemplate zip which is located in lt ZWIR45xx installation directory src e Click Finish to import files 11 Right click on the project in the project explorer and select Properties 12 In the list of property groups on the left side of the dialog select C C Build e Getthe item Builder type in the Builder Settings tab to External Builder Prog ramming 2014 Zentrum Mikroelektronik Dresden AG Rev 1 00 Guide All rights reserved The material contained herein may
17. not be reproduced adapted merged translated stored or used without the October 2 2014 prior written consent of the copyright owner The information furnished in this publication is subject to changes without notice ZWIR45xx lechnical Note LMCI Setting Up an Open Source Development Environment The Analog Mixed Signal Company 13 Open the C C Build group on the left and select Settings Apply the following changes in this section e Select All configurations from the Configuration dropdown e Select Optimization in the list of Tool Settings Checkmark No common uninitialized e Select ncludes in group Cross ARM C Compiler Add new item under nclude paths containing this text ZWIRRoot include be sure to include the quotation marks e Select General in group Cross ARM C Linker Add anew script workspace loc ProjName system ZWIR4512 1d Enable the option Do not use standard start files e Select Libraries in Group Cross ARM C Linker Add the following entries to the Library list and ensure they are ordered as shown below ZWIR45xx 6LOWPAN ZWIR451x UART 1 ZWIR451x Devkit ZWIR4512 Add this entry to the Library search path list ZWIRRoot 1ib be sure to include the quotation marks 14 Close the Settings dialog by clicking OK 15 Try building the current configuration by pressing the Build button which is an image of a hammer S C C testl main c Eclipse File Edi
18. of the copyright owner The information furnished in this publication is subject to changes without notice
19. rary is based on Newlib version 2 1 Prog ramming 2014 Zentrum Mikroelektronik Dresden AG Rev 1 00 Guide All rights reserved The material contained herein may not be reproduced adapted merged translated stored or used without the October 2 2014 prior written consent of the copyright owner The information furnished in this publication is subject to changes without notice ZWIR45xx lechnical Note LMCI Setting Up an Open Source Development Environment The Analog Mixed Signal Company 1 1 3 Debugger The debugger provided is used to run programs with the option to set breakpoints for stopping the program at a specific point of interest When the program is stopped current values of variables memory and register contents can be examined For the proposed tool chain setup the debugger is the GNU debugger gdb version 7 8 50 which is included with the bleeding edge toolchain 1 1 4 On Chip Debugger An on chip debugger is a program that allows debugging to take place directly on the chip running in its target environment For that purpose the on chip debugger accesses the chip via the JTAG protocol providing a command interface for the debugger on the other side In addition to on chip debugging the on chip debugger allows programming the devices The setup described in this document uses OpenOCD Version 0 7 0 as the on chip debugger 1 1 5 Integrated Development Environment The integrated development environment
20. ropriate version of bleeding edge toolchain for the user s computer 32 or 64 bits Unzip the tool chain to a user selected directory Alternatively the Sourcery CodeBench Lite tool chain can be used To download this tool chain navigate to the Sourcery CodeBench Lite website and choose Download EABI Release from the section ARM Processors This will open a registration request Registration is required but free of charge A download link for the compiler package will be sent to the e mail address that is used for registration Download and install the package on the user s computer 2 3 Installation of OpenOCD for Windows Due to license restrictions the OpenOCD on chip debugger must be downloaded and compiled from source code Follow these installation steps if the operating system for the user s computer is Windows 1 Create directory C temp openocd build Download the appropriate FTDI driver package for the user s computer Unzip the contents of the downloaded zip file to C temp openocd build ftdi Download OpenOCD 0 7 0 source code Unzip the contents of the zip file to C temp openocd build Download the MinGW installer oe oO s 9 I Execute MinGW installer e Choose nstall e Keep proposed settings and click Continue e Choose Continue e Mark the following packages for installation mingw developer tools mingw32 base nsys base should be selected automatically with mingw developer tools
21. t Source Refactor Navigate Search Pro ul iu B sau fy Project Explorer 3 S a n XP Rinsrier 16 If the build fails try restarting Eclipse after a system reboot to ensure that all new path variable settings are applied properly Prog ramming 2014 Zentrum Mikroelektronik Dresden AG Rev 1 00 Guide All rights reserved The material contained herein may not be reproduced adapted merged translated stored or used without the October 2 2014 prior written consent of the copyright owner The information furnished in this publication is subject to changes without notice ZWIR45xx lechnical Note ptu III Setting Up an Open Source Development Environment The Analog Mixed Signal Company 3 2 Adding a debug configuration Follow these steps to add GDB OpenOCD Debugging 1 Click on the arrow adjacent to the Debug button and choose Debug configurations e 0c il h Project Run Window Help Seite ys Gy d G ic main c 23 1 Debug As 46 This is a sim B 9 include lt stdio 18 include 7WIR45 ke FEN 11 include ZWIR45xx UART1 h 12 include ZWIRA51x Devkit h no launch history Debug Configurations Organize Favorites The i i b 2 Double click on GDB OpenOCD Debugging to generate a new debug configuration 3 Verify that the project e f file is shown in the C C Application entry field and the Project entry field contains the project name on the Main tab of the debug
22. t of the copyright owner The information furnished in this publication is subject to changes without notice ZWIR45xx lechnical Note LMCI Setting Up an Open Source Development Environment The Analog Mixed Signal Company F egist er Hex Bin Click on the wrench icon that is circled in above figure Choose the following values in the resulting dialog e Architecture cortex m3 e Vendor STMicro e Chip STM32F10X_HD Click OK The result is that all accessible STM32 registers are displayed grouped by components To view the value of a particular register open the corresponding group and double click the register that should be read Note Launching the debug configuration causes Eclipse to switch to the Debug Perspective To switch back to the C C Development Perspective the corresponding button in the top right corner of the Eclipse window must be clicked see image below This will bring return to the Project explorer and source code editor Quick Access scription neral Purpose and FPU Register Group Prog ramming 2014 Zentrum Mikroelektronik Dresden AG Rev 1 00 Guide All rights reserved The material contained herein may not be reproduced adapted merged translated stored or used without the 12 of 1 6 October 2 2014 prior written consent of the copyright owner The information furnished in this publication is subject to changes without notice ZWIR45xx lechnical Note LM
23. ures when setting up a development environment It is important to use only the specific path names given in these steps as changing path settings affects multiple steps needed for the environment setup If alternative paths are used avoid white spaces in path names as these can lead to undefined behavior if not used appropriately 1 1 Required Components 1 1 1 Compiler and Binary Tool Chain The main components of the compiler and binary tool chain are the preprocessor compiler assembler and linker There are also tools available for the analysis and further processing of the binary output The proposed open source tool chain uses the GCC based bleeding edge toolchain for bare metal ARM microcontrollers The version used in this document is the version published July 8 2014 based on GCC Version 4 8 4 1 1 2 Standard Library The standard library contains all the standard functionality that is provided by common C headers The functions printf or malloc are commonly used functions and their functionality is implemented in the standard library The standard library is one of the differentiators between commercial and non commercial tool chains Commercial tool chains typically provide size optimized implementations of the standard library resulting in binary sizes up to 20kB smaller than tool chains linked with non optimized libraries The proposed tool chain setup uses the standard library provided with the bleeding edge toolchain This lib

Download Pdf Manuals

image

Related Search

Related Contents

J。ma ーrーs 500 取扱説明書 0ー  Guide du forum - Carrefours pour l`emploi    Inversor Industrial VF-S11  MANUAL DEL USUARIO  取扱説明書 サポート・スタンド 品番:#44233000 型式:40753A    Data Import for Interbase/Firebird  Tucano Tela  User manual Arc Source Outdoor 48 MC Integra Single colour  

Copyright © All rights reserved.
Failed to retrieve file