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

nRF connect SDK vs nRF5 SDK

Hi,

 I am developing a project related to transferring audio in low energy Bluetooth. I came across nrf connect sdk is the best one for LE Audio transmission 

But I am familiar in nrf5 SDK to do custom services, DFU, custom bootloader.

My question is

1. How nRF connect SDK is differ from nRF5 SDK?

2. Is nRF5340 DK  work with nrf5 SDK?

3. For LE Audio transmission in Bluetooth nrf5 sdk is best or nrf connect sdk is best?

Parents
  • Hi

    Please check out this case which describes how to create a custom board file in the NCS/Zephyr/boards. The error you're seeing is likely caused by trying to open the project for a not supported board, and if so you need to add the board to the directory yourself.

    Best regards,

    Simon

  • Hi Simonr,

       I have done changes in board.cmake file

    # SPDX-License-Identifier: Apache-2.0
    
    board_runner_args(nrfjprog "--nrf-family=NRF52")
    board_runner_args(jlink "--device=nrf52" "--speed=4000")
    board_runner_args(pyocd "--target=nrf52" "--frequency=4000000")
    include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
    include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
    include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
    

    Previously it was

    # SPDX-License-Identifier: Apache-2.0
    
    board_runner_args(nrfjprog "--nrf-family=NRF52")
    board_runner_args(jlink "--device=nrf52" "--speed=4000")
    board_runner_args(pyocd "--target=nrf52" "--frequency=4000000")
    include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
    include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
    include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
    include(${ZEPHYR_BASE}/boards/common/openocd-nrf5.board.cmake)

    only deleting this line

    include(${ZEPHYR_BASE}/boards/common/openocd-nrf5.board.cmake)

    NCS project is getting created and Build

    is this the correct one ?

    Is that need to create SOC folder for custom boards ?

Reply
  • Hi Simonr,

       I have done changes in board.cmake file

    # SPDX-License-Identifier: Apache-2.0
    
    board_runner_args(nrfjprog "--nrf-family=NRF52")
    board_runner_args(jlink "--device=nrf52" "--speed=4000")
    board_runner_args(pyocd "--target=nrf52" "--frequency=4000000")
    include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
    include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
    include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
    

    Previously it was

    # SPDX-License-Identifier: Apache-2.0
    
    board_runner_args(nrfjprog "--nrf-family=NRF52")
    board_runner_args(jlink "--device=nrf52" "--speed=4000")
    board_runner_args(pyocd "--target=nrf52" "--frequency=4000000")
    include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
    include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
    include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
    include(${ZEPHYR_BASE}/boards/common/openocd-nrf5.board.cmake)

    only deleting this line

    include(${ZEPHYR_BASE}/boards/common/openocd-nrf5.board.cmake)

    NCS project is getting created and Build

    is this the correct one ?

    Is that need to create SOC folder for custom boards ?

Children
Related