FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [August 2014 Threads]
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.
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.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.