Quality RTOS & Embedded Software

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


Loading

Problem building Demo Project RTOSDemo_RDB1768

Posted by digitalwiz on August 21, 2014

I ran into a problem when building RTOSDemoTDB1768 in LPCXpresso. The file src/LCD/lcddriver.c failed to compile. Starting at line 49 there are six pairs of lines of the form:

~~~~~~~~~~~

define LCDCSBCLR FIO2CLR
define LCDCSBSET FIO2SET

~~~~~~~~~~~

The symbols FIO2CLR and FIO2SET aren't defined anywhere. After much groping around, I deduced that these should be changed to:

~~~~~~~~~~~

define LCDDATACLR LPC_GPIO2->FIOCLR
define LCDDATASET LPC_GPIO2->FIOSET

~~~~~~~~~~~

I can't confirm that this actually works since I don't have an LCD panel connected to the board, but at least it compiles and doesn't crash, so, at the very least, the writes are innocuous.


Problem building Demo Project RTOSDemo_RDB1768

Posted by rtel on August 21, 2014

That is a very old demo, and I concur there do see to be multiple problems with it, although I'm building with LPCXpresso rather than Red Suite as I don't currently have Red Suite installed. I would have to investigate further but assume the tools are now using different libraries or different structures. It may be possible to obtain the old header files and include them directly in the project - for now I would recommend just taking out the lcd.c and lcd_driver.c files, which will also mean you have to remove the lines from main.c that write to the LCD.

Regards.


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


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

Latest News

Version 10.1.0 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.


Careers

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

Renesas

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