When a file prepared under windows is loaded in epispin the parser balks about ^M being present in the file.

^m (Cntl-M) is the equivalent for the Carriage Return character.
This character is used under DOS/Windows but not under Linux.
Modern applications automatically take care of that.

^M
// TEMPORARY DEFINITIONS HERE;^M
^M

define configMAX_TASK_NAME_LEN 8 // somewhere^M

^M
// from Demo/AVR_ATMega323_WinnAVR/FreeRTOSConfig.h^M
// note: different for various architectures!^M
// #define configMAX_PRIORITIES (( unsigned portBASE_TYPE) 4)^M

define configMAX_PRIORITIES 4 // nazien!!^M

^M
Submitted by Kees Pronk on 23 August 2011 at 14:05

On 23 August 2011 at 14:43 Lennart Kats commented:

Note that you can use <verbatim>…</verbatim> for code blocks. Sander also posted a related issue about CR characters at YellowGrass/223.


On 26 August 2011 at 15:07 Bob de Vos commented:

I can not get this issue reproduced. I also think this is not an EpiSpin issue, but more of an Eclipse issue.

Log in to post comments