-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Getting Started
ErichStyger edited this page Jan 5, 2013
·
20 revisions
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) (NOTE: working with Freescale to get a free license for this for CodeWarrior, right now you need either an evaluation license or a professional license).
The steps below are for CodeWarrior for MCU10.3:
- Start Eclipse/CodeWarrior with a new workspace
- Import the component project into the workspace (e.g. drag&drop the Components\LED folder into the workspace)
- Open the Processor Expert views with a menu: Processor Expert > Show Views
- In the 'Components' view you can edit the component properties and methods
- The driver code can be found in the 'CodeWarrior Projects' view, inside the Drivers > sw folder (the driver has *.drv extension)
- To export the component in a *.PEupd package: right click on project folder, then select 'Export > Component Development Environment > Export to Package' and follow the steps.
- A *.PEupd package can be imported into CodeWarrior using the menu 'Processor Expert > Import Package'
Have fun :-)