How to support multiple targets in CodeWarrior(Classic, Eclipse)/KDS

Document created by ZhangJennie Employee on Jun 22, 2016Last modified by ebiz_ws_prod on Dec 13, 2017
Version 6Show Document
  • View in full screen mode

In some application, we hope one project can support multiple targets. Some typical examples: user needs different firmware to run on different PCB with different crystal on it; Or sometimes user needs one project support both debug and release mode; another widely used example is, user needs one project support multiple part numbers.etc.

To implement the multiple targets project, we will consider at least three aspects:

  • Depend on the different targets, some files/codes may be included or not. 
  • Depend on the different targets, compiler/linker settings may be different.
  • If bootloader involved, different target may link with different bootloader firmware.

 

In this article I will discuss this topic with Classic CodeWarrior and Eclipse CodeWarrior10.x/KDS separately.

Original Attachment has been moved to: Multi-Targets-Project_Classic-CW-HCS12-v5_1.zip

Original Attachment has been moved to: Multi-Targets-Project_KDS-v3_2.zip

1 person found this helpful

Outcomes