Is it possible to modify generated code before cross-compile?

7 次查看(过去 30 天)
I want to follow this example.
I mean,
I want to integrate adaptive autosar application with adaptive autosar platform. Also I will make it run on Raspberry Pi.
So I'm trying to cross compile to target Raspberry Pi hardware following this document below.
However, I need to modify the generated code to suitable my autosar platform (There is some Non standard function of official autosar platform)
And also There is comment in generated code like this
/* This file contains ARA Function Cluster ara::com stub implementation.
This implementation can be used to compile the generated code
in Simulink. When deploying the generated code outside of Simulink,
replace this file with an appropriate ARA file.
Code generated for Simulink Adaptive model: "test"
AUTOSAR AP Release: "20-11"
On: "XX-XX-2024 XX:XX:XX" */
But I have to cross-compile by targeting the hardware using xcp.
When cross-compiling with xcp, is it possible to separate process between code generation and compilation?
Is it possible to cross-compile after modifying the generated code in this way?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 AUTOSAR Blockset 的更多信息

产品


版本

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by