I would like to use the Thumb instruction set (-mt und --code_state=16). But with these settings I get compiler errors:
"../src/hal/sys_intvecs.asm", ERROR! at line 30: [E0200] Offset out of range, must be [-255,4095]
ldr pc,[pc,#-0x1b0] ; [KEEP 32-BIT INS]
"../src/hal/sys_intvecs.asm", ERROR! at line 31: [E0200] Offset out of range, must be [-255,4095]
ldr pc,[pc,#-0x1b0] ; [KEEP 32-BIT INS]
If I change the compiler settings for the file sys_intvecs.asm: --code_state=32, then I get linker errors:
"../src/hal/sys_link.cmd", line 45: error #10099-D: placement fails for object
".intvecs", size 0x20 (page 0). Available ranges:
VECTORS size: 0x20 unused: 0x20 max hole: 0x20
.intvecs : {} > VECTORS
The project only builds with the options -mt and --code_state=32, but according to the documentation these options are in conflict. How can I configure the project to use the Thumb instruction set?