你好,
您也可以将COSMIC(编译器)与STVD或开源SDCC(编译器)一起使用,但与Atmel或S08设备的环境相比,STVD有点陈旧/笨重可能是公平的。
如果我没记错的话,SDCC网站上有一些示例程序,但您也可以考虑STM8S外设库,它往往使用API调用,或者您可以选择直接注册访问。库中的每个外设也有示例。
您可以通过Google找到一些示例,但自然不会出现在Arduinos附近的任何地方!
希望有所帮助,
伊恩
以上来自于谷歌翻译
以下为原文
Hello,
You can also use COSMIC (compiler) with STVD or the open source SDCC (compiler) but it's probably fair to say STVD is a bit old/clunky compared to environments for Atmel or S08 devices.
There are some example programs on the SDCC website if I remember correctly but you could also consider the STM8S peripheral library, which tends to use API calls or you can opt for direct register access. There are also examples for each peripheral in the library.
There are also some examples that you can find via Google but naturally not anywhere near what you can find for Arduinos!
Hope that helps,
Ian
你好,
您也可以将COSMIC(编译器)与STVD或开源SDCC(编译器)一起使用,但与Atmel或S08设备的环境相比,STVD有点陈旧/笨重可能是公平的。
如果我没记错的话,SDCC网站上有一些示例程序,但您也可以考虑STM8S外设库,它往往使用API调用,或者您可以选择直接注册访问。库中的每个外设也有示例。
您可以通过Google找到一些示例,但自然不会出现在Arduinos附近的任何地方!
希望有所帮助,
伊恩
以上来自于谷歌翻译
以下为原文
Hello,
You can also use COSMIC (compiler) with STVD or the open source SDCC (compiler) but it's probably fair to say STVD is a bit old/clunky compared to environments for Atmel or S08 devices.
There are some example programs on the SDCC website if I remember correctly but you could also consider the STM8S peripheral library, which tends to use API calls or you can opt for direct register access. There are also examples for each peripheral in the library.
There are also some examples that you can find via Google but naturally not anywhere near what you can find for Arduinos!
Hope that helps,
Ian
举报