# Changing the CPU of a demo project using CodeWarrior

**URL:** <https://forums.freertos.org/t/changing-the-cpu-of-a-demo-project-using-codewarrior/5836>\
**Category:** Kernel\
**Created:** [March 26, 2016, 10:35pm UTC](https://forums.freertos.org/t/changing-the-cpu-of-a-demo-project-using-codewarrior/5836 "2016-03-26T22:35:18Z")\
**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:** [March 26, 2016, 10:35pm UTC](https://forums.freertos.org/t/changing-the-cpu-of-a-demo-project-using-codewarrior/5836/1 "2016-03-26T22:35:18Z")

</div>

**[karima7](https://sourceforge.net/u/karima7/)** wrote on [Saturday, March 26, 2016](https://sourceforge.net/p/freertos/discussion/382005/thread/a5365cf2/#0487):

Hello everyone,  
Please I would like to know, on what files I need to make changes to adapt the project to the CPU that I use in my project.  
I must inform you, that I am working with the demo project for the family of HCS12 microcontroller  
Thank you in advance.

---

<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:** [March 27, 2016, 10:26am UTC](https://forums.freertos.org/t/changing-the-cpu-of-a-demo-project-using-codewarrior/5836/2 "2016-03-27T10:26:34Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Sunday, March 27, 2016](https://sourceforge.net/p/freertos/discussion/382005/thread/a5365cf2/#f3a9):

As far as FreeRTOS is concerned, you just need to have the linker scrip and start up files that are correct for the device. The FreeRTOS code is unlikely to change between devices in the same family.

If your question is related to how to use CodeWarrior, then this is not the right forum in which to ask it.

Regards.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [March 27, 2016, 10:45am UTC](https://forums.freertos.org/t/changing-the-cpu-of-a-demo-project-using-codewarrior/5836/3 "2016-03-27T10:45:15Z")

</div>

**[karima7](https://sourceforge.net/u/karima7/)** wrote on [Sunday, March 27, 2016](https://sourceforge.net/p/freertos/discussion/382005/thread/a5365cf2/#a1b3):

Thank you for your reply  
Really I do not quite understand how I can have the linker script, I should inform you that I am a beginner in all that is real time programming.  
Best regards.
