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

Trying to configure hci_rpmsg example with DFU image manager brakes config

Trying to enable DFU on the hci_rpmsg example brakes config.

Replicate:
Using SES, opening hci_rpmsg with target NRF53 network core and selecting to configure project.
Sub systems -> Bluetooth -> DFU Image manager (enable)

Then press configure.
Configuration will fail (create_nordic_project.py failed) and trying to load configuration again will result in blank configuration view, not possible to change back.

Log contains:
warning: FLASH_MAP (defined at subsys/storage/flash_map/Kconfig:10) has direct dependencies FLASH_HAS_DRIVER_ENABLED with value n, but is currently being y-selected by the following symbols: 
- MCUBOOT_IMG_MANAGER (defined at subsys/dfu/Kconfig:25), with value y, direct dependencies <choice> (value: y), and select condition <choice> (value: y)
warning: FLASH_PAGE_LAYOUT (defined at drivers/flash/Kconfig:54) has direct dependencies FLASH_HAS_PAGE_LAYOUT && FLASH with value n, but is currently being y-selected by the following symbols:
- STREAM_FLASH (defined at subsys/storage/stream/Kconfig:7), with value y, direct dependencies y (value: y)

Using GUI it is thus not possible to correct config directly.
Reopening project with clean build directory resets everything again.
By entering zephyr folder and deleting .config replacing it with .config.old the configuration dialog also works again.

Parents
  • Thanks Simon.
    Did you also have problems re-entering the config gui after getting the error?

    PS: I also notice that in some cases I can edit the config manually and turn off the offending config flag so the configuration loads again. This leads the tool to immediately adjust the file and re-save it, overwriting the .old file with the backup. This happens on loading the config, not on saving or configuring.

Reply
  • Thanks Simon.
    Did you also have problems re-entering the config gui after getting the error?

    PS: I also notice that in some cases I can edit the config manually and turn off the offending config flag so the configuration loads again. This leads the tool to immediately adjust the file and re-save it, overwriting the .old file with the backup. This happens on loading the config, not on saving or configuring.

Children
Related