摘要: https://mp.weixin.qq.com/s/JX7VZwyMqk_9iVMm_N2pxA https://mp.weixin.qq.com/s/5Y8Dt9j1-NQmnjfYhE19dg 基于官方arc-stable-9c57d86f66be,AUTOSAR版本3.1.5 ArcCore 阅读全文
posted @ 2018-05-14 22:55 wjcdx 阅读(2800) 评论(0) 推荐(0)
摘要: https://mp.weixin.qq.com/s/TZcJcHVnNARMcUac2Es0wQ PDU: Protocol Data Unit The PDU contains SDU and PCI. On the transmission side the PDU is passed fro 阅读全文
posted @ 2018-05-13 19:49 wjcdx 阅读(3601) 评论(0) 推荐(0)
摘要: https://mp.weixin.qq.com/s/9RYSqIlQ12TE1N9FtSUyhw 8. AUTOSAR中MCAL虽然包含各种drvier,但毕竟是AL即抽象层,不应包含architecture和device特定的信息。应该只包含模型定义,不包含实现细节。 AUTOSAR文档中的分层 阅读全文
posted @ 2018-05-11 21:11 wjcdx 阅读(6165) 评论(0) 推荐(1)
摘要: https://mp.weixin.qq.com/s/y768VcKD6Co7iD6u8LYoYg AUTOSAR定义了一系列PlatformTypes,如uint8/uint16/uint32等等基本类型。 ArcCore中实现如下: 可以看到,其中直接使用了_Bool类型,uint8_t等这些类 阅读全文
posted @ 2018-05-10 22:16 wjcdx 阅读(931) 评论(0) 推荐(0)
摘要: 基于Can: 1. Can_Cfg.h contains compile time configurations. It should be included by Can.h which is specified by AUTOSAR Specification of CAN Driver in 阅读全文
posted @ 2018-05-06 16:50 wjcdx 阅读(1653) 评论(0) 推荐(0)
摘要: https://mp.weixin.qq.com/s/EqdOyEhYNk5LwAnFe1C9iA 基于官方arc-stable-9c57d86f66be,AUTOSAR版本3.1.5 基本问题 ArcCore中,需要生成asm_offset.h和arch_offset.h这两个头文件,定义着代码所 阅读全文
posted @ 2018-05-06 16:45 wjcdx 阅读(322) 评论(0) 推荐(0)
摘要: https://mp.weixin.qq.com/s/YxxSuFjwI8QNBjFP3uocQg 基于官方arc-stable-9c57d86f66be,AUTOSAR版本3.1.5 基本问题 3. 编译系统中所有代码文件通过搜索路径(VPATH)中搜索,存在名称污染问题,需加入路径信息; Arc 阅读全文
posted @ 2018-05-06 16:34 wjcdx 阅读(841) 评论(2) 推荐(0)
摘要: 基于官方arc-stable-9c57d86f66be,AUTOSAR版本3.1.5 基本问题 1. 头文件引用混乱,所有头文件通过从搜索路径(-I)中引用,存在名称污染问题,需加入路径信息; ArcCore代码的编译系统中,定义了大量的inc-y路径,最后使用-I参数将这些路径加入到编译器的命令行 阅读全文
posted @ 2018-05-06 16:20 wjcdx 阅读(495) 评论(0) 推荐(0)
摘要: https://mp.weixin.qq.com/s/c6WnmmupP25k1GD-zvw0Ww 基于官方arc-stable-9c57d86f66be,AUTOSAR版本3.1.5 基本问题 2. 编译系统中代码文件是否编译及目标文件集中定义在boards/board_common.mk,而非分 阅读全文
posted @ 2018-05-06 15:56 wjcdx 阅读(712) 评论(0) 推荐(0)
摘要: 基于官方arc-stable-9c57d86f66be,AUTOSAR版本3.1.5 基本问题 Arctic Core中的代码组织有很多有待改进的地方,这里先提出几点: 1. 头文件引用混乱,所有头文件通过从搜索路径(-I)中引用,存在名称污染问题,需加入路径信息; 2. 编译系统中代码文件是否编译 阅读全文
posted @ 2018-05-06 14:26 wjcdx 阅读(354) 评论(0) 推荐(0)