Is it possible to generate ARM Cortex M3 processor specific code that supports LONG LONG or the 64 bit integer size data using Simulink Coder 8.0 (R2011a) ?
조회 수: 1 (최근 30일)
이전 댓글 표시
I would like to generate processor specific C code as described below:
- Use an ARM Cortex M3 processor to do arithmetic operations on data type 'long long' (64 bit integer type data) from the generated code. Hence enable support for 'long long' datatype in generated code.
- In the Hardware Implementation options for the ARM family CORTEX board, an option to specify the integer data type size to 64 or to select 'long long' data type for the hardware will resolve the issue. The specific processor that I use is ARM STM32F103ZE.
채택된 답변
MathWorks Support Team
2011년 6월 22일
At this point, we do not support generating C code that supports LONG LONG or the 64 bit integer type data. One of the workarounds in this case, would be the following:
- Using TFL to replace the specific operation with a user defined operation that takes advantage of "long long".
- Using multiword math.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Code Generation for ARM Cortex-M and ARM Cortex-A Processors에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!