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 2011 Threads] FreeRTOS 7.0.1 on LPC1768 with EWARM v6.21Posted by Terry Hansen on August 4, 2011 The RTOSDemo project for CORTEX_LPC1768_IAR does not build in EWARM version 6.21. The error is Pe147, declaration is incompatible with ... The 2 files in contention seem to be C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.0 Evaluation\arm\inc\c\intrinsics.h and C:\Free RTOS\FreeRTOS\Demo\CORTEX_LPC1768_IAR\core_cm3.h. I have looked over the forum and do not see anyone else reporting this. EWARM v6.21 works great with other projects. This is a WIN7 64 PC, which may be a factor. Any recommendations as to how exactly tochange the core_cm3.h file are much appreciated. Also - does the RTOSDemo project for LPC1768 with EWARM need to be fixed? Thanks in advance!
RE: FreeRTOS 7.0.1 on LPC1768 with EWARM v6.21Posted by Terry Hansen on August 4, 2011 Additional information:
core_cm3.h does this: extern uint32_t __get_PSP(void); intrinsics.h does this: __intrinsic unsigned long __get_PSP( void );
Looks like something should typedef unsigned long into uint32_t
Am I missing something?
RE: FreeRTOS 7.0.1 on LPC1768 with EWARM v6.21Posted by Richard on August 5, 2011 Your IAR version, and your core_cm3.h version are no longer compatible as some of the functions defined in the header file are now intrinsics in IAR.
To get around the problem, In IAR, go to the project options->General Options category->Library configuration tab, and select "use CMSIS". Then either delete or rename core_cm3.h.
Regards.
RE: FreeRTOS 7.0.1 on LPC1768 with EWARM v6.21Posted by Terry Hansen on August 5, 2011 Richard -
Worked like a charm! Thanks very much.
Terry
RE: FreeRTOS 7.0.1 on LPC1768 with EWARM v6.21Posted by Terry Hansen on August 5, 2011 The project builds and loads onto the IAR Kickstart board but the web server does not work. The 1-second LED is blinking, so there is some kind of basic functionality. A demo project from IAR that uses uIP (but does not have an RTOS) works fine. My network admin has assigned me IP addresses 10.1.3.16, 17 and 18 for this test. The IAR demo runs with IP address 10.1.3.16 and serves web pages as advertized. I have changed configIP_ADDR0 through configIP_ADDR3 in FreeRTOSConfig.h to 10.1.3.17 but my browser cannot connect to 10.1.3.17. Hardware is identical to uIP test with IAR demo. My guess is that there is something like the fix above that needs to be done to make this FreeRTOS demo work with EWARM v6.21. Any wisdom is greatly appreciated! Thanks.
RE: FreeRTOS 7.0.1 on LPC1768 with EWARM v6.21Posted by Terry Hansen on August 5, 2011 My bad. The net mask needs to be changed along with the IP address.
RE: FreeRTOS 7.0.1 on LPC1768 with EWARM v6.21Posted by Terry Hansen on August 5, 2011 Working on the USB part of the demo now.
The driver is easy enough to find and with admin rights on the PC, I can use the Device Manager to point Windows at the driver tell it to do the install. However, the driver (usbser.inf) is not set to work with Win7 64-bit. Does anyone have a USB serial port driver that works with Win7 64?
Thanks again!
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|