STM32 STD LIB

From ElectroDragon Wiki
Revision as of 22:52, 30 April 2020 by Chao (talk | contribs) (Created page with " === MDK-ARM Setup by STD LIB === ==== File Struture: Manage Components ==== 400px|right {| class="wikitable sortable" |- ! File Parts !...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

MDK-ARM Setup by STD LIB

File Struture: Manage Components

Std build stm32 projects.png
File Parts Files
STD LIB
  • .\user\lib\STM32L1xx_StdPeriph_Driver\src
  • .\user\lib\STM32L1xx_StdPeriph_Driver\inc
add all
  • User main
  • customized interrupt
  • CONF
  • .\user\main.c;
  • .\user\main.h;
  • .\user\stm32l1xx_it.c;
  • .\user\stm32l1xx_it.h
  • .\user\stm32l1xx_conf.h;
User libraries
  • .\user\hardware
-
  • Device Support
  • Startup

(replace by Device module)

  • (replaced) .\user\system_stm32l1xx.c;
  • (replaced) CMSIS\Device\ST\STM32L1xx\system_stm32l1xx.h;
  • (replaced) \CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\ *.s
  • (conflict and still need) CMSIS\Device\ST\STM32L1xx\Include\stm32l1xx.h;
  • CMSIS Core

(replace by module CMSIS Core)

  • .CMSIS\CM3\CoreSupport\core_cm3.c
  • C:\Keil_v5\ARM\PACK\ARM\CMSIS\5.5.1\CMSIS\Core\Include\core_cm3.h


Preprocesser Symbol

USE_STDPERIPH_DRIVER, STM32L1XX_MD, USE_STM32L152_EVAL

  • USE_STDPERIPH_DRIVER
  • STM32L1XX_MD

Common Error