This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

i have alot of error with keil 5.06 can anyone help me

*** Using Compiler 'V5.06 update 5 (build 528)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'nrf51422_xxac'
compiling main.c...
..\..\..\..\..\..\components\drivers_nrf\hal\nrf_gpio.h(67): error:  #35: #error directive: "Not supported."
  #error "Not supported."
..\..\..\main.c: 0 warnings, 1 error
compiling boards.c...
..\..\..\..\..\..\components\drivers_nrf\hal\nrf_gpio.h(67): error:  #35: #error directive: "Not supported."
  #error "Not supported."
..\..\..\..\..\..\components\boards\boards.c: 0 warnings, 1 error
compiling nrf_drv_clock.c...
..\..\..\..\..\..\components\drivers_nrf\clock\nrf_drv_clock.c(47): error:  #5: cannot open source input file "softdevice_handler.h": No such file or directory
  #include "softdevice_handler.h"
..\..\..\..\..\..\components\drivers_nrf\clock\nrf_drv_clock.c: 0 warnings, 1 error
compiling nrf_drv_common.c...
compiling nrf_drv_uart.c...
..\..\..\..\..\..\components\drivers_nrf\uart\nrf_drv_uart.h(124): error:  #169: expected a declaration
      } reg;
..\..\..\..\..\..\components\drivers_nrf\uart\nrf_drv_uart.h(411): warning:  #223-D: function "nrf_uarte_task_address_get" declared implicitly
      return nrf_uarte_task_address_get(p_instance->reg.p_uarte, (nrf_uarte_task_t)task);
..\..\..\..\..\..\components\drivers_nrf\uart\nrf_drv_uart.h(411): error:  #136: union "<unnamed>"  has no field "p_uarte"
      return nrf_uarte_task_address_get(p_instance->reg.p_uarte, (nrf_uarte_task_t)task);
..\..\..\..\..\..\components\drivers_nrf\uart\nrf_drv_uart.h(411): error:  #20: identifier "nrf_uarte_task_t" is undefined
      return nrf_uarte_task_address_get(p_instance->reg.p_uarte, (nrf_uarte_task_t)task);
..\..\..\..\..\..\components\drivers_nrf\uart\nrf_drv_uart.h(411): error:  #18: expected a ")"
      return nrf_uarte_task_address_get(p_instance->reg.p_uarte, (nrf_uarte_task_t)task);
..\..\..\..\..\..\components\drivers_nrf\uart\nrf_drv_uart.h(421): warning:  #223-D: function "nrf_uarte_event_address_get" declared implicitly
      return nrf_uarte_event_address_get(p_instance->reg.p_uarte, (nrf_uarte_event_t)event);
..\..\..\..\..\..\components\drivers_nrf\uart\nrf_drv_uart.h(421): error:  #136: union "<unnamed>"  has no field "p_uarte"
      return nrf_uarte_event_address_get(p_instance->reg.p_uarte, (nrf_uarte_event_t)event);
..\..\..\..\..\..\components\drivers_nrf\uart\nrf_drv_uart.h(421): error:  #20: identifier "nrf_uarte_event_t" is undefined
      return nrf_uarte_event_address_get(p_instance->reg.p_uarte, (nrf_uarte_event_t)event);
..\..\..\..\..\..\components\drivers_nrf\uart\nrf_drv_uart.h(421): error:  #18: expected a ")"
      return nrf_uarte_event_address_get(p_instance->reg.p_uarte, (nrf_uarte_event_t)event);
..\..\..\..\..\..\components\drivers_nrf\hal\nrf_gpio.h(67): error:  #35: #error directive: "Not supported."
  #error "Not supported."
..\..\..\..\..\..\components\drivers_nrf\uart\nrf_drv_uart.c: 2 warnings, 8 errors
compiling nrf_nvic.c...
compiling nrf_soc.c...
compiling app_error.c...
compiling app_error_weak.c...
compiling app_timer.c...
compiling app_util_platform.c...
..\..\..\..\..\..\components\libraries\util\app_util_platform.c(45): error:  #20: identifier "nrf_nvic_state_t" is undefined
  nrf_nvic_state_t nrf_nvic_state;
..\..\..\..\..\..\components\libraries\util\app_util_platform.c(73): warning:  #223-D: function "sd_nvic_critical_region_enter" declared implicitly
      (void) sd_nvic_critical_region_enter(p_nested);
..\..\..\..\..\..\components\libraries\util\app_util_platform.c(87): warning:  #223-D: function "sd_nvic_critical_region_exit" declared implicitly
      (void) sd_nvic_critical_region_exit(nested);
..\..\..\..\..\..\components\libraries\util\app_util_platform.c: 2 warnings, 1 error
compiling hardfault_implementation.c...
compiling nrf_assert.c...
compiling sdk_errors.c...
compiling nrf_log_backend_serial.c...
compiling nrf_log_frontend.c...
compiling RTT_Syscalls_KEIL.c...
compiling SEGGER_RTT.c...
compiling SEGGER_RTT_printf.c...
compiling system_nrf51.c...
".\_build\nrf51422_xxac.axf" - 12 Error(s), 4 Warning(s).
Target not created.
Build Time Elapsed:  00:00:17
Parents Reply Children
No Data
Related