| Electronic Components Datasheet Search |
|
AN4141 Datasheet(PDF) 38 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4141 Datasheet(HTML) 38 Page - STMicroelectronics |
|
38 / 42 page ![]() Migration application using the automatic script AN4141 38/42 DocID023425 Rev 2 5 Migration application using the automatic script To save migration time, an automatic Perl script is provided with this application note that makes it easier to port an old RF application project (based on file regs.h ) to the CMSIS- based library StdPeriph_Lib V 1.0.1. This automatic script is provided inside the MigrationScript.zip file. This folder contains: • MigrationScript.exe: automatic script binary file • config.ini: migration script configuration file. It contains all needed and automatic changes that are to be applied on the code. • readme.txt: readme file describing how to use the automatic script 5.1 How to use the automatic script 1. Download and Install the ActivePerl software from this link: http://www.activestate.com/activeperl/ 2. Copy files MigrationScript.exe and config.ini into the parent directory of the files to be modified. Note: Please make sure that the target files are in read/write mode. 3. Launch MigrationScript.exe. 4. A backup folder is created in your work folder. It contains the old data in your directory. A trace file trace.log that summarizes all updated files is also created. 5.2 Migration steps using the automatic script Update project settings 1. Update the toolchain startup files: • Linker configuration: these files are already provided within the StdPeriph_Lib V 1.0.1 package in the following directory: STM32W108xx_StdPeriph_Lib_V1.0.1\Projects\STM32W108xx_StdPeriph_Templates • Vector table location files: these files are already provided within the StdPeriph_Lib V 1.0.1 package in the following directory: STM32W108xx_StdPeriph_Lib_V1.0.1\Libraries\CMSIS\Device\ST\STM32W108xx\So urce\Templates\ Note: Only one startup file should be selected. 2. Add the System configuration file to the project: Create a new group named CMSIS and link to this group the system configuration file available in Libraries\CMSIS\Device\ST\STM32W108xx\Source\Templates. Note: This file provides the required functions to initialize the system during the startup phase. 3. Replace group hal with STM32W108xx_HAL_Driver and link to this group all the *.c files available in either of the following directory: |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |