Hello mariuslucianandrei,
ok seems like it works !
Which Code replacement library would you recommend for the KV4x, which has a M4 and which is upward compatible with the Cortex M3 ? Is there any difference between the following ? I'm using the IAR Compiler.
without Embedded Coder Add-On for Arm-M
Standard math library C99 - 18 742 bytes of readonly code Memory
Standard math library C89/90 - 20 186 bytes of readonly code memory
IAR without any Compiler Options: 25 766 bytes of readonly code memory
IAR High, favoring Speed (-Ohs) - 18 742 bytes of readonly code Memory
so for the following I've configured -Ohs
with Embedded Coder Add-On for example the code generation works with:
"GCC ARM Cortex-M3" - 20 186 bytes of readonly code Memory (this I would choose)
"GCC ARM Cortex-R4" - 20 186 bytes of readonly code Memory
"GCC ARM Cortex-A5" - 20 186 bytes of readonly code Memory
"GCC ARM Cortex-A9" - 20 186 bytes of readonly code Memory
but also with "GNU C99 extensions" (here code Generation works with both options for Standard math library)
GNU C99 Extension (Standard C89/90 ANSI) - 20 186 bytes of readonly code Memory
GNU C99 Extension (Standard C99 ISO) - 18 742 bytes of readonly code memory
for example with one of these Options the code Generation is aborted (fatal error detected, aborting):
"ARM Cortex-M (Optimized)"
"ARM Cortex-M (CMSIS)"
Fatal error detected, aborting.
Errors: 1
Warnings: none
gmake: *** [Motorregelung_mit_KV46F150M_Stand_020218_Emb_Arm.o] Error 2
Best regards
Leon