I received a Rapid IoT Prototyping Kit from Hackster.io. I looked at the Rapid IoT Studio, but its graphic logic does not make sense to me. I prefer to develop with real C code.
I'm having trouble coming up with a minimal boilerplate in MCUXpresso as a starting point. I have already installed MCUXpresso as well as SDKs for the two microcontroller. However:
C:\Users\sunny\Documents\NXP\rapid_iot_k64f_hello_world\Debug/../nwk_ip/base/shell/shell_ip.c:3120: undefined reference to `_sprintf'
.../nwk_ip/core/interface/sockets.h:253:8: error: redefinition of 'struct timeval'
Can anyone provide a GitHub repository of a minimal working boilerplate for the Rapid IoT Prototyping Kit?
已解决! 转到解答。
I got an answer on Hackster. It turns out that when I import the SDK example, I must select the following in Advanced Settings:
These are described in SLN-RPK-NODE-UG page144.
After making the above changes, I'm able to obtain the file Debug/rapid_iot_k64f_hello_world.axf. This file cannot be uploaded to the kit directly.
I notice that the commands to generate .bin file are commented out. To generate rapid_iot_k64f_hello_world.bin, I need to:
With these changes, I'm able to obtain a Debug/rapid_iot_k64f_hello_world.bin file that can be successfully uploaded to the kit.
I got an answer on Hackster. It turns out that when I import the SDK example, I must select the following in Advanced Settings:
These are described in SLN-RPK-NODE-UG page144.
After making the above changes, I'm able to obtain the file Debug/rapid_iot_k64f_hello_world.axf. This file cannot be uploaded to the kit directly.
I notice that the commands to generate .bin file are commented out. To generate rapid_iot_k64f_hello_world.bin, I need to:
With these changes, I'm able to obtain a Debug/rapid_iot_k64f_hello_world.bin file that can be successfully uploaded to the kit.
The online starter guide did not work for me either
In the download package there was an updated starter guide that is better.
For the atmosphere sample app I had to go online with the studio and "export" the app.
Then I copied the exported files into the workspace I had set up and imported the project.
The import did not work for me if the files were NOT in the workspace.
(Same with the SDK's - I had to put them in my workspace!)
After importing the SDKs and the Atmosphere App I was able to build and run the code!
Hello,
By any chance, have you checked this post? https://community.nxp.com/thread/489834 I believe this might help you solve your problems while getting used to the MCUXpresso IDE.
If you still have troubles after using the guide, just let me know here so I can try to help you solve your issues.
Regards,
Estephania