Quality RTOS & Embedded Software

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




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) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists