Quality RTOS & Embedded Software

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


Loading

Compiling error for LPC2106 FreeRTOS example

Posted by catalin80 on February 24, 2014

Hi, I need to build the LPC2106 example using Sourcery CodeBench Lite 2013.05-24 and I receive an error:

arm-none-linux-gnueabi-gcc -Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wunused -D RUNFROMRAM -DGCCARM7 -I. -I../../Source/include -I. -I../../../FreeRTOS/Source/portable/RVDS/ARM7LPC21xx -I../Common/include -mcpu=arm7tdmi -T -fomit-frame-pointer -fno-strict-aliasing -fno-dwarf2-cfi-asm ../../Source/portable/GCC/ARM7LPC2000/portISR.o serial/serialISR.o main.o serial/serial.o ParTest/ParTest.o ../Common/Minimal/integer.o ../Common/Minimal/flash.o ../Common/Minimal/PollQ.o ../Common/Minimal/comtest.o ../Common/Minimal/flop.o ../Common/Minimal/semtest.o ../Common/Minimal/dynamic.o ../Common/Minimal/BlockQ.o ../../Source/tasks.o ../../Source/queue.o ../../Source/list.o ../../Source/portable/MemMang/heap2.o ../../Source/portable/GCC/ARM7LPC2000/port.o -nostartfiles boot.s -Xlinker -ortosdemo.elf -Xlinker -M -Xlinker -Map=rtosdemo.map /home/catalin/CodeSourcery/SourceryCodeBenchLiteforARMGNU_Linux/bin/../lib/gcc/arm-none-linux-gnueabi/4.7.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot open linker script file -fomit-frame-pointer: No such file or directory collect2: error: ld returned 1 exit status make: *** [rtosdemo.elf] Error 1

The FreeRTOS release is 8.0.0.

Is there someone that solved this problem (or know an suitable solution)?

Thank you !


Compiling error for LPC2106 FreeRTOS example

Posted by epvuc on March 4, 2014

Your makefile or whatever is generating that link command is not inserting the name of the desired linker script, leaving just a blank in it's place, so that gcc is trying to interpret whatever comes after "-T" as the filename of the linker script; in this case "-fomit-frame-pointer". Probably you just have to define the name of the linker script. In the default LPC2106 demo on freertos v8, it's "LDSCRIPT=lpc2106-rom.ld".


Compiling error for LPC2106 FreeRTOS example

Posted by rtel on March 5, 2014

That demo (which is very old) has multiple build configurations (RAM/ROM, THUMB/ARM) etc., and is build using the batch files that exist in the same directory as the makefile. The batch files set the correct linker script and a few other command line options for the build configuration selected. The information should be documented on the webpage for that demo.

Regards.


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


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

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Renesas

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

Xilinx Microblaze and Zynq partner