Hexiwear on MCUXpresso

cancel
Showing results for 
Search instead for 
Did you mean: 

Hexiwear on MCUXpresso

448 Views
eldk2811
Contributor II

Hi,

I want to use MCUXpresso to develop my Hexiwear.

What I want to do is creating new app on Hexiwear.

So, I need entire source codes for that and I got them from Github.  

But as you know, those source codes are based on KDS(Kinetis Design Studio) so that it does not work on MCUXpresso.

MCUXpresso provides basic demo source codes for Hexiwear but that is not what I need.

What shoud I do? And where can I get Hexiwear program source codes for MCUXpresso. 

Tags (2)
7 Replies

218 Views
BlackNight
NXP Employee
NXP Employee

Hi,

There is no straight-forward way for this, basically you have two options:

- create a new project with the IDE and then add the source files

- or use the approach described in MCUXpresso IDE: Importing Kinetis Design Studio Projects | MCU on Eclipse 

I hope this helps,

Erich

218 Views
eldk2811
Contributor II

Erich Thanks for giving me those options! 

I want to ask something about first option. Could you let me know what sources are exactly I should add on new project to work factory setup?

0 Kudos

218 Views
BlackNight
NXP Employee
NXP Employee

If you create a new 'empty' project for the Hexiwear using the IDE and the SDK, basically you get the main with the startup code. Keep the startup code with the main and add the your other project sources.

I hope this helps,

Erich

0 Kudos

218 Views
eldk2811
Contributor II

pastedImage_2.png

And What Should I do for thoes error?

Even if head files are in source folder they do not find it if they are not exact same directory.

Thanks

0 Kudos

218 Views
BlackNight
NXP Employee
NXP Employee

It seems to me that you have not configured correctly the settings for the include path (-I option) in the project settings.

Make sure that the folder with that header file is present in the list.

I hope this helps,

Erich

0 Kudos

218 Views
eldk2811
Contributor II

Hi Erich,

I think I set that path.

pastedImage_3.png

But those errors still have come up.

When I try to move each header file that is in inc to src that parts passed. But I have so many header files that is not existed exactly same folder with .c file.  So it is not possible to move each ones.

Do you think I make a mistake to set the path?? What is wrong with this?

0 Kudos

218 Views
eldk2811
Contributor II

Thanks Erick. 

But I got the error

_cr__main.c:(.text.__main+0xa): undefined reference to `main'

like this.

What can I do for this?

0 Kudos