Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN4141 Datasheet(PDF) 38 Page - STMicroelectronics

Part # AN4141
Description  Migration and compatibility guidelines for STM32W108xx microcontroller applications based on the HAL
PDF  42 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4141 Datasheet(HTML) 38 Page - STMicroelectronics

Back Button AN4141 Datasheet HTML 34Page - STMicroelectronics AN4141 Datasheet HTML 35Page - STMicroelectronics AN4141 Datasheet HTML 36Page - STMicroelectronics AN4141 Datasheet HTML 37Page - STMicroelectronics AN4141 Datasheet HTML 38Page - STMicroelectronics AN4141 Datasheet HTML 39Page - STMicroelectronics AN4141 Datasheet HTML 40Page - STMicroelectronics AN4141 Datasheet HTML 41Page - STMicroelectronics AN4141 Datasheet HTML 42Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 38 / 42 page
background image
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:



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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