Quality RTOS & Embedded Software

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


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