Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Compiled Nordic sample code, but error in hidden file with no file is changed.

Just trying to build Nordic sample codes S110 with nRF51822.

Here is the error. These are hidden file. I guess some configuration is not correct but I'm not sure.

---------------------------------------------

compiling system_nrf51.c...
C:\Users\myname\AppData\Local\Arm\Packs\NordicSemiconductor\nRF_DeviceFamilyPack\8.32.1\Device\Include\nrf51_erratas.h(40): error: #130: expected a "{"
static bool nrf51_errata_1(void) __UNUSED;
C:\Users\myname\AppData\Local\Arm\Packs\NordicSemiconductor\nRF_DeviceFamilyPack\8.32.1\Device\Include\nrf51_erratas.h(120): warning: #12-D: parsing restarts here after previous syntax error
{

RTE\Device\nRF51822_xxAA\system_nrf51.c: 4 warnings, 4 errors
compiling app_gpiote.c...
".\_build\ble_app_template.axf" - 4 Error(s), 4 Warning(s).

* there are 4 same err in anither files 

---------------------------------------------

<Hardware> BVMCN5103-BK KIT PLUS(nRF51822 + JLink Lite)

  starter kit

<SOFTWARE> installed bellow:

MDK 529 (http://www2.keil.com/mdk5/)
J-Link Software and Documentation pack(https://www.segger.com/downloads/jlink#J-LinkSoftwareAndDocumentationPack) => check "Keil MDK V5.XX"
nrfgo_sdk_2.3.0_setup.exe => check "Keil uVision header files"
nrfgostudio_win-64_1.21.2_installer.msi => with nRF5x-Command-Line-Tools

Got S110 from https://www.nordicsemi.com/Software-and-tools/Software/S110/Download#infotabs
Burn it to target via nRFgo

  Succeed

Download "nrf51_sdk_v6_1_0_b2ec2e6.zip" from https://developer.nordicsemi.com/nRF5_SDK/nRF51_SDK_v6.x.x/   and unzip.

So many information, pls tell me if you need more info.

Thank you and regards,

Parents Reply Children
No Data
Related