Quality RTOS & Embedded Software

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




Loading

String I/O

Posted by Bill Den Beste on April 21, 2006
I'm using SDCC to develop code for a Silabs C8051F120. I'm not a C runtime guru so I could use some advice on the following questions:

My code was fine until I included string.h.
Now the linker thinks that main needs to link to _vSerialISR. Why? And why doesn't it matter when it can't find it?

Why do I need to implement putchar just to be able to use sprintf ?

-Bill

RE: String I/O

Posted by Nobody/Anonymous on April 21, 2006
Including any string handling stuff is going to drag in a lot of functions, but I don't know why the serial ISR would be one of them.

RE: String I/O

Posted by Nobody/Anonymous on April 21, 2006
Are you using the pre-built libraries? Try building the libraries yourself afresh.


[ 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