Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


STM32f101 with FreeRTOS compiled problem

Posted by Aven Chiu on 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?

RE: STM32f101 with FreeRTOS compiled problem

Posted by Richard Damon on 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.

[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


FreeRTOS and other embedded software careers at AWS.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers


STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner