Dear Experts
I am using 1227 and safety diagnose lib (version:2.2.0), I include all the headers and I follow the steps required by halcogen example, but it failed building.
By the way, in the example doc:
Step 4:
Add the following in the SECTIONS block in the linker command file
LOG_DATA : START( ulLOGStartAddr ), END( ulLOGEndAddr ) > RAM
Step 6:
Copy the source code below into your sys_startup.c or replace sys_startup.c with this file.
The example file can also be found in the examples folder: ../HALCoGen/examples
the step 5 is missing
and my question is
in sl_asm_api_IAR.asm the statements at the beginning has [E0002] Illegal mnemonic specified error :
section .text_sl:CODE arm INCLUDE sl_asm_IAR.inc ; #include "sl_config.h" ;/**< Stack size for SVC mode */ #define STACK_SIZE_MODE_SVC 1024u ;/**< Stack size for FIQ mode */ #define STACK_SIZE_MODE_FIQ 1024u ;/**< Stack size for IRQ mode */ #define STACK_SIZE_MODE_IRQ 1024u ;/**< Stack size for ABT mode */ #define STACK_SIZE_MODE_ABT 1024u ;/**< Stack size for UND mode */ #define STACK_SIZE_MODE_UND 1024u
I have no idea what is wrong with it.
Many thanks
Leo