1 Star 0 Fork 1

tangdaizheng/discovery_tc27x

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
discovery_ecu_no_compiler_optimize_for_debug.patch 1.63 KB
一键复制 编辑 原始数据 按行查看 历史
saicry 提交于 2018-11-12 15:58 . try to push all repo
diff --git a/Discovery_ecu/Appl/Makefile b/Discovery_ecu/Appl/Makefile
index ada8fa4..cd4f2e0 100644
--- a/Discovery_ecu/Appl/Makefile
+++ b/Discovery_ecu/Appl/Makefile
@@ -409,7 +409,7 @@ endif
#Please add any other option below (vector default options)
CFLAGS_VECTOR_OPTIONS = -mcpu=$(MCPU_SWITCH_$(DERIVATIVE)) \
- -O \
+ -O0 \
-g \
-save-temps \
-fno-common \
diff --git a/ThirdParty/Mcal_Tc2xx/Supply/MC-ISAR_AS4XX_AURIX_TC27X_DC_PB_BASE_V500_REL322/TC27x_DCstep/Aurix_MC-ISAR/tricore_general/ssc/inc/Mcal_Compiler.h b/ThirdParty/Mcal_Tc2xx/Supply/MC-ISAR_AS4XX_AURIX_TC27X_DC_PB_BASE_V500_REL322/TC27x_DCstep/Aurix_MC-ISAR/tricore_general/ssc/inc/Mcal_Compiler.h
index 3e4ed50..52bc06f 100644
--- a/ThirdParty/Mcal_Tc2xx/Supply/MC-ISAR_AS4XX_AURIX_TC27X_DC_PB_BASE_V500_REL322/TC27x_DCstep/Aurix_MC-ISAR/tricore_general/ssc/inc/Mcal_Compiler.h
+++ b/ThirdParty/Mcal_Tc2xx/Supply/MC-ISAR_AS4XX_AURIX_TC27X_DC_PB_BASE_V500_REL322/TC27x_DCstep/Aurix_MC-ISAR/tricore_general/ssc/inc/Mcal_Compiler.h
@@ -199,7 +199,7 @@ standard by the upper layers AI00251033 */
#ifndef IFX_INLINE
/*IFX_MISRA_RULE_19_04_STATUS=IFX_INLINE cannot be expand to a braced
initialiser*/
-#define IFX_INLINE __inline__
+#define IFX_INLINE __inline__ __attribute__ ((__always_inline__))
#endif
/* Start of integration check:This change is made to make Integration between
"Mcal and SafeTlib" work fine */
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/tangdaizheng/discovery_tc27x.git
[email protected]:tangdaizheng/discovery_tc27x.git
tangdaizheng
discovery_tc27x
discovery_tc27x
master

搜索帮助