Example code build error

⚠️
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.
4 posts / 0 new
Last post
changruei
Offline
Last seen:我们10月3eks ago
加入:2020-05-05 06:27
Example code build error

Hi :

I am a new developer of dialog product.

Q1 :

I download SDK_10.0.4.66.2 andDA1469x VBAT Monitoring with Sensor Node Controller.

It builds error.

I attach error message as SDK_10.0.4.66.2_and_DA1469x VBAT Monitoring with Sensor Node Controller.png

"Description Resource Path Location Type 'HW_SDADC_CLOCK_DIVN' undeclared here (not in a function); did you mean 'HW_SDADC_CLOCK_FREQ'?

platform_devices.c /snc_sdadc_sample_code line 46 C/C++ Problem"

Q2:

I download SDK_10.0.8.105 andDA1469x VBAT Monitoring with Sensor Node Controller.

It builds error.

I attach error message as SDK_10.0.8.105_and_DA1469x VBAT Monitoring with Sensor Node Controller.png

"Description Resource Path Location Type
fatal error: bsp_memory_layout.h: No such file or directory custom_config_qspi.h /snc_sdadc_sample_code/config line 76 C/C++ Problem"

Device:
changruei
Offline
Last seen:我们10月3eks ago
加入:2020-05-05 06:27
Which version of SDK is most stable ?

Hi :

Which version of SDK is most stable ?

No build error.

ulzii
Offline
Last seen:5 months 4 weeks ago
加入:2019-02-27 13:25
Have found bsp_memory_layout

Have found bsp_memory_layout.h?

PM_Dialog
Offline
Last seen:6 days 3 hours ago
Staff
加入:2018-02-08 11:03
嗨changruei和ulzi

嗨changruei和ulzi,

---- changing the device selection, as it isDA1469x----

We strongly recommend using our latest SDK for DA1469x product family which isDA1469x SDK10.0.8.105.

Let me ask it internally how to run the specific example on our latest SDK and I’ll get back to you.

In general, if you are trying to run any other DA1469x examples, couple of thing should be removed completely from the custom_config_xxx.h.

1. The following macros are no longer used and so, they should be removed completely.

#define dg_configEMULATE_OTP_COPY (0) #define dg_configUSER_CAN_USE_TIMER1 (0)

2. There are no memory layout schemes and so, the following definition should be removed completely.

/* Include memory layout */ #include "bsp_memory_layout.h"

Thanks, PM_Dialog