Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training


FreeRTOS+STemWin Bad operand types (UnDefOT, Constant) for operator (

Posted by pondito on August 15, 2017

Hello, I'm making project generated with STM32CubeMX for stm32f469i-disco. I have based setup on "FreeRTOSconfig.h" from "Demonstration" project in STM32CubeFWF4V1.16.0 repo. Fresh project from CubeMX compiles without problems. But after adding STemWin lib "STemWin532CM4OSKeilot.lib" i get error "..........MiddlewaresThirdPartyFreeRTOSSourceportableRVDSARMCM4Fport.c(507): error: A1586E: Bad operand types (UnDefOT, Constant) for operator ("

Interesting fact is that "Demonstration" compiles without this error.

How do I get the project configured: In CubeMX: 1. Add periphs needed: DMA2D, DSIHost, FMC etc. 2. Clone "Clock Configuration" based on "Demonstations" 3. In "Configuration" tab I clone all configuration based on code from "Demonstrations" Then in Keil: 1. I update Include Path in target options. 2.Add BSP drivers for touchscreen etc. Now, it copiles without problems. 3. Add all STemWin files and when i try to compile: "...Bad operand types..."

When I disable freertos in CubeMX and add non-OS STemWin lib it compiles without problems. When i try to compile non_OS STemWin lib with FreeRTOS enabled, it fails with the same message.

What have i tried to do? Update port.c. Nothing changed.

Am I missing something while creating project?

FreeRTOS+STemWin Bad operand types (UnDefOT, Constant) for operator (

Posted by rtel on August 16, 2017

I'm afraid you are asking about compiling software that is not provided by us using tools that are not provided by us, so there is little we can add. Is the STemWin library a binary compiled using different options? Or are the build options different? I don't even know what the error means.

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

Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.

Free TCP/IP and file system demos for the RTOS

Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

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

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

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

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists