| 数据搜索系统,热门电子元器件搜索 |
|
AN4141 数据表(PDF) 39 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4141 数据表(HTML) 39 Page - STMicroelectronics |
|
39 / 42 page ![]() DocID023425 Rev 2 39/42 AN4141 Migration application using the automatic script STM32W108xx_SimpleMAC_V2.0.1\Utilities\STM32W108xx_HAL_Driver\micro\cortexm3 STM32W108xx_RF4CE_V2.0.1\Utilities\STM32W108xx_HAL_Driver\micro\cortexm3 4. Create a new group named STM32W108xx_StdPeriph_Driver and link to this group all the STM32W108xx peripheral drivers available in the following directory: STM32W108xx_StdPeriph_Lib_V1.0.1\Libraries\STM32W108xx_StdPeriph_Driver\src 5. Create a new group named STM32_EVAL and link to this group the user board resources drivers available in the following directory: Utilities\STM32_EVAL Note: The common boards resources drivers are provided in this path: Utilities\STM32_EVAL\Common 6. Add the following files to your project workspace setting: stm32w108xx_it.c and stm32w108xx_it.h: the templates for these files are edited by adding the required interrupts to manage the STM32W108xx_HAL_Driver. So, please refer to the edited files available in the STM32W108xx_SimpleMAC_V2.0.1 package (directory STM32W108xx_SimpleMAC_V2.0.1\Projects\SimpleMAC) or in the STM32W108xx_RF4CE_V2.0.1 package (directory STM32W108xx_RF4CE_V2.0.1 \Projects\RF4CE). stm32w108xx_conf.h: use the template for this file provided in the standard library package: Projects\STM32W108xx_StdPeriph_Templates 7. If you use the STM32W108 shared files, please refer to the new version for these files available in directory STM32W108xx_SimpleMAC_V2.0.1\Utilities\Shared or in the STM32W108xx_RF4CE_V2.0.1 package (directory STM32W108xx_RF4CE_V2.0.1 \Utilities\Shared) 8. Create a new group named User_Application and link to this group the user source files. 9. Update the project include paths: • Update the simplemac\include path by Libraries\SimpleMAC\Include path. • Update the hal path by Utilities\STM32W108xx_HAL_Driver path. • Update the HAL\MICRO\CORTEXM3\STM32W108 path by STM32W108xx_HAL_Driver\micro\cortexm3\stm32w108. • Update the shared path by Utilities\Shared path. • Add the Libraries\STM32W108xx_StdPeriph_Driver\inc path. • Add the CMSIS\Include path. • Add the Libraries\CMSIS\Device\ST\STM32W108xx\Include path. • Add the Utilities\STM32_EVAL path. • Add the Utilities\STM32_EVAL\MBxxx path (MBxxx can be MB851, MB950, MB951 or MB954 according to the user board). • Add the Utilities\STM32_EVAL\Common path. • Add the Utilities\STM32W108xx_HAL_Driver\micro path. • Add the Utilities\STM32W108xx_HAL_Driver\micro\cortexm3path. • Add the Utilities\STM32W108xx_HAL_Driver\micro\generic\compiler path. • Add the Utilities\STM32W108xx_HAL_Driver\micro\cortexm3\bootloader path. 10. Define PLATFORM_HEADER in the preprocessor defined symbols as follows: |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |