AnsweredAssumed Answered

ADUCM3029 FreeRTOS demo using Keil

Question asked by Messaoud on Feb 18, 2018
Latest reply on Feb 26, 2018 by SebastienB
Dear all,
I'm trying to compile the ADUCM3029 FreeRTOS demo using Keil however during the compilation an error mentioning the absence of a header file: cpu.h
Can you help me to fix this and finalize the first compilation.

This is my build output
*** Using Compiler 'V5.06 update 5 (build 528)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'Release'
compiling BlockQ.c...
compiling death.c...
compiling ParTest.c...
compiling main.c...
src\main.c(235): warning:  #223-D: function "test_Init" declared implicitly
      test_Init();
src\main.c: 1 warning, 0 errors
compiling PollQ.c...
compiling recmutex.c...
compiling flash.c...
compiling StaticAllocation.c...
compiling list.c...
compiling timers.c...
compiling heap_4.c...
compiling queue.c...
compiling tasks.c...
compiling event_groups.c...
compiling common.c...
compiling port.c...
compiling adi_gpio.c...
C:\Keil_v5\ARM\PACK\AnalogDevices\ADuCM302x_DFP\2.0.0\Include\rtos_map/adi_rtos_map_ucos_iii.h(53): error:  #5: cannot open source input file "cpu.h": No such file or directory
  #include <cpu.h>
C:\Keil_v5\ARM\PACK\AnalogDevices\ADuCM302x_DFP\2.0.0\Source\drivers\gpio\adi_gpio.c: 0 warnings, 1 error
compiling adi_dma.c...
C:\Keil_v5\ARM\PACK\AnalogDevices\ADuCM302x_DFP\2.0.0\Include\rtos_map/adi_rtos_map_ucos_iii.h(53): error:  #5: cannot open source input file "cpu.h": No such file or directory
  #include <cpu.h>
C:\Keil_v5\ARM\PACK\AnalogDevices\ADuCM302x_DFP\2.0.0\Source\drivers\dma\adi_dma.c: 0 warnings, 1 error
compiling adi_pwr.c...
C:\Keil_v5\ARM\PACK\AnalogDevices\ADuCM302x_DFP\2.0.0\Include\rtos_map/adi_rtos_map_ucos_iii.h(53): error:  #5: cannot open source input file "cpu.h": No such file or directory
  #include <cpu.h>
C:\Keil_v5\ARM\PACK\AnalogDevices\ADuCM302x_DFP\2.0.0\Source\drivers\pwr\adi_pwr.c: 0 warnings, 1 error
compiling adi_uart.c...
C:\Keil_v5\ARM\PACK\AnalogDevices\ADuCM302x_DFP\2.0.0\Include\rtos_map/adi_rtos_map_ucos_iii.h(53): error:  #5: cannot open source input file "cpu.h": No such file or directory
  #include <cpu.h>
C:\Keil_v5\ARM\PACK\AnalogDevices\ADuCM302x_DFP\2.0.0\Source\drivers\uart\adi_uart.c: 0 warnings, 1 error
compiling system_ADuCM3029.c...
C:\Keil_v5\ARM\PACK\AnalogDevices\ADuCM302x_DFP\2.0.0\Include\rtos_map/adi_rtos_map_ucos_iii.h(53): error:  #5: cannot open source input file "cpu.h": No such file or directory
  #include <cpu.h>
RTE\Device\ADuCM3029\system_ADuCM3029.c: 0 warnings, 1 error
compiling adi_wdt.c...
C:\Keil_v5\ARM\PACK\AnalogDevices\ADuCM302x_DFP\2.0.0\Include\rtos_map/adi_rtos_map_ucos_iii.h(53): error:  #5: cannot open source input file "cpu.h": No such file or directory
  #include <cpu.h>
C:\Keil_v5\ARM\PACK\AnalogDevices\ADuCM302x_DFP\2.0.0\Source\drivers\wdt\adi_wdt.c: 0 warnings, 1 error
".\Objects\RTOSDemo.axf" - 6 Error(s), 1 Warning(s).
Target not created.
Build Time Elapsed:  00:00:07

 

Best regards,
Mohamed Amin MESSAOUD
Embedded developer at Innovative Partner

Outcomes