# Demo MCF51CN128 doesn't compile ! 

**URL:** <https://forums.freertos.org/t/demo-mcf51cn128-doesnt-compile/4169>\
**Category:** Kernel\
**Created:** [April 27, 2012, 9:47am UTC](https://forums.freertos.org/t/demo-mcf51cn128-doesnt-compile/4169 "2012-04-27T09:47:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [April 27, 2012, 9:47am UTC](https://forums.freertos.org/t/demo-mcf51cn128-doesnt-compile/4169/1 "2012-04-27T09:47:16Z")

</div>

**[stephman](https://sourceforge.net/u/stephman/)** wrote on [Friday, April 27, 2012](https://sourceforge.net/p/freertos/discussion/382005/thread/b7e049b3/#4e5b):

hello

I wanted to test this demo project on my MCF51CN128 Tower kit from freescale but the project doesn’t compile.  
First it ‘include’ some MSP430.h file ??? and then port.c ask for dos.h file …. ???

Does anyone has succeeded to compile this demo project ?

Thanks  
Regards  
Stephane

---

<div class="post-metadata">

**Author:** ![McuOnEclipse](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/mcuoneclipse/32/32_2.png) [@McuOnEclipse](https://forums.freertos.org/u/McuOnEclipse)\
**Post date:** [April 27, 2012, 11:11am UTC](https://forums.freertos.org/t/demo-mcf51cn128-doesnt-compile/4169/2 "2012-04-27T11:11:09Z")

</div>

**[xz8987f](https://sourceforge.net/u/xz8987f/)** wrote on [Friday, April 27, 2012](https://sourceforge.net/p/freertos/discussion/382005/thread/b7e049b3/#4167):

Hello,  
It might depend on what compiler/IDE you are using?  
But here is another example/port which is using CodeWarrior with Processor Expert:  
[http://www.steinerberg.com/EmbeddedComponents/Examples/Example\_CN128\_FatFS/home.htm](http://www.steinerberg.com/EmbeddedComponents/Examples/Example_CN128_FatFS/home.htm)

Hope this helps,  
Erich

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [April 27, 2012, 11:20am UTC](https://forums.freertos.org/t/demo-mcf51cn128-doesnt-compile/4169/3 "2012-04-27T11:20:02Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Friday, April 27, 2012](https://sourceforge.net/p/freertos/discussion/382005/thread/b7e049b3/#4168):

There is a known issue, and fix, for a ColdFire V2 demo that was caused by a compiler implementation change.&nbsp; Maybe the same fix will work for yours?

[http://www.freertos.org/a00104.html#knownissues](http://www.freertos.org/a00104.html#knownissues)

Regards.
