Karthi,
I verified this. Is working fine on my side.
I am using: MQX 4.0.2 Beta 1
Compiler: Sourcery CodeBench Lite Edition for ARM EABI from mentor graphics
Example: Hello
So please do the following:
- download Sourcery CodeBench Lite Edition for ARM EABI from mentor graphics GCC compiler
- obtain from your FAE: MQX 4.0.2 Beta 1
- compile hello example using gcc_cs tool chain mentioned above.
- modify and try using long long type.
Let us know your results. Again, the most important step is the toolchain. If the toolchain you are using does not supports the proper printf it will fail.
On my side, IAR, and gcc from CodeSourcery work correctly.
Best Regards,
Ioseph
code:
unsigned long long my64var;
void hello_task
(
uint_32 initial_data
)
{
my64var = 0x12345UL;
printf("Hello World\n");
printf("Hello World\n");
printf("%llx", my64var);
_task_block();
}
output:
Hello World
Hello World
12345