09 2020 档案

摘要:c语言编译中,可能会出现以下报错: multiple storage classes in declaration specifiers 可能是 extern 修饰符 和 static 修饰符对一个function进行混用修饰,会导致问题。同时,再加入类似 __inline__ 或者 inline的 阅读全文
posted @ 2020-09-24 14:43 panrui 阅读(5396) 评论(0) 推荐(0)
摘要:在.h文件中使用以下代码 extern __inline__ Mcal_WdtCalcSeqPassword(uint16 SeqPassword){ /*IFX_MISRA_RULE_08_05_STATUS=Allowed for inline functions defined in head 阅读全文
posted @ 2020-09-24 14:29 panrui 阅读(175) 评论(0) 推荐(0)
摘要:ld文件是传统的c语言开发中的重要一环。 __attribute__ ((section (".calram"))) __attribute__ ((section (".text"))) //.calflash 2 .text cal_flash_addr0 = ORIGIN(cal_pfls0_ 阅读全文
posted @ 2020-09-23 18:56 panrui 阅读(530) 评论(0) 推荐(0)
摘要:Tasks View The Tasks view lets you create your own tasks. In addition to having the Tasks view automatically add TODO and FIXME tasks from comments in 阅读全文
posted @ 2020-09-17 16:52 panrui 阅读(170) 评论(0) 推荐(0)
摘要:解决方法为,将相对路径改为绝对路径既可以解决该问题。 相对路径的风格如下: "..\1_ToolEnv\0_Build\1_Config\Gnuc_overlay_bmhd_App2.lsl" 阅读全文
posted @ 2020-09-11 15:18 panrui 阅读(976) 评论(0) 推荐(0)
摘要:LIN开发 首先,应当阅读规范。可以从官方网站免费获取到《LIN Specification Package Revision 2.1 November 24, 2006》。 TCANLINPro配合适配器(需要购买)发现功能良好。主从机模式的各个工作模式都支持。能够达到测试效果。 同时,使用软件示 阅读全文
posted @ 2020-09-04 16:52 panrui 阅读(650) 评论(0) 推荐(0)
摘要:首先需要完成对TC275的Mcal关于FEE和FLS部分的基本配置。 可能还需要对Resource和Mcu模块进行最基本的配置。在集成过程中有以下需要注意的地方(可能是由于tc275的mcal的McalLib相关的公共资源的架构比较老): tc275的mcal的基本配置。已经能够正常使用生成配置的* 阅读全文
posted @ 2020-09-04 10:59 panrui 阅读(3057) 评论(1) 推荐(0)