The following code is the classic example hello world present inside the folder EXAMPLE.
Now, with compiling and CW10.2 MQX3.8 works, but compiling with MQX CW10.2 and 3.81 does not work.
I explained it off???
Following the example of what I did:
void hello_task
(
uint_32 initial_data
)
{
uint_32 i=0;
while(1)
{
i++;
*((unsigned char*)BSP_EXTERNAL_MRAM_RAM_BASE) = 0xAA; //write
_time_delay(20);
if (i==0xFFFFFFFF) break;
}
printf("Hello World\n");
_task_block();
}
Maurizio Felicioni