Hello, I am using external interrupt from an ADXL345 . Can you tell me how to detect that external interrupt with the nRF51 ?
Hello, I am using external interrupt from an ADXL345 . Can you tell me how to detect that external interrupt with the nRF51 ?
*** Using Compiler 'V5.06 update 1 (build 61)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin' Rebuild target 'nrf51422_xxac' compiling main.c... ....\main.c(22): error: #5: cannot open source input file "app_util_platform.h": No such file or directory #include "app_util_platform.h" ....\main.c: 0 warnings, 1 error compiling app_util_platform.c... compiling nrf_drv_gpiote.c... ............\components\drivers_nrf\gpiote\nrf_drv_gpiote.h(26): error: #5: cannot open source input file "nrf_gpiote.h": No such file or directory #include "nrf_gpiote.h" ............\components\drivers_nrf\gpiote\nrf_drv_gpiote.c: 0 warnings, 1 error compiling app_error.c... ............\components\libraries\util\app_error.h(27): error: #5: cannot open source input file "nrf_error.h": No such file or directory #include "nrf_error.h" ............\components\libraries\util\app_error.c: 0 warnings, 1 error compiling nrf_assert.c... assembling arm_startup_nrf51.s... compiling nrf_drv_common.c... compiling system_nrf51.c... "._build\nrf51422_xxac.axf" - 3 Error(s), 0 Warning(s). Target not created. Build Time Elapsed: 00:00:03
You have to extract the folder(toggle_led_fixed) to /examples/peripheral or change the include paths so that it matches the location of the SDK on your computer.
i have done already
Well, then you have to edit the include paths so that they match your system. Options for Target -> C/C++-> Include Paths. The files are located in /components.,
see all header files are in library