TWR-K21F120MA

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

TWR-K21F120MA

437 次查看
vikashkumar
Contributor I

Hi,

 

I have TWR-K21F120MA board , i want to run usb example code on this board , please guide me how can i achieve it.

I'm using kinetis IDE.

 

Thank you

标签 (1)
0 项奖励
2 回复数

345 次查看
MarekTrmac
NXP Employee
NXP Employee

Hi Vikash,

go to http://mcuxpresso.nxp.com/, create configuration for TWR-K21F120MA for KDS toolchain; generate SDK package in SDK builder and download the package and unzip. USB stack middleware is included by default.

Start KDS 3.2. Import example project using File - Import - General - Existing project into workspace

As root directory select "boards\twr21f120m\usb_examples\".

Ensure "Copy projects into workspace" is NOT selected.

Click Next and select any of the USB example projects.

Build, Run and customize the example project.

Regards

Marek

0 项奖励

345 次查看
vikashkumar
Contributor I

Hi Marek,

Thank you for response.

Actually i have example of demo application and i'm using ucosii so i select this path (examples\twrk21f120m\demo_apps\usb\host\msd\msd_cmd\ucosii\kds). But in read me doc file the path is <install_dir>/usb/usb_core/host/lib/ucosii/<tool_chain>/<soc_name>.

So i want to conform it , i need to add tool_chain file?

0 项奖励