-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Getting Started
It is assumed that
- You are familiar with GIT :-)
- You have Processor Expert (e.g. with CodeWarrior for MCU, Eclipse based, http://freescale.com/cwmcu10) installed. The current version is 10.3. Things might be backward compatible, but it is recommended to use the latest and greatest one.
- Processor Expert is enabled to create/change/edit components (CDE (Component Development Environment)
In order to use CDE, you either have a professional edition license, or the free 'Community Edition'. The difference is that components created with the Community Edition shall not be used for commercial usage: this means you cannot make business with them (e.g. selling them). See the license terms in the CDE standalone installation for details.
The community edition license file is available here: http://www.freescale.com/files/soft_dev_tools/software/app_software/code_examples/CDE_MCU_License.dat?fpsp=1 (pasted for reference below).
Installing the license: Place the above lines to your license.dat located in CodeWarriorInstallationPath\MCU\license.dat:
NOTE: depending on your editor, remove the spaces/tabs at the beginning of each line, and after the backslash at the end!
##################################################################################################
# Component Development Environment (CodeWarrior - 'metrowks' vendor daemon)
##################################################################################################
INCREMENT CommunityCDE metrowks 10.300 28-jul-2013 uncounted \
0EA8C9C29F95 HOSTID=ANY ISSUER="Freescale Semiconductor" \
ISSUED=16-nov-2011 START=1-nov-2011 TS_OK
NOTE: In case no such license.dat exists (e.g. for special edition), create a new (text) file named license.dat
Instead of exporting/importing *.PEupd files, is possible to directly work on the Processor Expert component files. For this, the 'Beans' and 'Drivers' repository folders need to be checked out into the Processor Expert 'working directory'. The working directory is shown in the console view at CodeWarrior startup, and is e.g. 'C:\ProgramData\Processor Expert\CWMCU_PE5_00'. The path and the version number might differ between different host machine operating systems, and/or different Processor Expert versions.
NOTE: As it is not possible to check out individual folders with Git, the whole Git repository gets checked out into the Processor Expert working directory.
Below are the steps how to use the repository direcly within the Processor Expert working directory:
- Identify your working directory
- Make a backup of it (or rename it)
- Close Eclipse/CodeWarrior
- Clone the Git repository as the Processor Expert working directory:
- GIT URL: https://github.com/ErichStyger/mcuoneclipse
- clone directory is the Processor Expert working directory, e.g. C:\ProgramData\Processor Expert\CWMCU_PE5_00
- That way you should get both the 'Beans' and the 'Drivers' directory from the repository into the working directory.
- Restart Eclipse/CodeWarrior
- Now you should see the new components in the Components Library view. If not, perform a refresh in that view
Have fun :-)