Tx power configuration in SDK 2.7.0

Hi, 

I'm a little disoriented.
I used to set the tx power configuration for the nRF5340:

#set output power +3dBm
CONFIG_BT_CTLR=y
CONFIG_BT_CTLR_TX_PWR_PLUS_3=y

in the file <prjdir>\child_image\hci_rpmsg.conf.

How and where can I set the tx power with the new SDK 2.7.0 sysbuild?

Thanks!

Parents
  • Hi PabloL,

    With sysbuild, the closest equivalent of child image Kconfig overlay file is: <prjdir>\sysbuild\hci_ipc\boards\nrf5340dk_nrf5340_cpunet.conf.

    There is also <prj_dir>\sysbuild\hci_ipc\prj.conf. However, this replace the entire remote image's prj.conf file.
    (In parent-child multi-image, this behavior is similar to <prj_dir>\child_image\hci_ipc\prj.conf).

    For more information, please see Sysbuild (System build).

    Hieu

  • Hi Hieu,

    Thank you for the info.
    I created a new application in VS Code and select the peripheral_uart sample.

    The project dir tree is:

    peripheral_uart
    ├── CMakeLists.txt
    ├── prj.conf
    ├── sysbuild.conf
    ├── nrf5340dk_app_sr_net.conf
    ├── boards
    |   └── ...
    ├── src
    |   └── main.c
    ├── build
    |   └── ...
    └── sysbuild
        └── ipc_radio
            ├── prj.conf
            └── prj_bt_rpc.conf

    Should I create a new directory <prjdir>\sysbuild\hci_ipc\boards\ and add the file nrf5340dk_nrf5340_cpunet.conf?

    or

    Should I use one of the default directories and conf files?

    Thanks!

  • Hi PabloL,

    Both options will give you what you want at the moment. What they lay out are a little different.

    Having a sysbuild\ipc_radio\boards\nrf5340dk_nrf5340_cpunet.conf means that you can have different overlay files with different configurations for different boards.

    Having all configs in sysbuild\ipc_radio\prj.conf means that you will have the same configurations for all boards.

    You would want to consider which approach would match your needs.

Reply Children
No Data
Related