Post Go back to editing

Unable to run AD5940 Examples with Keil and Arm Compiler v5.06

Category: Software
Product Number: ADuCM3029

Hi,

I am currently working with an EVAL-ADICUP3029 Evaluation Board and have been running into many issues with compiling the code on Keil MDK-Lite version (32kB size limit), even after having installed and configured the compiler. I am specifically working with the AD5940_BIOZ-2Wire and AD5940_BIA examples, and am unable to compile either. 

I am not sure what is causing these issues and would appreciate any support.

I am more than happy to provide further information! (I provided some examples of errors and installed pack versions below.)

Here are some examples of the types of errors I am running into: 

..\ad5940.c(55): error:  #20: identifier "BoolFlag" is undefined
  static BoolFlag bIsS2silicon = bFALSE;
..\ad5940.c(55): error:  #20: identifier "bFALSE" is undefined
  static BoolFlag bIsS2silicon = bFALSE;

..\BIOZ-2Wire.c(162): error:  #20: identifier "AD5940ERR_OK" is undefined
    AD5940Err error = AD5940ERR_OK;
..\BIOZ-2Wire.c(273): error:  #20: identifier "AD5940Err" is undefined
  static AD5940Err AppBIOZSeqMeasureGen(void)

I cannot identify what library or file may be missing, or if this is an issue that requires further configuration of the compiler or project settings. 

Specifically with the example file I also run into these errors as well:

RTE\Device\ADuCM3029\startup_ADuCM3029.s(68): error: A1163E: Unknown opcode MODULE , expecting opcode or Macro
RTE\Device\ADuCM3029\startup_ADuCM3029.s(71): error: A1163E: Unknown opcode SECTION , expecting opcode or Macro
RTE\Device\ADuCM3029\startup_ADuCM3029.s(73): error: A1163E: Unknown opcode SECTION , expecting opcode or Macro
RTE\Device\ADuCM3029\startup_ADuCM3029.s(77): error: A1163E: Unknown opcode PUBLIC , expecting opcode or Macro
RTE\Device\ADuCM3029\startup_ADuCM3029.s(78): error: A1163E: Unknown opcode PUBLIC , expecting opcode or Macro
RTE\Device\ADuCM3029\startup_ADuCM3029.s(79): error: A1163E: Unknown opcode PUBLIC , expecting opcode or Macro
RTE\Device\ADuCM3029\startup_ADuCM3029.s(80): error: A1163E: Unknown opcode PUBLIC , expecting opcode or Macro
RTE\Device\ADuCM3029\startup_ADuCM3029.s(81): error: A1163E: Unknown opcode PUBLIC , expecting opcode or Macro
RTE\Device\ADuCM3029\startup_ADuCM3029.s(83): error: A1159E: Label missing from line start
RTE\Device\ADuCM3029\startup_ADuCM3029.s(85): error: A1355U: A Label was found which was in no AREA

I have attached below images of the packs I have installed if this is helpful: