Hello World Demo will not compile / debug. Console reports: nothing to build

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Hello World Demo will not compile / debug. Console reports: nothing to build

1,618 Views
jimnelson
Contributor I

I recently purchased a FRDM-K22F board to develop some apps on.

I am new to Eclipse / GNU, so don't assume I know anything about it.

 

I downloaded Kinetis Design studio Version: 3.2.0 and installed it.

I downloaded and installed KSDK_1.3.0.

I installed the USB drivers, and the board is recognized - MBED drive shows.

I followed all instructions to the letter as near as I can tell.

 

As instructed, I imported the ksdk_platform_lib_K22F51212 - it appeared to build.

I next imported the hello_world_frdmk22f example - console says "Nothing to build for project hello_world_frdmk22f"

I followed instruction at Build and Run SDK Demos on the FRDM-K22F - How To|NXP , but the demo app is not

When I do debug-->debug configurations-->GDB OpenOCD Debugging-->hello_world_frdmk22f debug, I get an error:

     "Missing mandatory configuration. Fill-in the 'Config options:' field in the Debugger tab"

 

I haven't a clue what I should fill in there though.

 

what's up with this?  the demo should run as packaged right?

Labels (1)
0 Kudos
Reply
2 Replies

976 Views
jimnelson
Contributor I

I confirmed that KSDK is installed in KDS

adding  -f kinetis.cfg did not change the behavior.

The build console is still reporting:

**** Build of configuration debug for project hello_world_frdmk22f ****

Nothing to build for project hello_world_frdmk22f

0 Kudos
Reply

976 Views
ivadorazinova
NXP Employee
NXP Employee

Hi Jim.

Thank you for your question.

Please, have you installed KSDK into KDS?

I mean this part -> http://cache.nxp.com/files/microcontrollers/doc/user_guide/KDSUG.pdf#d74e5a1310_d11e411

Please, do you have added -f kinetis.cfg in other options?

pastedImage_0.png

For more details please see KDS Debug Configurations (OpenOCD, P&E, Segger)

Please let me know, if this helps you.

Best Regards,

Iva

0 Kudos
Reply