⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
7 posts / 0 new
Last post
johndefalco
Offline
Last seen:3 years 4 months ago
加入:2017-04-17 15:16
DA14681_WRBL_v_1.150.4

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:
MT_dialog
Offline
Last seen:2 months 4 days ago
工作人员
加入:2015-06-08 11:34
Hi johndefalco,

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

johndefalco
Offline
Last seen:3 years 4 months ago
加入:2017-04-17 15:16
I used the SmartSnippets

I used the SmartSnippets studio IDE, and it gives me the same error when I try to build it. Attached is the image file.

MT_dialog
Offline
Last seen:2 months 4 days ago
工作人员
加入:2015-06-08 11:34
Hi johndefalco,

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

johndefalco
Offline
Last seen:3 years 4 months ago
加入:2017-04-17 15:16
Here's the console screenshot

Here's the console screenshot. It is not being built. It ends with too many errors.

MT_dialog
Offline
Last seen:2 months 4 days ago
工作人员
加入:2015-06-08 11:34
Hi johndefalco,

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

johndefalco
Offline
Last seen:3 years 4 months ago
加入:2017-04-17 15:16
Thanks, I just re-imported

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.