Quality RTOS & Embedded Software

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


Loading

including printf-stdarg.c in Mplab X project

Posted by chaabanemalki on June 13, 2014

Hello, This is almost a C/Mplab question but I'm hoping that someone has solved this before. I have some random behaviors when using printf with freeRTOS, so I'm trying to use printf/ sprintf functions in my project but I have an error saying that printf/sprintf is already defined in libc.a

I didn't include libc.a library in my project and I started from a demo project.

How can I use printf-stdarg.c rather than libc.a ?


including printf-stdarg.c in Mplab X project

Posted by davedoors on June 13, 2014

This is what google gave me as a first suggestion https://sourceware.org/binutils/docs-2.22/ld/Options.html#index-gt002d002dallow002dmultiple_002ddefinition-190


[ 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.

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