Porting Code from Keil to MCUXpresso for MKL16Z32VLH4

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Porting Code from Keil to MCUXpresso for MKL16Z32VLH4

378件の閲覧回数
BPR
Contributor I

Hi,

I have a code written in Keil for the MKL16Z32VLH4 microcontroller, and now I need to port it to MCUXpresso IDE. Can anyone provide me with a step-by-step guide or best practices for effectively porting the code to MCUXpresso? Any tips or specific considerations please.

0 件の賞賛
1 返信

371件の閲覧回数
ErichStyger
Senior Contributor V

Hi @BPR ,

this is how I did such things several times:

  1. create a new project with MCUXpresso IDE and the SDK for your device
  2. build, download and debug that 'empty' project
  3. then add the application code from your Keil project to that new project.
  4. If possible, do this in chunks: add source and header files, but comment out everything not needed initially, e.g. with #if 0 ... #endif
  5. Compile your project, and fix any build issues
  6. Watch out for Keil compiler or assembler specific things. Usually they have a GNU gcc/as counterpart
  7. If something is blocking you, disable it with #if 0 ... #endif and address it later.

Good luck!

Erich