STM32f101 with FreeRTOS compiled problem

avenchiu wrote on Tuesday, November 25, 2008:

Hi Sir
  I have encountered a problem of compiled warning message about ‘volatile’ .
It show as below and You can refer to it.
Warning[Pa082]:undefined behavior :the order of volatile accesses is undefined in this statement. => tasks.c line 758

I use IAR 4.42 toolchain ,so what I miss in my project.
I just want to create a new project by myself based on Demo sample source code.
Can anyone professional man can give me a help?

richard_damon wrote on Tuesday, November 25, 2008:

Note, it is just a warning. It is commenting that the statement is accessing two volatile variables in one statement, and that the order of the two accesses is not defined.