2019-05-29 01:20 PM
Hello,
I'm working on a project using STVD and the COSMIC FSE compiler to program a stm8s207 processor and having trouble assigning large values to a uint32_t or unsinged int variable. I follow different syntax but they all yield the same result.
These are my variables.
uint32_t x = (01020303uL);
uint32_t a = (21020303uL);
uint32_t b = (65535uL);
uint32_t c = (65537uL);
When I run the debugger and watch the values for this variables this is what I get.
x 2666496
a 26802
b 838861344
c 33883905
What could I be missing in my program or project properties in order to get this to work?