Problems importing DATA_REFERENCE data types in AUTOSAR for Embedded Coder
4 ビュー (過去 30 日間)
古いコメントを表示
I'm trying to import a couple of arxml files with "arxml.importer". I'm running into trouble with pointer data types (see snippet below).
I'm getting this error: Implementation data type in file "xxx" uses unsupported category "TYPE_REFERENCE". Maybe someone give me hint.
Thanks, Manuel
<IMPLEMENTATION-DATA-TYPE>
<SHORT-NAME>NAME</SHORT-NAME>
<CATEGORY>DATA_REFERENCE</CATEGORY>
<SW-DATA-DEF-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL>
<SW-POINTER-TARGET-PROPS>
<TARGET-CATEGORY>TYPE_REFERENCE</TARGET-CATEGORY>
<SW-DATA-DEF-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL>
<IMPLEMENTATION-DATA-TYPE-REF DEST="IMPLEMENTATION-DATA-TYPE">/Path/to/ImplementationDataType</IMPLEMENTATION-DATA-TYPE-REF>
<SW-IMPL-POLICY>CONST</SW-IMPL-POLICY>
</SW-DATA-DEF-PROPS-CONDITIONAL>
</SW-DATA-DEF-PROPS-VARIANTS>
</SW-DATA-DEF-PROPS>
</SW-POINTER-TARGET-PROPS>
</SW-DATA-DEF-PROPS-CONDITIONAL>
</SW-DATA-DEF-PROPS-VARIANTS>
</SW-DATA-DEF-PROPS>
</IMPLEMENTATION-DATA-TYPE>
0 件のコメント
回答 (2 件)
Robert Maxim
2024 年 7 月 8 日
This question is very misleading and even confusing. DATA_REFERENCE is not a datatype, but a category which can be set for ImplementationDataTypes. AUTOSAR 4 handles them differently than previous versions.
I would suggest to edit the title, as your problem comes from the TYPE_REFERENCE not being found, rather then the category set for the IDT.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で AUTOSAR Blockset についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!