Quality RTOS & Embedded Software

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


Loading

syscalls.c

Posted by Jeckle on May 21, 2009
Hi

I am starting a project based on the NXP LCP2387 chip. I have downloaded the latest Yagarto as recommended and trying to compile the ARM7_LPC2368_eclipse demo as this should be very close to what I require.

The latest newlib that comes with Yagarto has been compiled to allow re-entrant syscall functions and so expects the user the fill in the syscall functions. Following the links in the yagarto_newlib.txt I got the simple version of syscalls.c.

1. Will this version of syscalls.c suffice for freeRTOS ? If not is there a howto or example code?
2. What do I do with this file? i.e. where do I put it? Does my makefile compile it or do I have to create a library?

This will be my first RTOS experience and I am wary of using something that mallocs using some generic minimalist code. Our projects tend to fill our processors and so our code needs to use memory in a very deterministic way to remove the danger of heap overflows and I am still not convinced that a RTOS is the way to go.

any help comments or advice will be most welcome.
Best regards
J

RE: syscalls.c

Posted by Richard on May 21, 2009
I don't think FreeRTOS makes use of any of the functions in syscalls.c so the file you have downloaded from Yagarto should be fine (have not tried it myself).

The makefile contains a list of files that are built by the project, just add syscalls.c to this list.

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