به خاطر اینه که این فایل راه انداز کیل های ورژنهای قدیمیه و کیل اسم راه اندازای stm رو عوض کرده:
**- فایلهای سورسی که توشون این خط هست:
کد:
#include "stm32f10x_lib.h"
به این تغییر بده:
کد:
#include "stm32f10x.h"
*فایل استارتاپ هم این باید باشه :
کد:
startup_stm32f10x_xx.s
که باید تو پروژه باشه،به جای اون xx آخرش طبق توضیح زیر حروف رو انتخاب کن:
کد:
ld : Low Density
md : Medium Density
hd : High Density
xl : XL Density
cl : Connectivity Line
vl : Value Line
[PHP] - Low-density Value line devices are STM32F100xx microcontrollers where the
Flash memory density ranges between 16 and 32 Kbytes.
- Low-density devices are STM32F101xx, STM32F102xx and STM32F103xx
microcontrollers where the Flash memory density ranges between 16 and 32 Kbytes.
- Medium-density Value line devices are STM32F100xx microcontrollers where
the Flash memory density ranges between 64 and 128 Kbytes.
- Medium-density devices are STM32F101xx, STM32F102xx and STM32F103xx
microcontrollers where the Flash memory density ranges between 64 and 128 Kbytes
- High-density Value line devices are STM32F100xx microcontrollers where
the Flash memory density ranges between 256 and 512 Kbytes.
- High-density devices are STM32F101xx and STM32F103xx microcontrollers where
the Flash memory density ranges between 256 and 512 Kbytes.
- XL-density devices are STM32F101xx and STM32F103xx microcontrollers where
the Flash memory density ranges between 512 and 1024 Kbytes.
- Connectivity line devices are STM32F105xx and STM32F107xx microcontrollers.[/PHP]
(که البته اگر خودت پروژرو از نو بسازی و میکرو رو خودت انتخاب کنی این فایل اتوماتیک لود میشه، به احتمال زیاد این قسمت درسته و نیازی به این تغییر نخواهی داشت)