⚠️
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.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
6 posts / 0 new
Last post
Thanhtu131
Offline
Last seen:3 months 5 days ago
加入:2018-09-18 17:44
main.c

HI, I'm working with SDK 5.0.3, i can't find main.c file in the project. Is it arch_main.c????
Does main_func() function have the same fuction with the main() function in other source code??

Device:
PM_Dialog
Offline
Last seen:5 hours 5 min ago
工作人员
加入:2018-02-08 11:03
Hi Thanhtu131,

Hi Thanhtu131,

First of all, I would strongly recommend you to use our latest SDK5 for DA14580/1/3 products which is version 5.0.4. The SDK5.0.3 is very old version of SDK and it is not currently supported. As you correctly mentioned, the main function is called main_func() and it is located in the arch_main.c file. This function is called right after the booting process has completed. It contains the main function loop.

Thanks, PM_Dialog

Thanhtu131
Offline
Last seen:3 months 5 days ago
加入:2018-09-18 17:44
thanks. About the SDK, the

thanks. About the SDK, the tutorials are all in SDK 5.0.3, Can you give give me the tutorials in SDK 5.0.4?

PM_Dialog
Offline
Last seen:5 hours 5 min ago
工作人员
加入:2018-02-08 11:03
Hi Thanhtu131,

Hi Thanhtu131,

Yes, you are correct, the tutorials for DA14580/1/3 devices are based on the top of SDK5.0.3. Unfortunately, we don’t have any available tutorials on the top of SDK5.0.4. Most of the steps are similar in SDK5.0.3 and SDK5.0.4. Do you have any problem while following aby of the tutorials? Also, I would highly recommend to have a look at the DA14585/6 devices and our new SDK6.0.10. For these kinds of devices you have updated tutorials and great variety of software examples to getting started. If you found any of the answers useful, please mark one of them as accepted.

谢谢,PM_DIalog

Thanhtu131
Offline
Last seen:3 months 5 days ago
加入:2018-09-18 17:44
i have bought 2 DA14580

i have bought 2 DA14580 already, so i have to use them. :(

PM_Dialog
Offline
Last seen:5 hours 5 min ago
工作人员
加入:2018-02-08 11:03
Hi Thanhtu131,

Hi Thanhtu131,

I would suggest you to follow the tutorial for DA14580 as they are and if you have any issue or question, please feel free to ask us on the forum! Do you have any specific issue with the tutorials? Which tutorial are you trying to do? How I can help you? If you find any answer useful, please mark it as accepted.

Thanks, PM_Dialog