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

HIDS Bluetooth Mouse Sample

I'm currently trying to build and run the bluetooth mouse sample code on my nRF9160 DK, but I'm ecountering problems during the build process.

Shortly after hitting the build button, I get hit with an error in a settings_init.c file

it tells me that this has not been declared and won't let the build complete

I am running what I believe are the correct build options

I'm wondering if this is just a warning that is being registered as an error, but am unsure how to proceed.

I'm running windows 10

Parents
  • This error only shows up if you use the partition manager. If you choose the board nrf9160_pca10090 instead of nrf9160_pca10090ns you won't get this errorFor some reason, the defintion PM_MCUBOOT_STORAGE_ID is not generated inside <..>\ncs\nrf\samples\bluetooth\peripheral_hids_mouse\build_nrf9160_pca10090ns\spm\zephyr\include\generated\pm_config.h. I am not sure why this is, but I can look into it if you would like to.

    Best regards,

    Simon

  • Additionally, when trying to do the Keyboard sample the exact same thing happens. When built as ns it has the same error in the same file. When built as a secure app it builds and loads just fine, but still can't connect and also get err-19 in addition to LEDs 1-4 all being constantly lit up.

Reply Children
Related