Quality RTOS & Embedded Software

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




Loading

LPC2148 and FreeRTOS

Posted by jrambo on October 1, 2017

Hi, I am trying to use FreeRTOS in LPC2148 application so far I am almost able to build I get the following error when trying to build port.c located in Portable/GCC/ARM7_2000

FreeRTOS/portable/GCC/ARM7LPC2000/port.c:241: error: ‘T0MR0’ undeclared (first use in this function)

looking at the docs for lpc2148 I believe it is T0MR0 no underspace can this be updated please? (same is true for the others with underscores if you need the full list let me know)

otherwise removing this file from being compiled i get the following error:

/FreeRTOS/tasks.c:3070: undefined reference to `vPortExitCritical'

what the heck am i using to compile this thing?

Fedora 24 linux arm-elf-gcc 4.1.1 makefile in eclipse

thanks for all your hard work!


LPC2148 and FreeRTOS

Posted by rtel on October 1, 2017

vPortExitCritcal() will be implemented in the file you first referenced (FreeRTOS/portable/GCC/ARM7_LPC2000/port.c), or the portmacro.h header file located in the same directory.


LPC2148 and FreeRTOS

Posted by jrambo on October 1, 2017

They are in the same directory, rather they were I had to create my own port.c and portISR.c since it wouldnt let me take out the underscores directly. (Using a custom makefile so it shouldn't matter if they are)

Got it to compile without errors. Will test it on a live board soon.

thanks


[ 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