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

error: undefined reference to `nrfx_gpiote_init'

Setup:

SEGGER Embedded Studio for ARM (nordic Edition V4.18 (64 bit)

GCC

Windows 7 Professional

SDK: nRF5_SDK_15.3.0_59ac345

Issue:

In order to use the GPIO's for interrupts, i have been trying to initiate the GPIOs using the GPIOTE library, it turns out this isn't as easy as i thought..

When bulding the project i keep getting the same error: undefined reference to `nrfx_gpiote_init' , despite trying everything i can think of.

I've made sure to:

  • set 'NRFX_GPIOTE_ENABLED 1' in sdk_config.h
  • set 'GPIOTE_ENABLED 1' in sdk_config.h
  • add the entire SDK to: Code > Preprocessor > User Include Directories 

without any luck. I do however wonder whether both are neccesary since im not using legacy as far as i understand.

The code generating the error in question is:

define BOARD_PCA10056
#include <stdbool.h>
#include "nrfx_gpiote.h"
#include "app_error.h"


int main(void) {
  ret_code_t err_code;
  err_code =  nrfx_gpiote_init();

  return 0;
  }


Transcript:

The entire output transcript (the apparent error is marked in yellow):

Building ‘interrupt_test’ from solution ‘interrupt_test’ in configuration ‘Debug’
Output/interrupt_test Debug/Obj/system_nrf52840.o does not exist.
Compiling ‘system_nrf52840.c’
C:/work_ble/install_files/arm_segger_embedded_studio_v418_win_x64_nordic/gcc/arm-none-eabi/bin/cc1 -fmessage-length=0 -fno-diagnostics-show-caret -mcpu=cortex-m4 -mlittle-endian -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mthumb -mtp=soft -munaligned-access -nostdinc -isystemC:/work_ble/install_files/arm_segger_embedded_studio_v418_win_x64_nordic/include "-isystemC:/Users/rabbas/Nordic/SEGGER Embedded Studio/v3/packages/include" "-IC:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/CMSIS_4/CMSIS/Include" "-IC:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/nRF/Device/Include" -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/config -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/boards -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/drivers_nrf/nrf_soc_nosd -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/atomic -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/balloc -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/bsp -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/button -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/delay -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/experimental_section_vars -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/log -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/log/src -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/memobj -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/ringbuf -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/scheduler -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/strerror -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/timer -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/util -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/toolchain/cmsis/include -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/external/fprintf -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/external/segger_rtt -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/integration/nrfx -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/integration/nrfx/legacy -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/toolchain/cmsis/include -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/delay -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/modules/nrfx/drivers/src -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/modules/nrfx -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/modules/nrfx/drivers/include -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/modules/nrfx/hal -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/modules/nrfx/mdk -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/config/nrf52840/config -D__SIZEOF_WCHAR_T=4 -D__ARM_ARCH_7EM__ -D__SES_ARM -D__ARM_ARCH_FPV4_SP_D16__ -D__HEAP_SIZE__=1024 -D__SES_VERSION=41800 -D__GNU_LINKER -DDEBUG -DNRF52840_XXAA -D__nRF_FAMILY -DARM_MATH_CM4 -DFLASH_PLACEMENT=1 -MD "C:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/Output/interrupt_test Debug/Obj/system_nrf52840.d" -MQ "Output/interrupt_test Debug/Obj/system_nrf52840.o" -quiet -std=gnu99 -g3 -gpubnames -fomit-frame-pointer -fno-dwarf2-cfi-asm -fno-builtin -ffunction-sections -fdata-sections -mtext=.init -mrodata=.init_rodata -fshort-enums -fno-common "C:\Users\rabbas\Documents\SEGGER Embedded Studio for ARM Projects\interrupt_test\nRF\Device\Source\system_nrf52840.c" -o "C:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/Output/interrupt_test Debug/Obj/system_nrf52840.asm"
C:/work_ble/install_files/arm_segger_embedded_studio_v418_win_x64_nordic/gcc/arm-none-eabi/bin/as --traditional-format -mcpu=cortex-m4 -mlittle-endian -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mthumb "C:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/Output/interrupt_test Debug/Obj/system_nrf52840.asm" -o "Output/interrupt_test Debug/Obj/system_nrf52840.o"
rm "C:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/Output/interrupt_test Debug/Obj/system_nrf52840.asm"
Output/interrupt_test Debug/Obj/SEGGER_RTT.o does not exist.
Compiling ‘SEGGER_RTT.c’
C:/work_ble/install_files/arm_segger_embedded_studio_v418_win_x64_nordic/gcc/arm-none-eabi/bin/cc1 -fmessage-length=0 -fno-diagnostics-show-caret -mcpu=cortex-m4 -mlittle-endian -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mthumb -mtp=soft -munaligned-access -nostdinc -isystemC:/work_ble/install_files/arm_segger_embedded_studio_v418_win_x64_nordic/include "-isystemC:/Users/rabbas/Nordic/SEGGER Embedded Studio/v3/packages/include" "-IC:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/CMSIS_4/CMSIS/Include" "-IC:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/nRF/Device/Include" -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/config -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/boards -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/drivers_nrf/nrf_soc_nosd -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/atomic -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/balloc -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/bsp -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/button -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/delay -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/experimental_section_vars -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/log -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/log/src -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/memobj -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/ringbuf -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/scheduler -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/strerror -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/timer -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/util -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/toolchain/cmsis/include -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/external/fprintf -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/external/segger_rtt -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/integration/nrfx -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/integration/nrfx/legacy -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/toolchain/cmsis/include -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/delay -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/modules/nrfx/drivers/src -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/modules/nrfx -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/modules/nrfx/drivers/include -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/modules/nrfx/hal -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/modules/nrfx/mdk -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/config/nrf52840/config -D__SIZEOF_WCHAR_T=4 -D__ARM_ARCH_7EM__ -D__SES_ARM -D__ARM_ARCH_FPV4_SP_D16__ -D__HEAP_SIZE__=1024 -D__SES_VERSION=41800 -D__GNU_LINKER -DDEBUG -DNRF52840_XXAA -D__nRF_FAMILY -DARM_MATH_CM4 -DFLASH_PLACEMENT=1 -MD "C:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/Output/interrupt_test Debug/Obj/SEGGER_RTT.d" -MQ "Output/interrupt_test Debug/Obj/SEGGER_RTT.o" -quiet -std=gnu99 -g3 -gpubnames -fomit-frame-pointer -fno-dwarf2-cfi-asm -fno-builtin -ffunction-sections -fdata-sections -fshort-enums -fno-common "C:\Users\rabbas\Documents\SEGGER Embedded Studio for ARM Projects\interrupt_test\SEGGER_RTT.c" -o "C:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/Output/interrupt_test Debug/Obj/SEGGER_RTT.asm"
C:/work_ble/install_files/arm_segger_embedded_studio_v418_win_x64_nordic/gcc/arm-none-eabi/bin/as --traditional-format -mcpu=cortex-m4 -mlittle-endian -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mthumb "C:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/Output/interrupt_test Debug/Obj/SEGGER_RTT.asm" -o "Output/interrupt_test Debug/Obj/SEGGER_RTT.o"
rm "C:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/Output/interrupt_test Debug/Obj/SEGGER_RTT.asm"
Output/interrupt_test Debug/Obj/SEGGER_RTT_SES.o does not exist.
Compiling ‘SEGGER_RTT_SES.c’
C:/work_ble/install_files/arm_segger_embedded_studio_v418_win_x64_nordic/gcc/arm-none-eabi/bin/cc1 -fmessage-length=0 -fno-diagnostics-show-caret -mcpu=cortex-m4 -mlittle-endian -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mthumb -mtp=soft -munaligned-access -nostdinc -isystemC:/work_ble/install_files/arm_segger_embedded_studio_v418_win_x64_nordic/include "-isystemC:/Users/rabbas/Nordic/SEGGER Embedded Studio/v3/packages/include" "-IC:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/CMSIS_4/CMSIS/Include" "-IC:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/nRF/Device/Include" -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/config -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/boards -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/drivers_nrf/nrf_soc_nosd -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/atomic -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/balloc -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/bsp -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/button -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/delay -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/experimental_section_vars -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/log -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/log/src -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/memobj -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/ringbuf -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/scheduler -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/strerror -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/timer -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/util -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/toolchain/cmsis/include -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/external/fprintf -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/external/segger_rtt -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/integration/nrfx -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/integration/nrfx/legacy -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/toolchain/cmsis/include -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/delay -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/modules/nrfx/drivers/src -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/modules/nrfx -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/modules/nrfx/drivers/include -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/modules/nrfx/hal -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/modules/nrfx/mdk -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/config/nrf52840/config -D__SIZEOF_WCHAR_T=4 -D__ARM_ARCH_7EM__ -D__SES_ARM -D__ARM_ARCH_FPV4_SP_D16__ -D__HEAP_SIZE__=1024 -D__SES_VERSION=41800 -D__GNU_LINKER -DDEBUG -DNRF52840_XXAA -D__nRF_FAMILY -DARM_MATH_CM4 -DFLASH_PLACEMENT=1 -MD "C:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/Output/interrupt_test Debug/Obj/SEGGER_RTT_SES.d" -MQ "Output/interrupt_test Debug/Obj/SEGGER_RTT_SES.o" -quiet -std=gnu99 -g3 -gpubnames -fomit-frame-pointer -fno-dwarf2-cfi-asm -fno-builtin -ffunction-sections -fdata-sections -fshort-enums -fno-common "C:\Users\rabbas\Documents\SEGGER Embedded Studio for ARM Projects\interrupt_test\SEGGER_RTT_SES.c" -o "C:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/Output/interrupt_test Debug/Obj/SEGGER_RTT_SES.asm"
C:/work_ble/install_files/arm_segger_embedded_studio_v418_win_x64_nordic/gcc/arm-none-eabi/bin/as --traditional-format -mcpu=cortex-m4 -mlittle-endian -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mthumb "C:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/Output/interrupt_test Debug/Obj/SEGGER_RTT_SES.asm" -o "Output/interrupt_test Debug/Obj/SEGGER_RTT_SES.o"
rm "C:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/Output/interrupt_test Debug/Obj/SEGGER_RTT_SES.asm"
Output/interrupt_test Debug/Obj/main.o does not exist.
Compiling ‘main.c’
C:/work_ble/install_files/arm_segger_embedded_studio_v418_win_x64_nordic/gcc/arm-none-eabi/bin/cc1 -fmessage-length=0 -fno-diagnostics-show-caret -mcpu=cortex-m4 -mlittle-endian -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mthumb -mtp=soft -munaligned-access -nostdinc -isystemC:/work_ble/install_files/arm_segger_embedded_studio_v418_win_x64_nordic/include "-isystemC:/Users/rabbas/Nordic/SEGGER Embedded Studio/v3/packages/include" "-IC:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/CMSIS_4/CMSIS/Include" "-IC:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/nRF/Device/Include" -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/config -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/boards -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/drivers_nrf/nrf_soc_nosd -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/atomic -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/balloc -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/bsp -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/button -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/delay -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/experimental_section_vars -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/log -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/log/src -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/memobj -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/ringbuf -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/scheduler -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/strerror -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/timer -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/util -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/toolchain/cmsis/include -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/external/fprintf -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/external/segger_rtt -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/integration/nrfx -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/integration/nrfx/legacy -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/toolchain/cmsis/include -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/delay -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/modules/nrfx/drivers/src -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/modules/nrfx -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/modules/nrfx/drivers/include -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/modules/nrfx/hal -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/modules/nrfx/mdk -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/config/nrf52840/config -D__SIZEOF_WCHAR_T=4 -D__ARM_ARCH_7EM__ -D__SES_ARM -D__ARM_ARCH_FPV4_SP_D16__ -D__HEAP_SIZE__=1024 -D__SES_VERSION=41800 -D__GNU_LINKER -DDEBUG -DNRF52840_XXAA -D__nRF_FAMILY -DARM_MATH_CM4 -DFLASH_PLACEMENT=1 -MD "C:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/Output/interrupt_test Debug/Obj/main.d" -MQ "Output/interrupt_test Debug/Obj/main.o" -quiet -std=gnu99 -g3 -gpubnames -fomit-frame-pointer -fno-dwarf2-cfi-asm -fno-builtin -ffunction-sections -fdata-sections -fshort-enums -fno-common "C:\Users\rabbas\Documents\SEGGER Embedded Studio for ARM Projects\interrupt_test\main.c" -o "C:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/Output/interrupt_test Debug/Obj/main.asm"
C:/work_ble/install_files/arm_segger_embedded_studio_v418_win_x64_nordic/gcc/arm-none-eabi/bin/as --traditional-format -mcpu=cortex-m4 -mlittle-endian -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mthumb "C:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/Output/interrupt_test Debug/Obj/main.asm" -o "Output/interrupt_test Debug/Obj/main.o"
rm "C:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/Output/interrupt_test Debug/Obj/main.asm"
Output/interrupt_test Debug/Obj/thumb_crt0.o does not exist.
Assembling ‘thumb_crt0.s’
C:/work_ble/install_files/arm_segger_embedded_studio_v418_win_x64_nordic/gcc/arm-none-eabi/bin/cc1 -fmessage-length=0 -fno-diagnostics-show-caret -E -mcpu=cortex-m4 -mlittle-endian -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mthumb -nostdinc -isystemC:/work_ble/install_files/arm_segger_embedded_studio_v418_win_x64_nordic/include "-isystemC:/Users/rabbas/Nordic/SEGGER Embedded Studio/v3/packages/include" "-IC:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/CMSIS_4/CMSIS/Include" "-IC:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/nRF/Device/Include" -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/config -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/boards -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/drivers_nrf/nrf_soc_nosd -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/atomic -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/balloc -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/bsp -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/button -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/delay -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/experimental_section_vars -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/log -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/log/src -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/memobj -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/ringbuf -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/scheduler -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/strerror -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/timer -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/util -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/toolchain/cmsis/include -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/external/fprintf -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/external/segger_rtt -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/integration/nrfx -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/integration/nrfx/legacy -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/toolchain/cmsis/include -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/delay -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/modules/nrfx/drivers/src -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/modules/nrfx -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/modules/nrfx/drivers/include -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/modules/nrfx/hal -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/modules/nrfx/mdk -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/config/nrf52840/config -D__SIZEOF_WCHAR_T=4 -D__ARM_ARCH_7EM__ -D__SES_ARM -D__ARM_ARCH_FPV4_SP_D16__ -D__HEAP_SIZE__=1024 -D__SES_VERSION=41800 -D__GNU_LINKER -DDEBUG -DNRF52840_XXAA -D__nRF_FAMILY -DARM_MATH_CM4 -DFLASH_PLACEMENT=1 -MD "C:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/Output/interrupt_test Debug/Obj/thumb_crt0.d" -MQ "Output/interrupt_test Debug/Obj/thumb_crt0.o" -quiet -lang-asm "C:\Users\rabbas\Documents\SEGGER Embedded Studio for ARM Projects\interrupt_test\thumb_crt0.s" -o "C:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/Output/interrupt_test Debug/Obj/thumb_crt0_PP.s"
C:/work_ble/install_files/arm_segger_embedded_studio_v418_win_x64_nordic/gcc/arm-none-eabi/bin/as --traditional-format -mcpu=cortex-m4 -mlittle-endian -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mthumb "C:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/Output/interrupt_test Debug/Obj/thumb_crt0_PP.s" -o "Output/interrupt_test Debug/Obj/thumb_crt0.o" -g -gdwarf-4
rm "C:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/Output/interrupt_test Debug/Obj/thumb_crt0_PP.s"
Output/interrupt_test Debug/Obj/ses_startup_nrf_common.o does not exist.
Assembling ‘ses_startup_nrf_common.s’
C:/work_ble/install_files/arm_segger_embedded_studio_v418_win_x64_nordic/gcc/arm-none-eabi/bin/cc1 -fmessage-length=0 -fno-diagnostics-show-caret -E -mcpu=cortex-m4 -mlittle-endian -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mthumb -nostdinc -isystemC:/work_ble/install_files/arm_segger_embedded_studio_v418_win_x64_nordic/include "-isystemC:/Users/rabbas/Nordic/SEGGER Embedded Studio/v3/packages/include" "-IC:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/CMSIS_4/CMSIS/Include" "-IC:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/nRF/Device/Include" -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/config -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/boards -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/drivers_nrf/nrf_soc_nosd -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/atomic -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/balloc -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/bsp -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/button -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/delay -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/experimental_section_vars -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/log -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/log/src -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/memobj -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/ringbuf -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/scheduler -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/strerror -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/timer -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/util -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/toolchain/cmsis/include -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/external/fprintf -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/external/segger_rtt -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/integration/nrfx -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/integration/nrfx/legacy -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/toolchain/cmsis/include -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/delay -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/modules/nrfx/drivers/src -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/modules/nrfx -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/modules/nrfx/drivers/include -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/modules/nrfx/hal -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/modules/nrfx/mdk -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/config/nrf52840/config -D__SIZEOF_WCHAR_T=4 -D__ARM_ARCH_7EM__ -D__SES_ARM -D__ARM_ARCH_FPV4_SP_D16__ -D__HEAP_SIZE__=1024 -D__SES_VERSION=41800 -D__GNU_LINKER -DDEBUG -DNRF52840_XXAA -D__nRF_FAMILY -DARM_MATH_CM4 -DFLASH_PLACEMENT=1 -MD "C:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/Output/interrupt_test Debug/Obj/ses_startup_nrf_common.d" -MQ "Output/interrupt_test Debug/Obj/ses_startup_nrf_common.o" -quiet -lang-asm "C:\Users\rabbas\Documents\SEGGER Embedded Studio for ARM Projects\interrupt_test\nRF\Device\Startup\ses_startup_nrf_common.s" -o "C:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/Output/interrupt_test Debug/Obj/ses_startup_nrf_common_PP.s"
C:/work_ble/install_files/arm_segger_embedded_studio_v418_win_x64_nordic/gcc/arm-none-eabi/bin/as --traditional-format -mcpu=cortex-m4 -mlittle-endian -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mthumb "C:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/Output/interrupt_test Debug/Obj/ses_startup_nrf_common_PP.s" -o "Output/interrupt_test Debug/Obj/ses_startup_nrf_common.o" -g -gdwarf-4
rm "C:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/Output/interrupt_test Debug/Obj/ses_startup_nrf_common_PP.s"
Output/interrupt_test Debug/Obj/ses_startup_nrf52840.o does not exist.
Assembling ‘ses_startup_nrf52840.s’
C:/work_ble/install_files/arm_segger_embedded_studio_v418_win_x64_nordic/gcc/arm-none-eabi/bin/cc1 -fmessage-length=0 -fno-diagnostics-show-caret -E -mcpu=cortex-m4 -mlittle-endian -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mthumb -nostdinc -isystemC:/work_ble/install_files/arm_segger_embedded_studio_v418_win_x64_nordic/include "-isystemC:/Users/rabbas/Nordic/SEGGER Embedded Studio/v3/packages/include" "-IC:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/CMSIS_4/CMSIS/Include" "-IC:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/nRF/Device/Include" -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/config -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/boards -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/drivers_nrf/nrf_soc_nosd -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/atomic -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/balloc -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/bsp -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/button -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/delay -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/experimental_section_vars -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/log -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/log/src -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/memobj -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/ringbuf -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/scheduler -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/strerror -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/timer -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/util -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/toolchain/cmsis/include -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/external/fprintf -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/external/segger_rtt -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/integration/nrfx -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/integration/nrfx/legacy -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/toolchain/cmsis/include -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/components/libraries/delay -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/modules/nrfx/drivers/src -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/modules/nrfx -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/modules/nrfx/drivers/include -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/modules/nrfx/hal -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/modules/nrfx/mdk -I../../../../../work_ble/SDK_unzipped/nRF5_SDK_15.3.0_59ac345/config/nrf52840/config -D__SIZEOF_WCHAR_T=4 -D__ARM_ARCH_7EM__ -D__SES_ARM -D__ARM_ARCH_FPV4_SP_D16__ -D__HEAP_SIZE__=1024 -D__SES_VERSION=41800 -D__GNU_LINKER -DDEBUG -DNRF52840_XXAA -D__nRF_FAMILY -DARM_MATH_CM4 -DFLASH_PLACEMENT=1 -MD "C:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/Output/interrupt_test Debug/Obj/ses_startup_nrf52840.d" -MQ "Output/interrupt_test Debug/Obj/ses_startup_nrf52840.o" -quiet -lang-asm "C:\Users\rabbas\Documents\SEGGER Embedded Studio for ARM Projects\interrupt_test\nRF\Device\Startup\ses_startup_nrf52840.s" -o "C:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/Output/interrupt_test Debug/Obj/ses_startup_nrf52840_PP.s"
C:/work_ble/install_files/arm_segger_embedded_studio_v418_win_x64_nordic/gcc/arm-none-eabi/bin/as --traditional-format -mcpu=cortex-m4 -mlittle-endian -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mthumb "C:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/Output/interrupt_test Debug/Obj/ses_startup_nrf52840_PP.s" -o "Output/interrupt_test Debug/Obj/ses_startup_nrf52840.o" -g -gdwarf-4
rm "C:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/Output/interrupt_test Debug/Obj/ses_startup_nrf52840_PP.s"
Output/Debug/Exe/interrupt_test.elf does not exist.
Generating linker script ‘interrupt_test.ld’
C:/work_ble/install_files/arm_segger_embedded_studio_v418_win_x64_nordic/bin/mkld -memory-map-file "C:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/nRF52840_xxAA_MemoryMap.xml" -section-placement-file "C:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/flash_placement.xml" -check-segment-overflow -symbols __STACKSIZE__=1024;__STACKSIZE_PROCESS__=0;__HEAPSIZE__=1024 "C:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/Output/interrupt_test Debug/Obj/interrupt_test.ld"
Linking interrupt_test.elf
C:/work_ble/install_files/arm_segger_embedded_studio_v418_win_x64_nordic/gcc/arm-none-eabi/bin/ld -X --omagic -eReset_Handler --defsym=__vfprintf=__vfprintf_int_nwp --defsym=__vfscanf=__vfscanf_int --fatal-warnings -EL --gc-sections "-TC:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/Output/interrupt_test Debug/Obj/interrupt_test.ld" -Map Output/Debug/Exe/interrupt_test.map -u_vectors -o Output/Debug/Exe/interrupt_test.elf --emit-relocs --start-group "@C:/Users/rabbas/Documents/SEGGER Embedded Studio for ARM Projects/interrupt_test/Output/interrupt_test Debug/Obj/interrupt_test.ind" --end-group
Output/interrupt_test Debug/Obj/main.o: in function `main':
undefined reference to `nrfx_gpiote_init'
Build failed

Parents Reply Children
No Data
Related