Quality RTOS & Embedded Software

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




Loading

[PATCH]: suggest remove of special characters

Posted by gwaa on March 17, 2009
Hello list,
Can I suggest this patch [1], which removes ^M (see [2]) special characters in portable.h ? My workstation is under linux and the text editor shows ^M special characters.

[1]http://gwaa.free.fr/patch/FreeRTOS/portable.h.patch
[2]http://gwaa.free.fr/images/special_char.png

Thanks

RE: [PATCH]: suggest remove of special charac

Posted by Dave on March 17, 2009
I don't think the characters should be there in any case.

RE: [PATCH]: suggest remove of special charac

Posted by gwaa on March 17, 2009
hello dave,
Try to use vi or vim and you will you see ^M special characters. This kind of special characters come from text editor like notepad.

RE: [PATCH]: suggest remove of special charac

Posted by saiberion on March 17, 2009
The special character ^M comes from Windows Editors in general.
Windows mostly needs both CR and LF special characters to display a new line.

In your case, gwaa, the linux command dos2unix might be helpful.

RE: [PATCH]: suggest remove of special characters

Posted by gwaa on March 17, 2009
Hello Saib,
Yes I know, I used dos2unix before generating the patch.
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