Hello I'm trying to implement the DFU Trigger library into my project. to get following function:
" When the trigger library is added to an application, it allows a connected USB host to remotely tell the app to reboot into the bootloader to allow it to be updated via DFU. When asked to enter bootloader mode, it pulls its own reset pin using the GPIO pin BSP_SELF_PINRESET_PIN
(by default, only available on PCA10059). As a consequence, the library requires the following:
- a GPIO pin connected to the RESET pin which is true for the PCA10059 dongle,
- a bootloader that enters DFU mode on pin reset. "
I want to load Firmware updates to the Dongle without pressing the reset button.
In the main.c I've addded following code, I wasn't sure if i had to add some defines in the sdk_config.h:
/workspaces/./third_party/NordicSemiconductor/components/libraries/usb/nrf_dfu_trigger_usb.c:221: undefined reference to `app_usbd_class_append'
/opt/gcc-arm-none-eabi-9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld: build/nrf_dfu_trigger_usb.c.o:(.rodata.m_app_dfu+0x4): undefined reference to `app_usbd_nrf_dfu_trigger_class_methods'
/opt/gcc-arm-none-eabi-9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld: build/main.c.o: in function `main':
/./app/main.c:174: undefined reference to `app_usbd_init'
collect2: error: ld returned 1 exit status
Makefile:360: recipe for target 'build' failed
make: *** [build] Error 1
I've added following librarys to my makefile: