你好。
我正在尝试使用IAR编译器开始使用stm8s系列,我不是很擅长。
因此,对于第一个项目,只是试图打开和关闭一个LED,看看是否一切都好。
我之前在
ARM MCU中使用过Keil,起初我编译器问我是否要添加启动文件。
所以每次我按下是按钮,一切都很好。
但是IAR没有这样做。
所以我想知道我应该在项目中添加哪些库?
我必须提到我只是使用寄存器而不是任何标准库。
我正在使用的MCU是STM8S105k4t6。
以上来自于谷歌翻译
以下为原文
Hello.
I'm trying to get started with stm8s series with IAR compiler that I'm not very good at.
So for the first project just trying to on and off a single LED to see if everything is ok or not.
I used Keil before this in ARM MCUs, that at first I the compiler asked me if I want to add the startup file or not.
So every
time I pushed the yes button and everything was ok.
But IAR does not do this.
So I wanted to know what libraries should I add to the project?
I have to mention that I'm just using the registers and not any standard libraries.
The MCU I'm working with is an STM8S105k4t6.