I am working in a calibration projector. for realtime setting, I don't want that CONST data is compiled to immediate data.
what can I do .
in this case, b = a is compiled to b = 200 in ASM.
C: const u16 a = 200
b = a;
ASM: 14fc: 22c8 movs r2, #200 ; 0xc8
14fe: 4b04 ldr r3, [pc, #16] ; (1510 <ini_fs_misc+0x24>)
1500: 801a strh r2, [r3, #0]
S32DS V1.3 + Win10