I downloaded the Wearable firmware DA14681_WRBL_v_1.150.4 and installed both Visual Studio Community 2017 and Eclipse Neon. I tried to just compile the DA14681_WRBL_v_1.150.4 code in either environment and they product 300+ errors in both environments.
What is the recommended environment for successfully compiling this code?
Thanks
Device:
Hi johndefalco,
The projects provided by dialog should be builded with the Smart Snippets studio suite available on the support portal in the Software and Tools tab in the Tools section.
Thanks MT_dialog
I used the SmartSnippets studio IDE, and it gives me the same error when I try to build it. Attached is the image file.
Hi johndefalco,
Check the console tab in order to verify that the project is indeed not builded, sometimes the eclipse reports errors that simply aren't there (most probably due to an outdated indexer), also i can tell that you have imported only the wrbl project, if you would like to download the project in a reference design, import the entire wearable folder in order for the qspi scripts to also be imported to the studio as well as the suota loader in case you would also like to use the SUOTA.
Thanks MT_dialog
Here's the console screenshot. It is not being built. It ends with too many errors.
Hi johndefalco,
I am not able replicate your issue, so i suppose this has something to do with your eclipse setup, so can you please import the project on a new workspace and try to build it there ? Also before attemping re-importing your project you can try to replace the PRIVILEGED_DATA definition in the variable with the actual #define macro and recompile __attribute__((section("privileged_data_zi"))).
Thanks MT_dialog
Thanks, I just re-imported the projects at the higher base directory (instead of just the "wrbl" project) and it appears to have worked. Thanks for your help.