Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN2776 Datasheet(PDF) 6 Page - STMicroelectronics

Part # AN2776
Description  The purpose of this application note is to explain
PDF  20 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2776 Datasheet(HTML) 6 Page - STMicroelectronics

Back Button AN2776 Datasheet HTML 2Page - STMicroelectronics AN2776 Datasheet HTML 3Page - STMicroelectronics AN2776 Datasheet HTML 4Page - STMicroelectronics AN2776 Datasheet HTML 5Page - STMicroelectronics AN2776 Datasheet HTML 6Page - STMicroelectronics AN2776 Datasheet HTML 7Page - STMicroelectronics AN2776 Datasheet HTML 8Page - STMicroelectronics AN2776 Datasheet HTML 9Page - STMicroelectronics AN2776 Datasheet HTML 10Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 6 / 20 page
background image
FWLib V1.0 to V2.0 migration steps
AN2776
6/20
2
FWLib V1.0 to V2.0 migration steps
This section describes how to migrate an application based on FWLib V1.0 to V2.0.
2.1
Migration steps
To update your application code to run on FWLib V2.0, you have to follow the steps listed
below:
1.
Update the toolchain startup files
a)
Project files: device connections and Flash memory loader. These files are
provided with the latest version of your toolchain that supports High-density and
Medium-density STM32F10xxx devices. For more information please refer to your
toolchain documentation.
b)
Linker configuration and vector table location files. These files are included in the
FWLib V2.0 install package under the following directory:
STM32F10xFWLib\FWLib\project
2.
Add FWLib V2.0 source files to the application sources
a)
Replace the stm32f10x_conf.h file of your application with the latest version
provided in FWLib V2.0.
b)
The stm32f10x_it.c/stm32f10x_it.h files that contain the peripheral ISRs
(interrupt service routine), have been updated to support the new peripherals and
the IRQ channel updates of existing peripherals.
You have to replace the existing stm32f10x_it.h file in your application with the
new version provided in FWLib V2.0 and, copy your code from the existing
stm32f10x_it.c
file to the new one.
c)
Update the part of your application code that uses the TIM, SPI, DMA, USART
and NVIC drivers. Further details are provided in the next section.
2.2
Peripheral driver updates
This section describes how to port an application code based on the FWLib V1.0 TIM, SPI,
DMA, USART and NVIC drivers to FWLib V2.0.
Note:
In all examples listed below, source code changes between FWLib V1.0 and V2.0 are
indicated in italic and bold.
2.2.1
NVIC
Due to a different number of DMA and ADC peripherals in Medium-density and High density
devices, NVIC-related code was modified between FWLib V1.0 and FWLib V2.0. These
changes concern DMA and ADC interrupts.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20


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