嗨,
等待头文件问题的最终解决方案,您可以尝试替换OSAL组件插件中的正则表达式,
位于
C: SPC5Studio 日食插件 org.chibios.spc5.components.osal。
< yourplatform>
plugin.xml中
< / p为H.
这是建议的替代:
<属性
brief =''逗号分隔的标题列表,包含在除组件h之外的ISR模块中。''
编辑=“”真“”
名=“”接头“”
正则表达式
= '' ^ $ | ^([A-ZA-Z _]([A-ZA-Z0-9 _ - /] * H [A-ZA-Z _] *)。)| ^(([A-ZA -Z _]([A-ZA-Z0-9 _ - /] * H [A-ZA-Z _] *),)+([A-ZA-Z _]([A-ZA-Z0-9_ - /] * H [A-ZA-Z _] *)))$
“”
需要=“”假“”
类型= '' 字串 '' >
< /性>
代替:
<属性
brief =''逗号分隔的标题列表,包含在除组件h之外的ISR模块中。''
编辑=“”真“”
名=“”接头“”
正则表达式
= '' ^([A-ZA-Z _]([A-ZA-Z0-9 _ - /] *(| .H,[A-ZA-Z _]))* H)* $
“”
需要=“”假“”
类型= '' 字串 '' >
< /性>
在此替换之后,请仅使用“清除”选项重新启动SPC5Studio。
例如,从CMD工具:
> cd C: SPC5Studio eclipse
> SPC5Studio.exe -clean
希望这可以帮助
BR
菲利普
以上来自于谷歌翻译
以下为原文
Hi,
Waiting for a definitive solution to your headers file problem, you can try replacing the regular expression in your OSAL component plugin,
Located in
C:SPC5Studioeclipsepluginsorg.chibios.spc5.components.osal.
plugin.xml
Here is the proposed substitution:
brief=''Comma separated list of headers to be included in the ISRs module other than components.h.''
editable=''true''
name=''Headers''
regex
=''^$|^([a-zA-Z_]([a-zA-Z0-9_-/]*.h[a-zA-Z_]*))|^(([a-zA-Z_]([a-zA-Z0-9_-/]*.h[a-zA-Z_]*),)+([a-zA-Z_]([a-zA-Z0-9_-/]*.h[a-zA-Z_]*)))$
''
required=''false''
type=''string''>
instead of:
brief=''Comma separated list of headers to be included in the ISRs module other than components.h.''
editable=''true''
name=''Headers''
regex
=''^([a-zA-Z_]([a-zA-Z0-9_-/]*(|.h,[a-zA-Z_]))*.h)*$
''
required=''false''
type=''string''>
After this substitution, please restart your SPC5Studio with the –clean option for this time only.
For example from a CMD tool:
> cd C:SPC5Studioeclipse
> SPC5Studio.exe -clean
Hope this helps
BR
Philippe
嗨,
等待头文件问题的最终解决方案,您可以尝试替换OSAL组件插件中的正则表达式,
位于
C: SPC5Studio 日食插件 org.chibios.spc5.components.osal。
< yourplatform>
plugin.xml中
< / p为H.
这是建议的替代:
<属性
brief =''逗号分隔的标题列表,包含在除组件h之外的ISR模块中。''
编辑=“”真“”
名=“”接头“”
正则表达式
= '' ^ $ | ^([A-ZA-Z _]([A-ZA-Z0-9 _ - /] * H [A-ZA-Z _] *)。)| ^(([A-ZA -Z _]([A-ZA-Z0-9 _ - /] * H [A-ZA-Z _] *),)+([A-ZA-Z _]([A-ZA-Z0-9_ - /] * H [A-ZA-Z _] *)))$
“”
需要=“”假“”
类型= '' 字串 '' >
< /性>
代替:
<属性
brief =''逗号分隔的标题列表,包含在除组件h之外的ISR模块中。''
编辑=“”真“”
名=“”接头“”
正则表达式
= '' ^([A-ZA-Z _]([A-ZA-Z0-9 _ - /] *(| .H,[A-ZA-Z _]))* H)* $
“”
需要=“”假“”
类型= '' 字串 '' >
< /性>
在此替换之后,请仅使用“清除”选项重新启动SPC5Studio。
例如,从CMD工具:
> cd C: SPC5Studio eclipse
> SPC5Studio.exe -clean
希望这可以帮助
BR
菲利普
以上来自于谷歌翻译
以下为原文
Hi,
Waiting for a definitive solution to your headers file problem, you can try replacing the regular expression in your OSAL component plugin,
Located in
C:SPC5Studioeclipsepluginsorg.chibios.spc5.components.osal.
plugin.xml
Here is the proposed substitution:
brief=''Comma separated list of headers to be included in the ISRs module other than components.h.''
editable=''true''
name=''Headers''
regex
=''^$|^([a-zA-Z_]([a-zA-Z0-9_-/]*.h[a-zA-Z_]*))|^(([a-zA-Z_]([a-zA-Z0-9_-/]*.h[a-zA-Z_]*),)+([a-zA-Z_]([a-zA-Z0-9_-/]*.h[a-zA-Z_]*)))$
''
required=''false''
type=''string''>
instead of:
brief=''Comma separated list of headers to be included in the ISRs module other than components.h.''
editable=''true''
name=''Headers''
regex
=''^([a-zA-Z_]([a-zA-Z0-9_-/]*(|.h,[a-zA-Z_]))*.h)*$
''
required=''false''
type=''string''>
After this substitution, please restart your SPC5Studio with the –clean option for this time only.
For example from a CMD tool:
> cd C:SPC5Studioeclipse
> SPC5Studio.exe -clean
Hope this helps
BR
Philippe
举报