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

simple compile error on s110 v7 sdk v6 . why?

hi. i try to add compile my application by dfu . i add library's and include them.

#include "ble_dfu.h"
#include "dfu_app_handler.h"

image description

with this i click compile button and it give me this error

.\_build\bootloader.axf: Error: L6218E: Undefined symbol sd_softdevice_vector_table_base_set (referred from main.o).

i try some search on site and i found this

this link

but its not telling me how to fix it. it does not even compile. how to fix it?

Parents
  • in this nrf_sdm.h. there is no function with name of

    sd_softdevice_vector_table_base_set
    

    and it has this

    SVCALL(SD_SOFTDEVICE_ENABLE, uint32_t, sd_softdevice_enable(nrf_clock_lfclksrc_t clock_source, softdevice_assertion_handler_t assertion_handler));
    
    SVCALL(SD_SOFTDEVICE_DISABLE, uint32_t, sd_softdevice_disable(void));
    
    SVCALL(SD_SOFTDEVICE_IS_ENABLED, uint32_t, sd_softdevice_is_enabled(uint8_t * p_softdevice_enabled));
    
    SVCALL(SD_SOFTDEVICE_VECTOR_TAble_lbsE_SET, uint32_t, sd_softdevice_vector_table_lbse_set(uint32_t address));
    
Reply
  • in this nrf_sdm.h. there is no function with name of

    sd_softdevice_vector_table_base_set
    

    and it has this

    SVCALL(SD_SOFTDEVICE_ENABLE, uint32_t, sd_softdevice_enable(nrf_clock_lfclksrc_t clock_source, softdevice_assertion_handler_t assertion_handler));
    
    SVCALL(SD_SOFTDEVICE_DISABLE, uint32_t, sd_softdevice_disable(void));
    
    SVCALL(SD_SOFTDEVICE_IS_ENABLED, uint32_t, sd_softdevice_is_enabled(uint8_t * p_softdevice_enabled));
    
    SVCALL(SD_SOFTDEVICE_VECTOR_TAble_lbsE_SET, uint32_t, sd_softdevice_vector_table_lbse_set(uint32_t address));
    
Children
No Data
Related