nRF Connect SDK Project Start

Hi!

I am beginning development on my first BLE project using nRF Connect SDK in VSCode. I have done a few projects using the old nRF5 SDK. I am wondering what is the best way to start a new project, I have seen a couple of different methods from guides on github and from Nordic guides. So far I have completed nRF Connect SDK fundamentals I, and BLE fundamentals from the DevAcademy. The project is using off the shelf hardware that has the nRF52832, a button, and some LEDs. BLE will need to be used and the device will need OTA capabilities. Would it be best to start a project from scratch in the NRF CONNECT extension, or is there a specific example/template that would make the most sense to follow? Thanks!

Parents
  • Hi David

    Normally I would just recommend to start with a sample that do whatever is close to your application. Just because of the LED and the button I would maybe start with Peripheral LBS sample

    To add OTA to the sample you can add the following Kconfig options

    #Enable MCUBOOT bootloader build in the application
    CONFIG_BOOTLOADER_MCUBOOT=y
    #Include MCUMGR and the dependencies in the build
    CONFIG_NCS_SAMPLE_MCUMGR_BT_OTA_DFU=y
    CONFIG_BT_PERIPHERAL=y
    

    You can also read more about how to add DFU here

    Regards

    Runar

Reply
  • Hi David

    Normally I would just recommend to start with a sample that do whatever is close to your application. Just because of the LED and the button I would maybe start with Peripheral LBS sample

    To add OTA to the sample you can add the following Kconfig options

    #Enable MCUBOOT bootloader build in the application
    CONFIG_BOOTLOADER_MCUBOOT=y
    #Include MCUMGR and the dependencies in the build
    CONFIG_NCS_SAMPLE_MCUMGR_BT_OTA_DFU=y
    CONFIG_BT_PERIPHERAL=y
    

    You can also read more about how to add DFU here

    Regards

    Runar

Children
No Data
Related