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


Example01 doesn't build

Posted by digitalwiz on July 7, 2014

I'm trying to build the examples from the LPC17xx edition of "Using the FreeRTOS Real-time Kernel". I get the following messages when trying to build Example01.

09:41:11 **** Build of configuration Debug for project CMSISv1p30LPC17xx **** make all Building file: ../src/corecm3.c Invoking: MCU C Compiler arm-none-eabi-gcc -DDEBUG -DCODE_RED -DREDLIB__ -I"C:UsersDougDocumentsLPCXpresso7.1.1125workspaceCMSISv1p30LPC17xxinc" -Og -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -mcpu=cortex-m3 -mthumb -DREDLIB -specs=redlib.specs -MMD -MP -MF"src/corecm3.d" -MT"src/corecm3.d" -o "src/corecm3.o" "../src/corecm3.c" C:UsersDougAppDataLocalTempcccfXT0x.s: Assembler messages: C:UsersDougAppDataLocalTempcccfXT0x.s:508: Error: registers may not be the same -- strexb r0,r0,[r1]' C:\Users\Doug\AppData\Local\Temp\cccfXT0x.s:533: Error: registers may not be the same --strexh r0,r0,[r1]' make: *** [src/corecm3.o] Error 1

So the project CMSISv1p30_LPC17xx, which I'm guessing is a library, isn't building. Any ideas?

Example01 doesn't build

Posted by digitalwiz on July 7, 2014

I forgot to mention that freertos_blinky does build and executes apparently correctly.

Example01 doesn't build

Posted by rtel on July 7, 2014

Sorry you are having a problem. This is due to a change in compiler versions. The following link seems to provide a simple fix:



Example01 doesn't build

Posted by digitalwiz on July 7, 2014

Thanks, that did it. Man, is that ever obscure!

[ 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