ST意法半导体
直播中

王雪

7年用户 170经验值
私信 关注
[问答]

STM8S发现示例不适用于Raisonance

STM8S发现示例不适用于Raisonance

以上来自于谷歌翻译


以下为原文



STM8S Discovery Examples don't work with Raisonance

回帖(6)

王雪

2019-4-15 11:41:49
参考:STM8S发现示例:
http://www.st.com/stonline/products/support/micro/files/um0834.zip
 
 
所有示例项目(ADC,PWM或Discovery)都不包含“Raisonance”项目文件夹中的任何内容。
 
从'Cosmic'项目文件夹打开文件选择'Cosmic'作为工具集 - 即使PC上没有Cosmic!
 
如果工具集更改为“Raisonance”,则项目无法构建!
 
他们无法建立,因为他们可以找到'stm8s.h'
 
问题似乎是STVD无处指定包含路径 - 似乎只能相对于Toolset安装文件夹指定它们! : - |
 
这些项目是否真的应该与Raisonance合作?
如果没有,那么为什么提供了Raisonance文件夹?
为什么Discovery用户手册中没有提到这一点?

以上来自于谷歌翻译


以下为原文




Ref: the STM8S Discovery Examples:
http://www.st.com/stonline/products/support/micro/files/um0834.zip


None of the example projects - ADC, PWM, or Discovery - contains anything in the 'Raisonance' project folder.  

Opening the  file from the 'Cosmic' project folder selects 'Cosmic' as the toolset - even when Cosmic is not present on the PC!  

If the toolset is changed to 'Raisonance',  of the projects fail to build!  

They  fail to build because  of them can find 'stm8s.h'  

The problem seems to be that STVD has nowhere to specify  include paths - it only seems possible to specify them relative to the Toolset installation folder!! :-|  

Are these Projects actually supposed to work with Raisonance at all?  
If not, then why is there a Raisonance folder provided?  
Why is this not mentioned in the Discovery user manual?
举报

王雪

2019-4-15 11:51:03
引用:
这些项目是否真的应该与Raisonance合作?
 
更多的挖掘表明他们显然打算与Raisonance合作! : - |
 
引用:
如果没有,那么为什么提供了Raisonance文件夹?
 
这没有任何意义:这些示例完全是特定于Cosmic的 - 提供任何Raisonance文件夹都没有任何意义!
 
引用:
为什么Discovery用户手册中没有提到这一点?
 
好的,提到:
 
引用:
 
 
 ...所有这些示例都提供了STVD和Cosmic C编译器的工作空间和项目定义文件,以允许轻松地将它们加载和编译到您的开发环境中。
 
这是在第15页;但几乎所有前面的14页都给人的印象是,一切都完全可以互换。 Raisonance和Cosmic之间兼容 - 但这完全是胡说八道,如Raisonance&宇宙使用完全不同&不兼容的语法扩展!! : - |
 
请参阅:http://www.st.com/mcu/forums-cat-8230-27.html

以上来自于谷歌翻译


以下为原文





Quote:
Are these Projects actually supposed to work with Raisonance at all?

A little more digging shows that they are quite obviously  intended to work with Raisonance at all! :-|  

Quote:
If not, then why is there a Raisonance folder provided?

It makes no sense: the examples are entirely Cosmic-specific - there is no point at all in providing any Raisonance folder!  

Quote:
Why is this not mentioned in the Discovery user manual?

OK, it is mentioned:

Quote:


... All these examples are provided with workspace and project definition files for STVD and Cosmic C compiler to allow loading and compiling them easily into you development environment.

That's on p15; but pretty much all of the preceding 14 pages have been giving the impression that everything is all completely interchangeable & compatible between Raisonance and Cosmic - but that's complete nonsense, as Raisonance & Cosmic use entirely different & incompatible syntax extensions!! :-|  

See: http://www.st.com/mcu/forums-cat-8230-27.html
举报

王雪

2019-4-15 12:07:29
引用:
他们无法建立,因为他们可以找到'stm8s.h'
 
 
问题似乎是STVD无处可指定包含路径
好的,我现在已经找到了设置的地方。
 
但它仍然存在这样的问题:根本没有任何例子与Raisonance兼容 - 它们都完全是宇宙特定的。

以上来自于谷歌翻译


以下为原文





Quote:
They  fail to build because  of them can find 'stm8s.h'

  
The problem seems to be that STVD has nowhere to specify  include paths  
OK, I've found where to set that now.  

But it still leaves the problem that none of the examples is compatible with Raisonance at all - they are all entirely Cosmic-specific.
举报

殷谷光

2019-4-15 12:13:46
大家好,
 
 
STM8触摸传感库尚不支持Raisonance,但新版本应该很快就能解决这个问题。
 
请注意,Raisonance网站上有一份应用笔记,其中记录了如何将Cosmic应用程序移植到Raisonance。这主要是语法问题,因此更改很容易。只有内联装配零件必须重新编写才能使其正常工作,但项目并不难以移植到Raisonance。
 
将inlcude目录添加到项目中也很容易(一旦了解了ST库的结构; ^)
 
 
问候,
布鲁诺
 
 
 
[此消息由以下人员编辑:bruno.richard于07-12-2009 14:47发表]

以上来自于谷歌翻译


以下为原文




Hi all,


The Raisonance is not yet supported in the STM8 touch sensing libraries, but a new release should correct this very soon.  

Note that there is an application note on the Raisonance Web site that documents how to port Cosmic applications to Raisonance. It's mostly a matter of syntax, so the changes are easy. Only the inline assembly parts have to be rewritten a little bit so that it works, but the project is not difficult to port to Raisonance.  

Adding the inlcude directories to the project is easy as well (once you understand how the ST libraries are structured ;^)  


Regards,  
Bruno  



[ This message was edited by: bruno.richard on 07-12-2009 14:47 ]
举报

更多回帖

发帖
×
20
完善资料,
赚取积分