markmcclure wrote on Monday, August 22, 2011:
I have a set of working code for PIC18F2685 that was built with FreeRTOS v5.3.0. _
A couple of times in the last year or two, I have attempted to move this project to a newer version of FreeRTOS. The effort generally fails, and to simply get work done, I revert to the old 5.3.0.
I’m only developing for one target , so I deleted all of the other ports from the 7.0.1 directories. Since there are only a few files, I moved the FreeRTOS source files to my “src” directory in MPLAB project, and I moved the include files to my “src\include” directory in the project. I changed the path in the #include for portmacro.h inside portable.h.
During the compile, I get a few warnings about typing. I crawled through the FreeRTOS source and I think the types are okay.
C:$Projects\src\tasks.c:502:Warning type qualifier mismatch in assignment
C:$Projects\src\serial.c:207:Warning location PRODH specified in the interrupt save list is redundant
C:$Projects\src\serial.c:207:Warning location PRODL specified in the interrupt save list is redundant
C:$Projects\src\serial.c:207:Warning location TABLAT specified in the interrupt save list is redundant
C:$Projects\src\serial.c:207:Warning location .tmpdata specified in the interrupt save list is redundant
C:$Projects\src\serial.c:234:Warning location PRODH specified in the interrupt save list is redundant
C:$Projects\src\serial.c:234:Warning location PRODL specified in the interrupt save list is redundant
C:$Projects\src\serial.c:234:Warning location TABLAT specified in the interrupt save list is redundant
C:$Projects\src\serial.c:234:Warning location .tmpdata specified in the interrupt save list is redundant
C:$Projects\src\list.c:74:Warning type qualifier mismatch in assignment
C:$Projects\src\list.c:82:Warning type qualifier mismatch in assignment
C:$Projects\src\list.c:83:Warning type qualifier mismatch in assignment
C:$Projects\src\list.c:156:Warning type qualifier mismatch in assignment
The project compiles, programs, and runs my initializations prior to setting up the FreeRTOS setup . But the application does not run.
I’ve tried commenting out all of the CAN, RS232, and UI code, and left a simple “heartbeat_LED” task, but it does not go.
I would appreciate any hints.
I have done considerable C/C++ coding in my career; but, I am relatively new to Microchip and FreeRTOS._