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

SD card in BLE example undefined reference to `app_sdc_busy_check'

in SDK14 I'm trying to add an SD card into the BLE central example.

The SD Card example compiles and runs OK. Problem happens when I combine that code into ble_app_uart_c. I'm using s132.

Everything compiles OK but on linking I get undefined reference to `app_sdc_busy_check' (and other endpoints within components/libraries/block_dev/sdc/nrf_block_dev_sdc.c

nrf_block_dev_sdc.c is getting compiled. I can't find the reason for these endpoints to be undefined.

Presumably a config issue of some kind?

Any suggestions pls?

Parents
  • Thx @Jorgen. That's very helpful. I had not copied that part of the config. After fixing a couple of more obvious references it builds ok. Sadly it does not yet run as there is some kind of clash between the BLE code and that of the SD Card. Trying to track this down...

    In my example I want to get initial data from the SD Card after which I don't need it till the next reset. At the moment the SD Card code only runs if you prevent other code from running.

    	fatfs_init();  // read initial data from SD Card
    	while (true)
      {
          __WFE();
      }
    

    without the above infinite loop the SD Card code does not run. I'm trying to find out why not.

Reply
  • Thx @Jorgen. That's very helpful. I had not copied that part of the config. After fixing a couple of more obvious references it builds ok. Sadly it does not yet run as there is some kind of clash between the BLE code and that of the SD Card. Trying to track this down...

    In my example I want to get initial data from the SD Card after which I don't need it till the next reset. At the moment the SD Card code only runs if you prevent other code from running.

    	fatfs_init();  // read initial data from SD Card
    	while (true)
      {
          __WFE();
      }
    

    without the above infinite loop the SD Card code does not run. I'm trying to find out why not.

Children
No Data
Related