6 posts / 0 new
Last post
ChrisHab
Offline
Last seen:5 years 5 months ago
加入:2015-09-23 09:58
blinky not working

Environment:

SDK: 5.0.2.1
Keil_4
Bluetooth@SmartDevelopement Kit- Pro ( Starter Kit + DA14580ATDB-P Daughterboard FN40 )
( Written on the Box: "Develop with confidence" )

Action:
- open project "...\SDK 5.0.2.1\DA1458x_SDK\5.0.2.1\projects\target_apps\peripheral_examples\blinky\Keil_4"
- press BUILD (F7)

Result:

*** Using Compiler 'V5.06 (build 20)', folder: 'C:\Program Files (x86)\ARM\ARMCC\Bin'
Build target 'BLINKY'
编译system_ARMCM0.c……
. . \ . . \ \共享startup\system_ARMCM0.c(26): error: #5: cannot open source input file "ARMCM0.h": No such file or directory
#include "ARMCM0.h"
. . \ . . \ \共享startup\system_ARMCM0.c: 0 warnings, 1 error
compiling gpio.c...
"no source": Error: #5: cannot open source input file "..\..\..\..\..\sdk\platform\driver\gpio\gpio.c": No such file or directory
..\..\..\..\..\sdk\platform\driver\gpio\gpio.c: 0 warnings, 1 error
compiling uart2.c...
"no source": Error: #5: cannot open source input file "..\..\..\..\..\sdk\platform\driver\uart\uart2.c": No such file or directory
..\..\..\..\..\sdk\platform\driver\uart\uart2.c: 0 warnings, 1 error
compiling common_uart.c...
. . \ . . \ \共享common_uart\common_uart.c(19): error: #5: cannot open source input file "global_io.h": No such file or directory
#include "global_io.h"
. . \ . . \ \共享common_uart\common_uart.c: 0 warnings, 1 error
compiling main.c...
..\src\main.c(19): error: #5: cannot open source input file "global_io.h": No such file or directory
#include "global_io.h"
..\src\main.c: 0 warnings, 1 error
compiling user_periph_setup.c...
..\src\user_periph_setup.c(17): error: #5: cannot open source input file "global_io.h": No such file or directory
#include "global_io.h"
..\src\user_periph_setup.c: 0 warnings, 1 error
".\out\blinky.axf" - 4 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:00:01

Keywords:
Device:
MT_dialog
Offline
Last seen:2 months 6 days ago
Staff
加入:2015-06-08 11:34
Hi ChrisHab,

Hi ChrisHab,

Please check the directories the files are located make sure that they agree with the files properties in the keil. Also please check your include paths in the Target Options at the C/C++ tab.

Thanks MT_dialog

ChrisHab
Offline
Last seen:5 years 5 months ago
加入:2015-09-23 09:58
Thank you for your response.

Thank you for your response.

It is obvious from the compile log that there are some files missing.
I found another "blinky" example on your download site

http://support.dialog-semiconductor.com/product/da14580
blinky_20150501.zip

witch is compiling and working.

But the "blinky" in your SDK is not working.

SDK 5.0.2.1\DA1458x_SDK\5.0.2.1\projects\target_apps\peripheral_examples\blinky

The question is why?
Is there a technical reason?

As seen by the "blinky_20150501.zip" a correct compiling project is possible.

ChrisHab
Offline
Last seen:5 years 5 months ago
加入:2015-09-23 09:58
In the working example (

In the working example ( blinky_20150501.zip ) the missing files in the SDK are in the folder

Examples\blinky_arrived\system_code\

Where are they in the SDK5.0.2.1 ?

MT_dialog
Offline
Last seen:2 months 6 days ago
Staff
加入:2015-06-08 11:34
Hi ChrisHab,

Hi ChrisHab,

The blinky code compiles just fine at least with my keil, in this directory you can find most files the SDK uses:

DA1458x_SDK_5.0.2.1\DA1458x_SDK\5.0.2.1\sdk\platform\

Thanks MT_dialog

ChrisHab
Offline
Last seen:5 years 5 months ago
加入:2015-09-23 09:58
Hello MT_dialog,

Hello MT_dialog,

I checked the folder content and the sdk\platform was missing. I don't know why.
I downloaded the SDK again, now all works.

Thanks,
ChrisHab

Topic locked