Quality RTOS & Embedded Software

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




Loading

FreeRTOS_Plus_UDP_and_CLI_LPC1830_GCC doesn't work

Posted by hardware-dev on November 16, 2016

Hello,

We are trying to launch an example code “FreeRTOSPlusUDPandCLILPC1830GCC”, which is located in the latest official zip-file from FreeRtos: FreeRTOSv9.0.0FreeRTOS-PlusDemoFreeRTOSPlusUDPandCLILPC1830GCC

However, we can’t build the project because we get errors. Has anyone tested this example?

We are using LPCXpresso v8.2.0_647, but we also tried to build the code with another versions of LPCXpresso.

This is the list of errors, which we get:

Description Resource Path Location Type make: *** [FreeRTOSUDPDemo.axf] Error 1 FreeRTOSUDPDemo C/C++ Problem undefined reference to __get_PRIMASK' queue.c /FreeRTOS_UDP_Demo/FreeRTOS_Source line 1630 C/C++ Problem undefined reference togetPRIMASK' trcBase.c /FreeRTOSUDPDemo/ThirdParty/FreeRTOSPlusTraceRecorder line 432 C/C++ Problem undefined reference to __get_PRIMASK' trcKernel.c /FreeRTOS_UDP_Demo/ThirdParty/FreeRTOS_Plus_Trace_Recorder line 111 C/C++ Problem undefined reference to_getPRIMASK' trcKernel.c /FreeRTOSUDPDemo/ThirdParty/FreeRTOSPlusTraceRecorder line 202 C/C++ Problem undefined reference to __get_PRIMASK' trcKernel.c /FreeRTOS_UDP_Demo/ThirdParty/FreeRTOS_Plus_Trace_Recorder line 290 C/C++ Problem undefined reference to_getPRIMASK' trcKernel.c /FreeRTOSUDPDemo/ThirdParty/FreeRTOSPlusTraceRecorder line 352 C/C++ Problem undefined reference to __get_PRIMASK' trcKernel.c /FreeRTOS_UDP_Demo/ThirdParty/FreeRTOS_Plus_Trace_Recorder line 445 C/C++ Problem undefined reference to_getPRIMASK' trcKernel.c /FreeRTOSUDPDemo/ThirdParty/FreeRTOSPlusTraceRecorder line 512 C/C++ Problem undefined reference to __get_PRIMASK' trcUser.c /FreeRTOS_UDP_Demo/ThirdParty/FreeRTOS_Plus_Trace_Recorder line 114 C/C++ Problem undefined reference to_getPRIMASK' trcUser.c /FreeRTOSUDPDemo/ThirdParty/FreeRTOSPlusTraceRecorder line 161 C/C++ Problem undefined reference to __set_PRIMASK' queue.c /FreeRTOS_UDP_Demo/FreeRTOS_Source line 1630 C/C++ Problem undefined reference to_setPRIMASK' trcBase.c /FreeRTOSUDPDemo/ThirdParty/FreeRTOSPlusTraceRecorder line 432 C/C++ Problem undefined reference to __set_PRIMASK' trcBase.c /FreeRTOS_UDP_Demo/ThirdParty/FreeRTOS_Plus_Trace_Recorder line 438 C/C++ Problem undefined reference to_setPRIMASK' trcKernel.c /FreeRTOSUDPDemo/ThirdParty/FreeRTOSPlusTraceRecorder line 111 C/C++ Problem undefined reference to __set_PRIMASK' trcKernel.c /FreeRTOS_UDP_Demo/ThirdParty/FreeRTOS_Plus_Trace_Recorder line 128 C/C++ Problem undefined reference to_setPRIMASK' trcKernel.c /FreeRTOSUDPDemo/ThirdParty/FreeRTOSPlusTraceRecorder line 202 C/C++ Problem undefined reference to __set_PRIMASK' trcKernel.c /FreeRTOS_UDP_Demo/ThirdParty/FreeRTOS_Plus_Trace_Recorder line 249 C/C++ Problem undefined reference to_setPRIMASK' trcKernel.c /FreeRTOSUDPDemo/ThirdParty/FreeRTOSPlusTraceRecorder line 290 C/C++ Problem undefined reference to __set_PRIMASK' trcKernel.c /FreeRTOS_UDP_Demo/ThirdParty/FreeRTOS_Plus_Trace_Recorder line 312 C/C++ Problem undefined reference to_setPRIMASK' trcKernel.c /FreeRTOSUDPDemo/ThirdParty/FreeRTOSPlusTraceRecorder line 352 C/C++ Problem undefined reference to __set_PRIMASK' trcKernel.c /FreeRTOS_UDP_Demo/ThirdParty/FreeRTOS_Plus_Trace_Recorder line 373 C/C++ Problem undefined reference to_setPRIMASK' trcKernel.c /FreeRTOSUDPDemo/ThirdParty/FreeRTOSPlusTraceRecorder line 445 C/C++ Problem undefined reference to __set_PRIMASK' trcKernel.c /FreeRTOS_UDP_Demo/ThirdParty/FreeRTOS_Plus_Trace_Recorder line 464 C/C++ Problem undefined reference to_setPRIMASK' trcKernel.c /FreeRTOSUDPDemo/ThirdParty/FreeRTOSPlusTraceRecorder line 512 C/C++ Problem undefined reference to __set_PRIMASK' trcKernel.c /FreeRTOS_UDP_Demo/ThirdParty/FreeRTOS_Plus_Trace_Recorder line 556 C/C++ Problem undefined reference to_setPRIMASK' trcUser.c /FreeRTOSUDPDemo/ThirdParty/FreeRTOSPlusTraceRecorder line 114 C/C++ Problem undefined reference to __set_PRIMASK' trcUser.c /FreeRTOS_UDP_Demo/ThirdParty/FreeRTOS_Plus_Trace_Recorder line 129 C/C++ Problem undefined reference to_setPRIMASK' trcUser.c /FreeRTOSUDPDemo/ThirdParty/FreeRTOSPlusTrace_Recorder line 161 C/C++ Problem undefined reference to `setPRIMASK' trcUser.c /FreeRTOSUDPDemo/ThirdParty/FreeRTOSPlusTraceRecorder line 177 C/C++ Problem


FreeRTOS_Plus_UDP_and_CLI_LPC1830_GCC doesn't work

Posted by rtel on November 16, 2016

_setPRIMASK is a cmsis library function, so it looks like there is a problem with including the cmsis core header file. Sometimes this header file is included explicitly using a

#include

and locating the header file in the application directory. Sometimes it is included implicitly by the tools and located in one of the tools library directories. I expect the way or method it is included has changed since the demo was created (it is quite old).

If you cannot work out how to get the cmsis header file into the code then simply add an implementation of _setPRIMASK into your application code. Googing _setPRIMASK will show you how it is implemented, just a few lines.


FreeRTOS_Plus_UDP_and_CLI_LPC1830_GCC doesn't work

Posted by hardware-dev on November 17, 2016

Thank you very much for your help. I worked it out and the demo works yet.


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




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

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

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