Tholin
10/23/2024, 7:25 PMvariable
is a regular uint32_t, this code:
variable = 0x00085003;
printf("%x\r\n", variable);
printf("%x\r\n", variable);
Results in an output of
00000000
00085003
Where the first print can actually be any nonsense while the second is the value I assigned, which makes no sense. The compiler is on -O0
, and the disassembled binary looks sane. Is the linker script messed up or something? This is preventing me from doing pretty much anything with caravel, because I can't use variables.