Hi, I am working on a project where I need to add ble dfu as well as serial dfu issue I am getting on adding serial dfu to ble example I am getting error variables undeclared whereas on navigating it reads the variable file nrf_error.h
Hi, I am working on a project where I need to add ble dfu as well as serial dfu issue I am getting on adding serial dfu to ble example I am getting error variables undeclared whereas on navigating it reads the variable file nrf_error.h
Hi Ahtasham,
The compiler complained about undefined macro NRF_SUCCESS and so on. They are defined in nrf_error.h You may want to check if you have included the path to nrf_error.h. It's located in \components\softdevice\[your softdevice ]\headers
Hi Ahtasham,
The compiler complained about undefined macro NRF_SUCCESS and so on. They are defined in nrf_error.h You may want to check if you have included the path to nrf_error.h. It's located in \components\softdevice\[your softdevice ]\headers
I am actually trying to merge ble dfu with Serial DFU issue with after adding all files it gives an error for memory so I increase memory to 0x7000 and start address same as 0xF8000 I am not sure how to manage data memory address as according to this
the project bootloader already allotted 24kb memory
Start address 0xF8000
Size: 0x6000 - 24 Kb
If you increase the bootloader memory you would need to move the bootloader down in flash. So if you change the flash size to 0x7000 you would need to set the start address to 0xF7000 and so on (if size is 0x8000, then the start address should be 0xF6000). Othewise you will exceed the actual flash size of the chip.
I tried that but on change size to 0x7000 And start address to 0xF7000 it give me for some functions not defined like slip_encode
.\_build\nrf52840_xxaa_s140.axf: Error: L6218E: Undefined symbol slip_decode_add_byte (referred from nrf_dfu_serial_uart.o).
.\_build\nrf52840_xxaa_s140.axf: Error: L6218E: Undefined symbol slip_encode (referred from nrf_dfu_serial_uart.o).
Not enough information to list image symbols.
Finished: 1 information, 0 warning and 2 error messages.
".\_build\nrf52840_xxaa_s140.axf" - 2 Error(s), 0 Warning(s).
When you see an error, please try to understand it.
When it says "Undefined symbol" it means the symbol is not defined, and most likely the .h header file was not included.
Please check in the original example where it's defined.