How to enable Serial Recovery DFU on the nrf5340_audio application (Sysbuild)?

Hi there,

I have successfully enabled CDC ACM Serial Recovery mode on the nRF5340, which allows me to update the application and network core with two separate .bin files contained within the dfu_application.zip. I believe this is called non-simultaneous DFU.

I achieved this by following the relevant samples at https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/serial_recovery.

Eg. with the below values in the application prj.conf, and the serial recovery specific configuration values in the mcuboot.conf.

CONFIG_BOOTLOADER_MCUBOOT=y
CONFIG_NRF53_UPGRADE_NETWORK_CORE=y
CONFIG_ADD_MCUBOOT_MEDIATE_SIM_FLASH_DTS=y

I have this working on any of the samples. However, I would like to enable it on the nrf5340_audio application.
I am having some trouble because this application uses Sysbuild, and the KConfig values are completely different. Enabling the KConfig values above do not take affect in this application.
There doesn't seem to be any documentation on how to enable the same CDC ACM Serial Recovery mode (App and Net core) through this Sysbuild?
Could you tell me which Sysbuild KConfig values are required to enable CDC ACM Serial Recovery non-simultaneous DFU mode?
Thanks a lot,
Sean
Parents
  • Hi!

    Sysbuild will be supported in the upcoming nRF Connect SDK(NCS) v2.7.0.

    For older versions of NCS, Sysbuild is not supported. 

    I would like to enable it on the nrf5340_audio application.
    I am having some trouble because this application uses Sysbuild

    In NCS 2.6.x use this application without Sysbuild.

    Please wait for NCS 2.7.0 before trying to use Sysbuild.

  • Hi  

    Thanks for your response.

    I am using the main branch of NCS. Sysbuild does seem to be present and working? Or is it not finished yet?

    How do I use this application without Sysbuild then? There are no sysbuild related flags passed when building. For example, —sysbuild, like is normally seen in other Zephyr samples to enable sysbuild configuration.

  • FARLY7 said:
    I am using the main branch of NCS.

    Is there a reason for this? I would recommend using a relased version, the main branch is in active development and can sometimes be unstable.

  • Yes, LE Audio and the nrf5340_audio application are experimental, so I want to make sure I am closely following the changes being made.

    Do you have an answer to my original question? Either how can I enable serial recovery mode with Sysbuild, or as you are now suggesting, disable sysbuild on the nrf5340_application?

    How do I use this application without Sysbuild then? There are no sysbuild related flags passed when building. For example, —sysbuild, like is normally seen in other Zephyr samples to enable sysbuild configuration.

    I think it's better not to disable sysbuild if it's in a working state? I believe the NCS 2.7.0 release is at the end of June, so really not that far.

  • Hi  ,

    I forgot to mention that sysbuild works fine as I am able to compile the nr5340_audio application with the FOTA configuration with the -DSUFFIX=fota as per the application documentation. So I don't think disabling sysbuild is the correct approach. Even if it does work, it is not a permanent solution as NCS 2.7.0 will be released in only a few weeks.

    Can you please help with my original question about how I can enable serial recovery mode on the nrf5340_audio application?

    FYI The error I am facing is in the building of the final image, mcuboot. Perhaps, this will give you a clue as to what I am missing?

    In file included from /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/sysflash.h:10,
    from /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/bootutil_priv.h:33,
    from /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/tlv.c:24:
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h: In function '__flash_area_ids_for_slot':
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:48:62: error: 'PM_MCUBOOT_SECONDARY_1_ID' undeclared (first use in this function); did you mean 'PM_MCUBOOT_SECONDARY_ID'?
    48 | #define FLASH_AREA_IMAGE_1_SLOTS PM_MCUBOOT_PRIMARY_1_ID, PM_MCUBOOT_SECONDARY_1_ID
    | ^~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:55:29: note: in expansion of macro 'FLASH_AREA_IMAGE_1_SLOTS'
    55 | FLASH_AREA_IMAGE_1_SLOTS
    | ^~~~~~~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:67:9: note: in expansion of macro 'ALL_AVAILABLE_SLOTS'
    67 | ALL_AVAILABLE_SLOTS
    | ^~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:48:62: note: each undeclared identifier is reported only once for each function it appears in
    48 | #define FLASH_AREA_IMAGE_1_SLOTS PM_MCUBOOT_PRIMARY_1_ID, PM_MCUBOOT_SECONDARY_1_ID
    | ^~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:55:29: note: in expansion of macro 'FLASH_AREA_IMAGE_1_SLOTS'
    55 | FLASH_AREA_IMAGE_1_SLOTS
    | ^~~~~~~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:67:9: note: in expansion of macro 'ALL_AVAILABLE_SLOTS'
    67 | ALL_AVAILABLE_SLOTS
    | ^~~~~~~~~~~~~~~~~~~
    [95/322] Building C object CMakeFiles/app.dir/flash_map_extended.c.obj

    My file structure is

    sysbuild.conf

    # Enable bootloaders for both cores
    SB_CONFIG_BOOTLOADER_MCUBOOT=y
    SB_CONFIG_SECURE_BOOT_NETCORE=y
    SB_CONFIG_NETCORE_APP_UPDATE=y

    sysbuild/mcuboot.conf

    CONFIG_MAIN_STACK_SIZE=10240
    # Flash
    CONFIG_FLASH=y
    CONFIG_FPROTECT=y
    
    # MCUBoot serial
    CONFIG_MCUBOOT_SERIAL=y
    CONFIG_MCUBOOT_SERIAL_DIRECT_IMAGE_UPLOAD=y
    
    # Decrease memory footprint
    CONFIG_CBPRINTF_NANO=y
    CONFIG_TIMESLICING=n
    CONFIG_BOOT_BANNER=n
    CONFIG_CONSOLE=n
    CONFIG_CONSOLE_HANDLER=n
    CONFIG_UART_CONSOLE=n
    CONFIG_RTT_CONSOLE=n
    CONFIG_USE_SEGGER_RTT=n
    CONFIG_LOG=n
    CONFIG_RESET_ON_FATAL_ERROR=n
    
    # The following configurations are required to support serial recovery of the
    # network image
    CONFIG_PCD_APP=y
    
    # The network core cannot access external flash directly. The flash simulator must be used to
    # provide a memory region that is used to forward the new firmware to the network core.
    CONFIG_FLASH_SIMULATOR=y
    CONFIG_FLASH_SIMULATOR_DOUBLE_WRITES=y
    CONFIG_FLASH_SIMULATOR_STATS=n
    
    CONFIG_BOOT_IMAGE_ACCESS_HOOKS=y
    CONFIG_NRF53_RECOVERY_NETWORK_CORE=y
    
    CONFIG_MCUBOOT_INDICATION_LED=y
    
    # My additions
    CONFIG_BOOT_SERIAL_CDC_ACM=y
    # CONFIG_PM_PARTITION_SIZE_MCUBOOT=0xE800
    CONFIG_PM_PARTITION_SIZE_MCUBOOT=0xFC00
    
    CONFIG_USB_DEVICE_VID=0x1915
    CONFIG_USB_DEVICE_PID=0x5300
    

    I also disable some unnecessary SD features in sysbuild/ipc_radio/prj.conf in order to free up network flash to allow for the b0n bootloader.

    Thanks,

    Sean 

  • Hi Sigurd,

    Are you able to provide an answer to the question or should I create another ticket?

    Thanks,

    Sean

Reply Children
  • Hi!

    I don't see anything immediately wrong with your configuration. I don't know what SHA/commit you are on, but if you see the same on tag v2.7.0-rc2 , I will take a closer look. If so, also include your changes for sysbuild/ipc_radio/prj.conf

  • Hi Sigurd,

    I tested with tag v2.7.0-rc2 and I have the same build error.

    I have just attached a .zip of the nrf5340_audio application for your reference. I guess you can copy paste it into your NCS installation to test easily.

    You can build it with west build -b nrf5340_audio_dk/nrf5340/cpuapp --pristine -- -DCONFIG_AUDIO_DEV=2

    8551.nrf5340_audio.zip

    I'll also attach the entire build output from my side:

    ~/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio #v2.7.0-rc2 *2 !19 ?9 ❯ west build -b nrf5340_audio_dk/nrf5340/cpuapp --pristine -- -DCONFIG_AUDIO_DEV=2                                                           42s  application 12:42:12 pm
    -- west build: generating a build system
    Loading Zephyr module(s) (Zephyr base): sysbuild_default
    -- Found Python3: /Users/FARLY7/workspace/aura/aura-firmware/application/.venv/bin/python3.12 (found suitable version "3.12.3", minimum required is "3.8") found components: Interpreter
    -- Cache files will be written to: /Users/FARLY7/Library/Caches/zephyr
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf5340_audio_dk, qualifiers: nrf5340/cpuapp
    Parsing /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/Kconfig.sysbuild
    Loaded configuration '/Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/_sysbuild/empty.conf'
    Merged configuration '/Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/sysbuild.conf'
    Configuration saved to '/Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/zephyr/.config'
    Kconfig header saved to '/Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/_sysbuild/autoconf.h'
    --
       *****************************
       * Running CMake for mcuboot *
       *****************************
    
    Loading Zephyr default modules (Zephyr base).
    -- Application: /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr
    -- CMake version: 3.29.5
    -- Found Python3: /Users/FARLY7/workspace/aura/aura-firmware/application/.venv/bin/python (found suitable version "3.12.3", minimum required is "3.8") found components: Interpreter
    -- Cache files will be written to: /Users/FARLY7/Library/Caches/zephyr
    -- Zephyr version: 3.6.99 (/Users/FARLY7/workspace/aura/aura-firmware/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf5340_audio_dk, qualifiers: nrf5340/cpuapp
    -- Found host-tools: zephyr 0.16.8 (/Users/FARLY7/zephyr-sdk-0.16.8)
    -- Found toolchain: zephyr 0.16.8 (/Users/FARLY7/zephyr-sdk-0.16.8)
    -- Found Dtc: /opt/homebrew/bin/dtc (found suitable version "1.7.0", minimum required is "1.4.6")
    -- Found BOARD.dts: /Users/FARLY7/workspace/aura/aura-firmware/zephyr/boards/nordic/nrf5340_audio_dk/nrf5340_audio_dk_nrf5340_cpuapp.dts
    -- Found devicetree overlay: /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/app.overlay
    -- Found devicetree overlay: /Users/FARLY7/workspace/aura/aura-firmware/nrf/modules/mcuboot/flash_sim.overlay
    -- Generated zephyr.dts: /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/mcuboot/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/mcuboot/zephyr/include/generated/devicetree_generated.h
    -- Including generated dts.cmake file: /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/mcuboot/zephyr/dts.cmake
    
    warning: LOG_DEFAULT_LEVEL (defined at subsys/logging/Kconfig.filtering:13) was assigned the value
    '0' but got the value ''. Check these unsatisfied dependencies: LOG (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_LOG_DEFAULT_LEVEL and/or look up
    LOG_DEFAULT_LEVEL in the menuconfig/guiconfig interface. The Application Development Primer, Setting
    Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
    too.
    
    
    warning: The choice symbol MCUBOOT_LOG_LEVEL_INF (defined at
    subsys/logging/Kconfig.template.log_config:17) was selected (set =y), but no symbol ended up as the
    choice selection. See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MCUBOOT_LOG_LEVEL_INF
    and/or look up MCUBOOT_LOG_LEVEL_INF in the menuconfig/guiconfig interface. The Application
    Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of
    the manual might be helpful too.
    
    
    warning: The choice symbol LOG_MODE_MINIMAL (defined at subsys/logging/Kconfig.mode:29) was selected
    (set =y), but no symbol ended up as the choice selection. See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_LOG_MODE_MINIMAL and/or look up
    LOG_MODE_MINIMAL in the menuconfig/guiconfig interface. The Application Development Primer, Setting
    Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
    too.
    
    Parsing /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/Kconfig
    Loaded configuration '/Users/FARLY7/workspace/aura/aura-firmware/zephyr/boards/nordic/nrf5340_audio_dk/nrf5340_audio_dk_nrf5340_cpuapp_defconfig'
    Merged configuration '/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/prj.conf'
    Merged configuration '/Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/sysbuild/mcuboot.conf'
    Merged configuration '/Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/mcuboot/zephyr/.config.sysbuild'
    Configuration saved to '/Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/mcuboot/zephyr/.config'
    Kconfig header saved to '/Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/mcuboot/zephyr/include/generated/autoconf.h'
    -- Found GnuLd: /Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (found version "2.38")
    -- The C compiler identification is GNU 12.2.0
    -- The CXX compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: /Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
    -- Using ccache: /opt/homebrew/bin/ccache
    MCUBoot bootloader key file: /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/root-rsa-2048.pem
    -- Configuring done (4.0s)
    -- Generating done (0.1s)
    -- Build files have been written to: /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/mcuboot
    --
       *******************************
       * Running CMake for ipc_radio *
       *******************************
    
    Loading Zephyr default modules (Zephyr base).
    -- Application: /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/ipc_radio
    -- CMake version: 3.29.5
    -- Found Python3: /Users/FARLY7/workspace/aura/aura-firmware/application/.venv/bin/python (found suitable version "3.12.3", minimum required is "3.8") found components: Interpreter
    -- Cache files will be written to: /Users/FARLY7/Library/Caches/zephyr
    -- Zephyr version: 3.6.99 (/Users/FARLY7/workspace/aura/aura-firmware/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf5340_audio_dk, qualifiers: nrf5340/cpunet
    -- Found host-tools: zephyr 0.16.8 (/Users/FARLY7/zephyr-sdk-0.16.8)
    -- Found toolchain: zephyr 0.16.8 (/Users/FARLY7/zephyr-sdk-0.16.8)
    -- Found Dtc: /opt/homebrew/bin/dtc (found suitable version "1.7.0", minimum required is "1.4.6")
    -- Found BOARD.dts: /Users/FARLY7/workspace/aura/aura-firmware/zephyr/boards/nordic/nrf5340_audio_dk/nrf5340_audio_dk_nrf5340_cpunet.dts
    -- Generated zephyr.dts: /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/ipc_radio/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/ipc_radio/zephyr/include/generated/devicetree_generated.h
    -- Including generated dts.cmake file: /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/ipc_radio/zephyr/dts.cmake
    
    warning: BT_CTLR_SYNC_ISO_STREAM_COUNT (defined at subsys/bluetooth/controller/Kconfig:853) was
    assigned the value '2' but got the value ''. Check these unsatisfied dependencies: BT_CTLR_SYNC_ISO
    (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_BT_CTLR_SYNC_ISO_STREAM_COUNT
    and/or look up BT_CTLR_SYNC_ISO_STREAM_COUNT in the menuconfig/guiconfig interface. The Application
    Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of
    the manual might be helpful too.
    
    Parsing /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/ipc_radio/Kconfig
    Loaded configuration '/Users/FARLY7/workspace/aura/aura-firmware/zephyr/boards/nordic/nrf5340_audio_dk/nrf5340_audio_dk_nrf5340_cpunet_defconfig'
    Merged configuration '/Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/sysbuild/ipc_radio/prj.conf'
    Merged configuration '/Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/ipc_radio/zephyr/.config.sysbuild'
    Configuration saved to '/Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/ipc_radio/zephyr/.config'
    Kconfig header saved to '/Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/ipc_radio/zephyr/include/generated/autoconf.h'
    -- Found GnuLd: /Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (found version "2.38")
    -- The C compiler identification is GNU 12.2.0
    -- The CXX compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: /Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
    CMake Deprecation Warning at /Users/FARLY7/workspace/aura/aura-firmware/modules/hal/libmetal/libmetal/CMakeLists.txt:1 (cmake_minimum_required):
      Compatibility with CMake < 3.5 will be removed from a future version of
      CMake.
    
      Update the VERSION argument <min> value or use a ...<max> suffix to tell
      CMake that the project does not need compatibility with older versions.
    
    
    -- libmetal version: 1.5.0 (/Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/ipc_radio)
    -- Build type:
    -- Host:    Darwin/arm64
    -- Target:  Generic/arm
    -- Machine: arm
    -- Looking for include file stdatomic.h
    -- Looking for include file stdatomic.h - found
    CMake Deprecation Warning at /Users/FARLY7/workspace/aura/aura-firmware/modules/lib/open-amp/open-amp/CMakeLists.txt:1 (cmake_minimum_required):
      Compatibility with CMake < 3.5 will be removed from a future version of
      CMake.
    
      Update the VERSION argument <min> value or use a ...<max> suffix to tell
      CMake that the project does not need compatibility with older versions.
    
    
    -- open-amp version: 1.5.0 (/Users/FARLY7/workspace/aura/aura-firmware/modules/lib/open-amp/open-amp)
    -- Host:    Darwin/arm64
    -- Target:  Generic/arm
    -- Machine: arm
    -- C_FLAGS :  -Wall -Wextra
    -- Looking for include file fcntl.h
    -- Looking for include file fcntl.h - found
    -- Using ccache: /opt/homebrew/bin/ccache
    -- Configuring done (3.3s)
    -- Generating done (0.1s)
    -- Build files have been written to: /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/ipc_radio
    --
       *************************
       * Running CMake for b0n *
       *************************
    
    Loading Zephyr default modules (Zephyr base).
    -- Application: /Users/FARLY7/workspace/aura/aura-firmware/nrf/samples/nrf5340/netboot
    -- CMake version: 3.29.5
    -- Found Python3: /Users/FARLY7/workspace/aura/aura-firmware/application/.venv/bin/python (found suitable version "3.12.3", minimum required is "3.8") found components: Interpreter
    -- Cache files will be written to: /Users/FARLY7/Library/Caches/zephyr
    -- Zephyr version: 3.6.99 (/Users/FARLY7/workspace/aura/aura-firmware/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf5340_audio_dk, qualifiers: nrf5340/cpunet
    -- Found host-tools: zephyr 0.16.8 (/Users/FARLY7/zephyr-sdk-0.16.8)
    -- Found toolchain: zephyr 0.16.8 (/Users/FARLY7/zephyr-sdk-0.16.8)
    -- Found Dtc: /opt/homebrew/bin/dtc (found suitable version "1.7.0", minimum required is "1.4.6")
    -- Found BOARD.dts: /Users/FARLY7/workspace/aura/aura-firmware/zephyr/boards/nordic/nrf5340_audio_dk/nrf5340_audio_dk_nrf5340_cpunet.dts
    -- Generated zephyr.dts: /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/b0n/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/b0n/zephyr/include/generated/devicetree_generated.h
    -- Including generated dts.cmake file: /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/b0n/zephyr/dts.cmake
    Parsing /Users/FARLY7/workspace/aura/aura-firmware/nrf/samples/nrf5340/netboot/Kconfig
    Loaded configuration '/Users/FARLY7/workspace/aura/aura-firmware/zephyr/boards/nordic/nrf5340_audio_dk/nrf5340_audio_dk_nrf5340_cpunet_defconfig'
    Merged configuration '/Users/FARLY7/workspace/aura/aura-firmware/nrf/samples/nrf5340/netboot/prj.conf'
    Merged configuration '/Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/b0n/zephyr/.config.sysbuild'
    Configuration saved to '/Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/b0n/zephyr/.config'
    Kconfig header saved to '/Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/b0n/zephyr/include/generated/autoconf.h'
    -- Found GnuLd: /Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (found version "2.38")
    -- The C compiler identification is GNU 12.2.0
    -- The CXX compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: /Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
    -- Using ccache: /opt/homebrew/bin/ccache
    CMake Warning at /Users/FARLY7/workspace/aura/aura-firmware/zephyr/CMakeLists.txt:2027 (message):
      __ASSERT() statements are globally ENABLED
    
    
    -- Configuring done (3.2s)
    -- Generating done (0.1s)
    -- Build files have been written to: /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/b0n
    --
       ***********************************
       * Running CMake for nrf5340_audio *
       ***********************************
    
    Loading Zephyr default modules (Zephyr base).
    -- Application: /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio
    -- CMake version: 3.29.5
    -- Found Python3: /Users/FARLY7/workspace/aura/aura-firmware/application/.venv/bin/python (found suitable version "3.12.3", minimum required is "3.8") found components: Interpreter
    -- Cache files will be written to: /Users/FARLY7/Library/Caches/zephyr
    -- Zephyr version: 3.6.99 (/Users/FARLY7/workspace/aura/aura-firmware/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf5340_audio_dk, qualifiers: nrf5340/cpuapp
    -- Found host-tools: zephyr 0.16.8 (/Users/FARLY7/zephyr-sdk-0.16.8)
    -- Found toolchain: zephyr 0.16.8 (/Users/FARLY7/zephyr-sdk-0.16.8)
    -- Found Dtc: /opt/homebrew/bin/dtc (found suitable version "1.7.0", minimum required is "1.4.6")
    -- Found BOARD.dts: /Users/FARLY7/workspace/aura/aura-firmware/zephyr/boards/nordic/nrf5340_audio_dk/nrf5340_audio_dk_nrf5340_cpuapp.dts
    -- Generated zephyr.dts: /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/nrf5340_audio/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/nrf5340_audio/zephyr/include/generated/devicetree_generated.h
    -- Including generated dts.cmake file: /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/nrf5340_audio/zephyr/dts.cmake
    
    warning: STREAM_BIDIRECTIONAL (defined at /Users/FARLY7/workspace/aura/aura-
    firmware/nrf/applications/nrf5340_audio/src/audio/Kconfig:240) was assigned the value 'y' but got
    the value 'n'. Check these unsatisfied dependencies: TRANSPORT_CIS (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_STREAM_BIDIRECTIONAL and/or look up
    STREAM_BIDIRECTIONAL in the menuconfig/guiconfig interface. The Application Development Primer,
    Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be
    helpful too.
    
    
    warning: UPDATEABLE_IMAGE_NUMBER (defined at /Users/FARLY7/workspace/aura/aura-
    firmware/nrf/samples/common/mcumgr_bt_ota_dfu/Kconfig:89, subsys/dfu/Kconfig:95) was assigned the
    value '2' but got the value ''. Check these unsatisfied dependencies:
    (((BOARD_THINGY53_NRF5340_CPUAPP || BOARD_THINGY53_NRF5340_CPUAPP_NS) && SOC_SERIES_NRF53X &&
    NCS_SAMPLE_MCUMGR_BT_OTA_DFU) || (!MCUBOOT && IMG_MANAGER)) (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_UPDATEABLE_IMAGE_NUMBER and/or look up
    UPDATEABLE_IMAGE_NUMBER in the menuconfig/guiconfig interface. The Application Development Primer,
    Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be
    helpful too.
    
    
    warning: MCUBOOT_UPDATE_FOOTER_SIZE (defined at subsys/dfu/Kconfig:54) was assigned the value
    '0x8000' but got the value ''. Check these unsatisfied dependencies: MCUBOOT_IMG_MANAGER (=n),
    IMG_MANAGER (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MCUBOOT_UPDATE_FOOTER_SIZE and/or look up
    MCUBOOT_UPDATE_FOOTER_SIZE in the menuconfig/guiconfig interface. The Application Development
    Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual
    might be helpful too.
    
    
    warning: Experimental symbol NRF5340_AUDIO is enabled.
    
    
    warning: Experimental symbol SAMPLE_RATE_CONVERTER is enabled.
    
    
    warning: Experimental symbol USB_DEVICE_AUDIO is enabled.
    
    Parsing /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/Kconfig
    Loaded configuration '/Users/FARLY7/workspace/aura/aura-firmware/zephyr/boards/nordic/nrf5340_audio_dk/nrf5340_audio_dk_nrf5340_cpuapp_defconfig'
    Merged configuration '/Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/prj.conf'
    Merged configuration '/Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/boards/nrf5340_audio_dk_nrf5340_cpuapp.conf'
    Merged configuration '/Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/nrf5340_audio/zephyr/misc/generated/extra_kconfig_options.conf'
    Merged configuration '/Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/nrf5340_audio/zephyr/.config.sysbuild'
    Configuration saved to '/Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/nrf5340_audio/zephyr/.config'
    Kconfig header saved to '/Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/nrf5340_audio/zephyr/include/generated/autoconf.h'
    -- Found GnuLd: /Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (found version "2.38")
    -- The C compiler identification is GNU 12.2.0
    -- The CXX compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: /Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
    CMake Deprecation Warning at /Users/FARLY7/workspace/aura/aura-firmware/modules/hal/libmetal/libmetal/CMakeLists.txt:1 (cmake_minimum_required):
      Compatibility with CMake < 3.5 will be removed from a future version of
      CMake.
    
      Update the VERSION argument <min> value or use a ...<max> suffix to tell
      CMake that the project does not need compatibility with older versions.
    
    
    -- libmetal version: 1.5.0 (/Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio)
    -- Build type:
    -- Host:    Darwin/arm64
    -- Target:  Generic/arm
    -- Machine: arm
    -- Looking for include file stdatomic.h
    -- Looking for include file stdatomic.h - found
    CMake Deprecation Warning at /Users/FARLY7/workspace/aura/aura-firmware/modules/lib/open-amp/open-amp/CMakeLists.txt:1 (cmake_minimum_required):
      Compatibility with CMake < 3.5 will be removed from a future version of
      CMake.
    
      Update the VERSION argument <min> value or use a ...<max> suffix to tell
      CMake that the project does not need compatibility with older versions.
    
    
    -- open-amp version: 1.5.0 (/Users/FARLY7/workspace/aura/aura-firmware/modules/lib/open-amp/open-amp)
    -- Host:    Darwin/arm64
    -- Target:  Generic/arm
    -- Machine: arm
    -- C_FLAGS :  -Wall -Wextra
    -- Looking for include file fcntl.h
    -- Looking for include file fcntl.h - found
    -- Using ccache: /opt/homebrew/bin/ccache
    -- Including signing script: /Users/FARLY7/workspace/aura/aura-firmware/nrf/cmake/sysbuild/image_signing.cmake
    CMake Warning at /Users/FARLY7/workspace/aura/aura-firmware/zephyr/CMakeLists.txt:2027 (message):
      __ASSERT() statements are globally ENABLED
    
    
    -- Configuring done (3.7s)
    -- Generating done (0.2s)
    -- Build files have been written to: /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/nrf5340_audio
    CMake Warning at /Users/FARLY7/workspace/aura/aura-firmware/nrf/cmake/sysbuild/debug_keys.cmake:37 (message):
    
    
          --------------------------------------------------------------
          --- WARNING: Using generated NSIB public/private key-pair. ---
          --- It should not be used for production.                  ---
          --- See SB_CONFIG_SECURE_BOOT_SIGNING_KEY_FILE             ---
          --------------------------------------------------------------
    
    
    Call Stack (most recent call first):
      /Users/FARLY7/workspace/aura/aura-firmware/nrf/cmake/sysbuild/provision_hex.cmake:11 (include)
      /Users/FARLY7/workspace/aura/aura-firmware/nrf/sysbuild/CMakeLists.txt:55 (include)
      /Users/FARLY7/workspace/aura/aura-firmware/nrf/sysbuild/CMakeLists.txt:438 (include_provision_hex)
      cmake/modules/sysbuild_extensions.cmake:563 (nrf_POST_CMAKE)
      cmake/modules/sysbuild_extensions.cmake:563 (cmake_language)
      cmake/modules/sysbuild_images.cmake:23 (sysbuild_module_call)
      cmake/modules/sysbuild_default.cmake:19 (include)
      /Users/FARLY7/workspace/aura/aura-firmware/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
      /Users/FARLY7/workspace/aura/aura-firmware/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
      /Users/FARLY7/workspace/aura/aura-firmware/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
      template/CMakeLists.txt:10 (find_package)
    
    
    CMake Warning at /Users/FARLY7/workspace/aura/aura-firmware/nrf/cmake/sysbuild/partition_manager.cmake:88 (message):
    
    
            ---------------------------------------------------------------------
            --- WARNING: Using a bootloader without pm_static.yml.            ---
            --- There are cases where a deployed product can consist of       ---
            --- multiple images, and only a subset of these images can be     ---
            --- upgraded through a firmware update mechanism. In such cases,  ---
            --- the upgradable images must have partitions that are static    ---
            --- and are matching the partition map used by the bootloader     ---
            --- programmed onto the device.                                   ---
            ---------------------------------------------------------------------
    
    
    Call Stack (most recent call first):
      /Users/FARLY7/workspace/aura/aura-firmware/nrf/cmake/sysbuild/partition_manager.cmake:612 (partition_manager)
      /Users/FARLY7/workspace/aura/aura-firmware/nrf/sysbuild/CMakeLists.txt:468 (include)
      cmake/modules/sysbuild_extensions.cmake:563 (nrf_POST_CMAKE)
      cmake/modules/sysbuild_extensions.cmake:563 (cmake_language)
      cmake/modules/sysbuild_images.cmake:23 (sysbuild_module_call)
      cmake/modules/sysbuild_default.cmake:19 (include)
      /Users/FARLY7/workspace/aura/aura-firmware/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
      /Users/FARLY7/workspace/aura/aura-firmware/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
      /Users/FARLY7/workspace/aura/aura-firmware/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
      template/CMakeLists.txt:10 (find_package)
    
    
    -- Configuring done (17.6s)
    -- Generating done (0.0s)
    -- Build files have been written to: /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build
    -- west build: building application
    [0/47] Generating signing key
    [21/47] Performing build step for 'ipc_radio'
    [1/211] Preparing syscall dependency handling
    
    [6/211] Generating include/generated/version.h
    -- Zephyr version: 3.6.99 (/Users/FARLY7/workspace/aura/aura-firmware/zephyr), build: v3.6.99-ncs2-rc2
    [211/211] Linking C executable zephyr/zephyr.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:      209656 B       222 KB     92.23%
                 RAM:       50252 B        64 KB     76.68%
               SRAM1:          0 GB        64 KB      0.00%
            IDT_LIST:          0 GB        32 KB      0.00%
    Generating files from /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/ipc_radio/zephyr/zephyr.elf for board: nrf5340_audio_dk
    [22/47] Performing build step for 'b0n'
    [1/141] Preparing syscall dependency handling
    
    [6/141] Generating include/generated/version.h
    -- Zephyr version: 3.6.99 (/Users/FARLY7/workspace/aura/aura-firmware/zephyr), build: v3.6.99-ncs2-rc2
    [141/141] Linking C executable zephyr/zephyr.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:       23878 B      34176 B     69.87%
                 RAM:        3528 B        64 KB      5.38%
               SRAM1:          0 GB        64 KB      0.00%
            IDT_LIST:          0 GB        32 KB      0.00%
    Generating files from /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/b0n/zephyr/zephyr.elf for board: nrf5340_audio_dk
    [26/47] Performing build step for 'nrf5340_audio'
    [0/1] Re-running CMake...
    Loading Zephyr default modules (Zephyr base (cached)).
    -- Application: /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio
    -- CMake version: 3.29.5
    -- Cache files will be written to: /Users/FARLY7/Library/Caches/zephyr
    -- Zephyr version: 3.6.99 (/Users/FARLY7/workspace/aura/aura-firmware/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf5340_audio_dk, qualifiers: nrf5340/cpuapp
    -- Found host-tools: zephyr 0.16.8 (/Users/FARLY7/zephyr-sdk-0.16.8)
    -- Found toolchain: zephyr 0.16.8 (/Users/FARLY7/zephyr-sdk-0.16.8)
    -- Found BOARD.dts: /Users/FARLY7/workspace/aura/aura-firmware/zephyr/boards/nordic/nrf5340_audio_dk/nrf5340_audio_dk_nrf5340_cpuapp.dts
    -- Generated zephyr.dts: /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/nrf5340_audio/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/nrf5340_audio/zephyr/include/generated/devicetree_generated.h
    -- Including generated dts.cmake file: /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/nrf5340_audio/zephyr/dts.cmake
    
    warning: Experimental symbol NRF5340_AUDIO is enabled.
    
    
    warning: Experimental symbol SAMPLE_RATE_CONVERTER is enabled.
    
    
    warning: Experimental symbol USB_DEVICE_AUDIO is enabled.
    
    Parsing /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/Kconfig
    Loaded configuration '/Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/nrf5340_audio/zephyr/.config'
    Merged configuration '/Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/nrf5340_audio/zephyr/.config.sysbuild'
    No change to configuration in '/Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/nrf5340_audio/zephyr/.config'
    No change to Kconfig header in '/Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/nrf5340_audio/zephyr/include/generated/autoconf.h'
    CMake Deprecation Warning at /Users/FARLY7/workspace/aura/aura-firmware/modules/hal/libmetal/libmetal/CMakeLists.txt:1 (cmake_minimum_required):
      Compatibility with CMake < 3.5 will be removed from a future version of
      CMake.
    
      Update the VERSION argument <min> value or use a ...<max> suffix to tell
      CMake that the project does not need compatibility with older versions.
    
    
    -- libmetal version: 1.5.0 (/Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio)
    -- Build type:
    -- Host:    Darwin/arm64
    -- Target:  Generic/arm
    -- Machine: arm
    CMake Deprecation Warning at /Users/FARLY7/workspace/aura/aura-firmware/modules/lib/open-amp/open-amp/CMakeLists.txt:1 (cmake_minimum_required):
      Compatibility with CMake < 3.5 will be removed from a future version of
      CMake.
    
      Update the VERSION argument <min> value or use a ...<max> suffix to tell
      CMake that the project does not need compatibility with older versions.
    
    
    -- open-amp version: 1.5.0 (/Users/FARLY7/workspace/aura/aura-firmware/modules/lib/open-amp/open-amp)
    -- Host:    Darwin/arm64
    -- Target:  Generic/arm
    -- Machine: arm
    -- C_FLAGS :  -Wall -Wextra
    -- Using ccache: /opt/homebrew/bin/ccache
    -- Including signing script: /Users/FARLY7/workspace/aura/aura-firmware/nrf/cmake/sysbuild/image_signing.cmake
    CMake Warning at /Users/FARLY7/workspace/aura/aura-firmware/zephyr/CMakeLists.txt:2027 (message):
      __ASSERT() statements are globally ENABLED
    
    
    -- Configuring done (3.1s)
    -- Generating done (0.2s)
    -- Build files have been written to: /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/nrf5340_audio
    [1/621] Preparing syscall dependency handling
    
    [6/621] Generating include/generated/version.h
    -- Zephyr version: 3.6.99 (/Users/FARLY7/workspace/aura/aura-firmware/zephyr), build: v3.6.99-ncs2-rc2
    [30/621] Building C object CMakeFiles/app.dir/src/modules/audio_usb.c.obj
    /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/src/modules/audio_usb.c:81:13: warning: 'data_received' defined but not used [-Wunused-function]
       81 | static void data_received(const struct device *dev, struct net_buf *buffer, size_t size)
          |             ^~~~~~~~~~~~~
    [620/621] Linking C executable zephyr/zephyr.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:      361000 B     491008 B     73.52%
                 RAM:       85900 B       440 KB     19.07%
            IDT_LIST:          0 GB        32 KB      0.00%
    Generating files from /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/nrf5340_audio/zephyr/zephyr.elf for board: nrf5340_audio_dk
    image.py: sign the payload
    image.py: sign the payload
    [31/47] Performing build step for 'mcuboot'
    [1/322] Preparing syscall dependency handling
    
    [8/322] Generating include/generated/version.h
    -- Zephyr version: 3.6.99 (/Users/FARLY7/workspace/aura/aura-firmware/zephyr), build: v3.6.99-ncs2-rc2
    [98/322] Building C object CMakeFiles/app.dir/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/tlv.c.obj
    FAILED: CMakeFiles/app.dir/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/tlv.c.obj
    ccache /Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMBEDTLS_CONFIG_FILE=\"mcuboot-mbedtls-cfg.h\" -DNCS_APPLICATION_BOOT_BANNER_GIT_REPO -DNRF5340_XXAA_APPLICATION -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DUSE_PARTITION_MANAGER=1 -D__PROGRAM_START -D__ZEPHYR__=1 -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/targets -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/include -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/include -I/Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/mcuboot/zephyr/include/generated -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/soc/nordic -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/soc/nordic/nrf53/. -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/soc/nordic/common/. -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/subsys/usb/device -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/drivers/usb/common/nrf_usbd_common/. -I/Users/FARLY7/workspace/aura/aura-firmware/nrf/include -I/Users/FARLY7/workspace/aura/aura-firmware/nrf/tests/include -I/Users/FARLY7/workspace/aura/aura-firmware/modules/hal/cmsis/CMSIS/Core/Include -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/modules/cmsis/. -I/Users/FARLY7/workspace/aura/aura-firmware/modules/hal/nordic/nrfx -I/Users/FARLY7/workspace/aura/aura-firmware/modules/hal/nordic/nrfx/drivers/include -I/Users/FARLY7/workspace/aura/aura-firmware/modules/hal/nordic/nrfx/mdk -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/modules/hal_nordic/nrfx/. -I/Users/FARLY7/workspace/aura/aura-firmware/modules/lib/zcbor/include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/boot_serial/include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src -I/Users/FARLY7/workspace/aura/aura-firmware/modules/crypto/mbedtls/include -I/Users/FARLY7/workspace/aura/aura-firmware/modules/crypto/mbedtls/include/library -I/Users/FARLY7/workspace/aura/aura-firmware/modules/crypto/mbedtls/library -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/modules/mbedtls/configs -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/modules/mbedtls/include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/zephyr/.. -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/zephyr/../include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem /Users/FARLY7/workspace/aura/aura-firmware/zephyr/lib/libc/minimal/include -isystem /Users/FARLY7/workspace/aura/aura-firmware/zephyr/lib/libc/common/include -isystem /Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem /Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem /Users/FARLY7/workspace/aura/aura-firmware/nrfxlib/crypto/nrf_cc312_platform/include -fno-strict-aliasing -Os -imacros /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/mcuboot/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=/Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/arm-zephyr-eabi -imacros /Users/FARLY7/workspace/aura/aura-firmware/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=/Users/FARLY7/workspace/aura/aura-firmware/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/Users/FARLY7/workspace/aura/aura-firmware=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/tlv.c.obj -MF CMakeFiles/app.dir/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/tlv.c.obj.d -o CMakeFiles/app.dir/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/tlv.c.obj -c /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/tlv.c
    In file included from /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/sysflash.h:10,
                     from /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/bootutil_priv.h:33,
                     from /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/tlv.c:24:
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h: In function '__flash_area_ids_for_slot':
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:48:62: error: 'PM_MCUBOOT_SECONDARY_1_ID' undeclared (first use in this function); did you mean 'PM_MCUBOOT_SECONDARY_ID'?
       48 | #define FLASH_AREA_IMAGE_1_SLOTS    PM_MCUBOOT_PRIMARY_1_ID, PM_MCUBOOT_SECONDARY_1_ID
          |                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:55:29: note: in expansion of macro 'FLASH_AREA_IMAGE_1_SLOTS'
       55 |                             FLASH_AREA_IMAGE_1_SLOTS
          |                             ^~~~~~~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:67:9: note: in expansion of macro 'ALL_AVAILABLE_SLOTS'
       67 |         ALL_AVAILABLE_SLOTS
          |         ^~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:48:62: note: each undeclared identifier is reported only once for each function it appears in
       48 | #define FLASH_AREA_IMAGE_1_SLOTS    PM_MCUBOOT_PRIMARY_1_ID, PM_MCUBOOT_SECONDARY_1_ID
          |                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:55:29: note: in expansion of macro 'FLASH_AREA_IMAGE_1_SLOTS'
       55 |                             FLASH_AREA_IMAGE_1_SLOTS
          |                             ^~~~~~~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:67:9: note: in expansion of macro 'ALL_AVAILABLE_SLOTS'
       67 |         ALL_AVAILABLE_SLOTS
          |         ^~~~~~~~~~~~~~~~~~~
    [99/322] Building C object CMakeFiles/app.dir/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/image_validate.c.obj
    FAILED: CMakeFiles/app.dir/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/image_validate.c.obj
    ccache /Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMBEDTLS_CONFIG_FILE=\"mcuboot-mbedtls-cfg.h\" -DNCS_APPLICATION_BOOT_BANNER_GIT_REPO -DNRF5340_XXAA_APPLICATION -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DUSE_PARTITION_MANAGER=1 -D__PROGRAM_START -D__ZEPHYR__=1 -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/targets -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/include -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/include -I/Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/mcuboot/zephyr/include/generated -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/soc/nordic -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/soc/nordic/nrf53/. -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/soc/nordic/common/. -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/subsys/usb/device -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/drivers/usb/common/nrf_usbd_common/. -I/Users/FARLY7/workspace/aura/aura-firmware/nrf/include -I/Users/FARLY7/workspace/aura/aura-firmware/nrf/tests/include -I/Users/FARLY7/workspace/aura/aura-firmware/modules/hal/cmsis/CMSIS/Core/Include -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/modules/cmsis/. -I/Users/FARLY7/workspace/aura/aura-firmware/modules/hal/nordic/nrfx -I/Users/FARLY7/workspace/aura/aura-firmware/modules/hal/nordic/nrfx/drivers/include -I/Users/FARLY7/workspace/aura/aura-firmware/modules/hal/nordic/nrfx/mdk -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/modules/hal_nordic/nrfx/. -I/Users/FARLY7/workspace/aura/aura-firmware/modules/lib/zcbor/include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/boot_serial/include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src -I/Users/FARLY7/workspace/aura/aura-firmware/modules/crypto/mbedtls/include -I/Users/FARLY7/workspace/aura/aura-firmware/modules/crypto/mbedtls/include/library -I/Users/FARLY7/workspace/aura/aura-firmware/modules/crypto/mbedtls/library -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/modules/mbedtls/configs -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/modules/mbedtls/include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/zephyr/.. -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/zephyr/../include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem /Users/FARLY7/workspace/aura/aura-firmware/zephyr/lib/libc/minimal/include -isystem /Users/FARLY7/workspace/aura/aura-firmware/zephyr/lib/libc/common/include -isystem /Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem /Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem /Users/FARLY7/workspace/aura/aura-firmware/nrfxlib/crypto/nrf_cc312_platform/include -fno-strict-aliasing -Os -imacros /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/mcuboot/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=/Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/arm-zephyr-eabi -imacros /Users/FARLY7/workspace/aura/aura-firmware/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=/Users/FARLY7/workspace/aura/aura-firmware/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/Users/FARLY7/workspace/aura/aura-firmware=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/image_validate.c.obj -MF CMakeFiles/app.dir/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/image_validate.c.obj.d -o CMakeFiles/app.dir/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/image_validate.c.obj -c /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/image_validate.c
    In file included from /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/sysflash.h:10,
                     from /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/bootutil_priv.h:33,
                     from /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/image_validate.c:57:
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h: In function '__flash_area_ids_for_slot':
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:48:62: error: 'PM_MCUBOOT_SECONDARY_1_ID' undeclared (first use in this function); did you mean 'PM_MCUBOOT_SECONDARY_ID'?
       48 | #define FLASH_AREA_IMAGE_1_SLOTS    PM_MCUBOOT_PRIMARY_1_ID, PM_MCUBOOT_SECONDARY_1_ID
          |                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:55:29: note: in expansion of macro 'FLASH_AREA_IMAGE_1_SLOTS'
       55 |                             FLASH_AREA_IMAGE_1_SLOTS
          |                             ^~~~~~~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:67:9: note: in expansion of macro 'ALL_AVAILABLE_SLOTS'
       67 |         ALL_AVAILABLE_SLOTS
          |         ^~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:48:62: note: each undeclared identifier is reported only once for each function it appears in
       48 | #define FLASH_AREA_IMAGE_1_SLOTS    PM_MCUBOOT_PRIMARY_1_ID, PM_MCUBOOT_SECONDARY_1_ID
          |                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:55:29: note: in expansion of macro 'FLASH_AREA_IMAGE_1_SLOTS'
       55 |                             FLASH_AREA_IMAGE_1_SLOTS
          |                             ^~~~~~~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:67:9: note: in expansion of macro 'ALL_AVAILABLE_SLOTS'
       67 |         ALL_AVAILABLE_SLOTS
          |         ^~~~~~~~~~~~~~~~~~~
    [101/322] Building C object CMakeFiles/app.dir/flash_map_extended.c.obj
    FAILED: CMakeFiles/app.dir/flash_map_extended.c.obj
    ccache /Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMBEDTLS_CONFIG_FILE=\"mcuboot-mbedtls-cfg.h\" -DNCS_APPLICATION_BOOT_BANNER_GIT_REPO -DNRF5340_XXAA_APPLICATION -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DUSE_PARTITION_MANAGER=1 -D__PROGRAM_START -D__ZEPHYR__=1 -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/targets -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/include -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/include -I/Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/mcuboot/zephyr/include/generated -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/soc/nordic -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/soc/nordic/nrf53/. -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/soc/nordic/common/. -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/subsys/usb/device -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/drivers/usb/common/nrf_usbd_common/. -I/Users/FARLY7/workspace/aura/aura-firmware/nrf/include -I/Users/FARLY7/workspace/aura/aura-firmware/nrf/tests/include -I/Users/FARLY7/workspace/aura/aura-firmware/modules/hal/cmsis/CMSIS/Core/Include -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/modules/cmsis/. -I/Users/FARLY7/workspace/aura/aura-firmware/modules/hal/nordic/nrfx -I/Users/FARLY7/workspace/aura/aura-firmware/modules/hal/nordic/nrfx/drivers/include -I/Users/FARLY7/workspace/aura/aura-firmware/modules/hal/nordic/nrfx/mdk -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/modules/hal_nordic/nrfx/. -I/Users/FARLY7/workspace/aura/aura-firmware/modules/lib/zcbor/include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/boot_serial/include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src -I/Users/FARLY7/workspace/aura/aura-firmware/modules/crypto/mbedtls/include -I/Users/FARLY7/workspace/aura/aura-firmware/modules/crypto/mbedtls/include/library -I/Users/FARLY7/workspace/aura/aura-firmware/modules/crypto/mbedtls/library -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/modules/mbedtls/configs -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/modules/mbedtls/include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/zephyr/.. -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/zephyr/../include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem /Users/FARLY7/workspace/aura/aura-firmware/zephyr/lib/libc/minimal/include -isystem /Users/FARLY7/workspace/aura/aura-firmware/zephyr/lib/libc/common/include -isystem /Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem /Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem /Users/FARLY7/workspace/aura/aura-firmware/nrfxlib/crypto/nrf_cc312_platform/include -fno-strict-aliasing -Os -imacros /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/mcuboot/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=/Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/arm-zephyr-eabi -imacros /Users/FARLY7/workspace/aura/aura-firmware/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=/Users/FARLY7/workspace/aura/aura-firmware/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/Users/FARLY7/workspace/aura/aura-firmware=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir/flash_map_extended.c.obj -MF CMakeFiles/app.dir/flash_map_extended.c.obj.d -o CMakeFiles/app.dir/flash_map_extended.c.obj -c /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/flash_map_extended.c
    In file included from /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/sysflash.h:10,
                     from /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/flash_map_extended.c:15:
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h: In function '__flash_area_ids_for_slot':
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:48:62: error: 'PM_MCUBOOT_SECONDARY_1_ID' undeclared (first use in this function); did you mean 'PM_MCUBOOT_SECONDARY_ID'?
       48 | #define FLASH_AREA_IMAGE_1_SLOTS    PM_MCUBOOT_PRIMARY_1_ID, PM_MCUBOOT_SECONDARY_1_ID
          |                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:55:29: note: in expansion of macro 'FLASH_AREA_IMAGE_1_SLOTS'
       55 |                             FLASH_AREA_IMAGE_1_SLOTS
          |                             ^~~~~~~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:67:9: note: in expansion of macro 'ALL_AVAILABLE_SLOTS'
       67 |         ALL_AVAILABLE_SLOTS
          |         ^~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:48:62: note: each undeclared identifier is reported only once for each function it appears in
       48 | #define FLASH_AREA_IMAGE_1_SLOTS    PM_MCUBOOT_PRIMARY_1_ID, PM_MCUBOOT_SECONDARY_1_ID
          |                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:55:29: note: in expansion of macro 'FLASH_AREA_IMAGE_1_SLOTS'
       55 |                             FLASH_AREA_IMAGE_1_SLOTS
          |                             ^~~~~~~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:67:9: note: in expansion of macro 'ALL_AVAILABLE_SLOTS'
       67 |         ALL_AVAILABLE_SLOTS
          |         ^~~~~~~~~~~~~~~~~~~
    [102/322] Building C object CMakeFiles/app.dir/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/image_rsa.c.obj
    FAILED: CMakeFiles/app.dir/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/image_rsa.c.obj
    ccache /Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMBEDTLS_CONFIG_FILE=\"mcuboot-mbedtls-cfg.h\" -DNCS_APPLICATION_BOOT_BANNER_GIT_REPO -DNRF5340_XXAA_APPLICATION -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DUSE_PARTITION_MANAGER=1 -D__PROGRAM_START -D__ZEPHYR__=1 -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/targets -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/include -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/include -I/Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/mcuboot/zephyr/include/generated -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/soc/nordic -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/soc/nordic/nrf53/. -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/soc/nordic/common/. -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/subsys/usb/device -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/drivers/usb/common/nrf_usbd_common/. -I/Users/FARLY7/workspace/aura/aura-firmware/nrf/include -I/Users/FARLY7/workspace/aura/aura-firmware/nrf/tests/include -I/Users/FARLY7/workspace/aura/aura-firmware/modules/hal/cmsis/CMSIS/Core/Include -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/modules/cmsis/. -I/Users/FARLY7/workspace/aura/aura-firmware/modules/hal/nordic/nrfx -I/Users/FARLY7/workspace/aura/aura-firmware/modules/hal/nordic/nrfx/drivers/include -I/Users/FARLY7/workspace/aura/aura-firmware/modules/hal/nordic/nrfx/mdk -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/modules/hal_nordic/nrfx/. -I/Users/FARLY7/workspace/aura/aura-firmware/modules/lib/zcbor/include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/boot_serial/include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src -I/Users/FARLY7/workspace/aura/aura-firmware/modules/crypto/mbedtls/include -I/Users/FARLY7/workspace/aura/aura-firmware/modules/crypto/mbedtls/include/library -I/Users/FARLY7/workspace/aura/aura-firmware/modules/crypto/mbedtls/library -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/modules/mbedtls/configs -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/modules/mbedtls/include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/zephyr/.. -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/zephyr/../include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem /Users/FARLY7/workspace/aura/aura-firmware/zephyr/lib/libc/minimal/include -isystem /Users/FARLY7/workspace/aura/aura-firmware/zephyr/lib/libc/common/include -isystem /Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem /Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem /Users/FARLY7/workspace/aura/aura-firmware/nrfxlib/crypto/nrf_cc312_platform/include -fno-strict-aliasing -Os -imacros /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/mcuboot/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=/Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/arm-zephyr-eabi -imacros /Users/FARLY7/workspace/aura/aura-firmware/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=/Users/FARLY7/workspace/aura/aura-firmware/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/Users/FARLY7/workspace/aura/aura-firmware=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/image_rsa.c.obj -MF CMakeFiles/app.dir/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/image_rsa.c.obj.d -o CMakeFiles/app.dir/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/image_rsa.c.obj -c /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/image_rsa.c
    In file included from /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/sysflash.h:10,
                     from /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/bootutil_priv.h:33,
                     from /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/image_rsa.c:33:
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h: In function '__flash_area_ids_for_slot':
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:48:62: error: 'PM_MCUBOOT_SECONDARY_1_ID' undeclared (first use in this function); did you mean 'PM_MCUBOOT_SECONDARY_ID'?
       48 | #define FLASH_AREA_IMAGE_1_SLOTS    PM_MCUBOOT_PRIMARY_1_ID, PM_MCUBOOT_SECONDARY_1_ID
          |                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:55:29: note: in expansion of macro 'FLASH_AREA_IMAGE_1_SLOTS'
       55 |                             FLASH_AREA_IMAGE_1_SLOTS
          |                             ^~~~~~~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:67:9: note: in expansion of macro 'ALL_AVAILABLE_SLOTS'
       67 |         ALL_AVAILABLE_SLOTS
          |         ^~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:48:62: note: each undeclared identifier is reported only once for each function it appears in
       48 | #define FLASH_AREA_IMAGE_1_SLOTS    PM_MCUBOOT_PRIMARY_1_ID, PM_MCUBOOT_SECONDARY_1_ID
          |                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:55:29: note: in expansion of macro 'FLASH_AREA_IMAGE_1_SLOTS'
       55 |                             FLASH_AREA_IMAGE_1_SLOTS
          |                             ^~~~~~~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:67:9: note: in expansion of macro 'ALL_AVAILABLE_SLOTS'
       67 |         ALL_AVAILABLE_SLOTS
          |         ^~~~~~~~~~~~~~~~~~~
    [103/322] Building C object CMakeFiles/app.dir/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/bootutil_misc.c.obj
    FAILED: CMakeFiles/app.dir/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/bootutil_misc.c.obj
    ccache /Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMBEDTLS_CONFIG_FILE=\"mcuboot-mbedtls-cfg.h\" -DNCS_APPLICATION_BOOT_BANNER_GIT_REPO -DNRF5340_XXAA_APPLICATION -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DUSE_PARTITION_MANAGER=1 -D__PROGRAM_START -D__ZEPHYR__=1 -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/targets -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/include -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/include -I/Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/mcuboot/zephyr/include/generated -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/soc/nordic -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/soc/nordic/nrf53/. -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/soc/nordic/common/. -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/subsys/usb/device -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/drivers/usb/common/nrf_usbd_common/. -I/Users/FARLY7/workspace/aura/aura-firmware/nrf/include -I/Users/FARLY7/workspace/aura/aura-firmware/nrf/tests/include -I/Users/FARLY7/workspace/aura/aura-firmware/modules/hal/cmsis/CMSIS/Core/Include -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/modules/cmsis/. -I/Users/FARLY7/workspace/aura/aura-firmware/modules/hal/nordic/nrfx -I/Users/FARLY7/workspace/aura/aura-firmware/modules/hal/nordic/nrfx/drivers/include -I/Users/FARLY7/workspace/aura/aura-firmware/modules/hal/nordic/nrfx/mdk -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/modules/hal_nordic/nrfx/. -I/Users/FARLY7/workspace/aura/aura-firmware/modules/lib/zcbor/include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/boot_serial/include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src -I/Users/FARLY7/workspace/aura/aura-firmware/modules/crypto/mbedtls/include -I/Users/FARLY7/workspace/aura/aura-firmware/modules/crypto/mbedtls/include/library -I/Users/FARLY7/workspace/aura/aura-firmware/modules/crypto/mbedtls/library -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/modules/mbedtls/configs -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/modules/mbedtls/include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/zephyr/.. -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/zephyr/../include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem /Users/FARLY7/workspace/aura/aura-firmware/zephyr/lib/libc/minimal/include -isystem /Users/FARLY7/workspace/aura/aura-firmware/zephyr/lib/libc/common/include -isystem /Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem /Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem /Users/FARLY7/workspace/aura/aura-firmware/nrfxlib/crypto/nrf_cc312_platform/include -fno-strict-aliasing -Os -imacros /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/mcuboot/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=/Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/arm-zephyr-eabi -imacros /Users/FARLY7/workspace/aura/aura-firmware/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=/Users/FARLY7/workspace/aura/aura-firmware/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/Users/FARLY7/workspace/aura/aura-firmware=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/bootutil_misc.c.obj -MF CMakeFiles/app.dir/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/bootutil_misc.c.obj.d -o CMakeFiles/app.dir/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/bootutil_misc.c.obj -c /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/bootutil_misc.c
    In file included from /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/sysflash.h:10,
                     from /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/bootutil_misc.c:32:
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h: In function '__flash_area_ids_for_slot':
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:48:62: error: 'PM_MCUBOOT_SECONDARY_1_ID' undeclared (first use in this function); did you mean 'PM_MCUBOOT_SECONDARY_ID'?
       48 | #define FLASH_AREA_IMAGE_1_SLOTS    PM_MCUBOOT_PRIMARY_1_ID, PM_MCUBOOT_SECONDARY_1_ID
          |                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:55:29: note: in expansion of macro 'FLASH_AREA_IMAGE_1_SLOTS'
       55 |                             FLASH_AREA_IMAGE_1_SLOTS
          |                             ^~~~~~~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:67:9: note: in expansion of macro 'ALL_AVAILABLE_SLOTS'
       67 |         ALL_AVAILABLE_SLOTS
          |         ^~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:48:62: note: each undeclared identifier is reported only once for each function it appears in
       48 | #define FLASH_AREA_IMAGE_1_SLOTS    PM_MCUBOOT_PRIMARY_1_ID, PM_MCUBOOT_SECONDARY_1_ID
          |                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:55:29: note: in expansion of macro 'FLASH_AREA_IMAGE_1_SLOTS'
       55 |                             FLASH_AREA_IMAGE_1_SLOTS
          |                             ^~~~~~~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:67:9: note: in expansion of macro 'ALL_AVAILABLE_SLOTS'
       67 |         ALL_AVAILABLE_SLOTS
          |         ^~~~~~~~~~~~~~~~~~~
    [104/322] Building C object CMakeFiles/app.dir/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/swap_misc.c.obj
    FAILED: CMakeFiles/app.dir/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/swap_misc.c.obj
    ccache /Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMBEDTLS_CONFIG_FILE=\"mcuboot-mbedtls-cfg.h\" -DNCS_APPLICATION_BOOT_BANNER_GIT_REPO -DNRF5340_XXAA_APPLICATION -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DUSE_PARTITION_MANAGER=1 -D__PROGRAM_START -D__ZEPHYR__=1 -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/targets -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/include -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/include -I/Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/mcuboot/zephyr/include/generated -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/soc/nordic -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/soc/nordic/nrf53/. -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/soc/nordic/common/. -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/subsys/usb/device -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/drivers/usb/common/nrf_usbd_common/. -I/Users/FARLY7/workspace/aura/aura-firmware/nrf/include -I/Users/FARLY7/workspace/aura/aura-firmware/nrf/tests/include -I/Users/FARLY7/workspace/aura/aura-firmware/modules/hal/cmsis/CMSIS/Core/Include -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/modules/cmsis/. -I/Users/FARLY7/workspace/aura/aura-firmware/modules/hal/nordic/nrfx -I/Users/FARLY7/workspace/aura/aura-firmware/modules/hal/nordic/nrfx/drivers/include -I/Users/FARLY7/workspace/aura/aura-firmware/modules/hal/nordic/nrfx/mdk -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/modules/hal_nordic/nrfx/. -I/Users/FARLY7/workspace/aura/aura-firmware/modules/lib/zcbor/include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/boot_serial/include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src -I/Users/FARLY7/workspace/aura/aura-firmware/modules/crypto/mbedtls/include -I/Users/FARLY7/workspace/aura/aura-firmware/modules/crypto/mbedtls/include/library -I/Users/FARLY7/workspace/aura/aura-firmware/modules/crypto/mbedtls/library -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/modules/mbedtls/configs -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/modules/mbedtls/include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/zephyr/.. -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/zephyr/../include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem /Users/FARLY7/workspace/aura/aura-firmware/zephyr/lib/libc/minimal/include -isystem /Users/FARLY7/workspace/aura/aura-firmware/zephyr/lib/libc/common/include -isystem /Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem /Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem /Users/FARLY7/workspace/aura/aura-firmware/nrfxlib/crypto/nrf_cc312_platform/include -fno-strict-aliasing -Os -imacros /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/mcuboot/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=/Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/arm-zephyr-eabi -imacros /Users/FARLY7/workspace/aura/aura-firmware/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=/Users/FARLY7/workspace/aura/aura-firmware/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/Users/FARLY7/workspace/aura/aura-firmware=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/swap_misc.c.obj -MF CMakeFiles/app.dir/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/swap_misc.c.obj.d -o CMakeFiles/app.dir/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/swap_misc.c.obj -c /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/swap_misc.c
    In file included from /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/sysflash.h:10,
                     from /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/bootutil_priv.h:33,
                     from /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/swap_misc.c:25:
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h: In function '__flash_area_ids_for_slot':
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:48:62: error: 'PM_MCUBOOT_SECONDARY_1_ID' undeclared (first use in this function); did you mean 'PM_MCUBOOT_SECONDARY_ID'?
       48 | #define FLASH_AREA_IMAGE_1_SLOTS    PM_MCUBOOT_PRIMARY_1_ID, PM_MCUBOOT_SECONDARY_1_ID
          |                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:55:29: note: in expansion of macro 'FLASH_AREA_IMAGE_1_SLOTS'
       55 |                             FLASH_AREA_IMAGE_1_SLOTS
          |                             ^~~~~~~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:67:9: note: in expansion of macro 'ALL_AVAILABLE_SLOTS'
       67 |         ALL_AVAILABLE_SLOTS
          |         ^~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:48:62: note: each undeclared identifier is reported only once for each function it appears in
       48 | #define FLASH_AREA_IMAGE_1_SLOTS    PM_MCUBOOT_PRIMARY_1_ID, PM_MCUBOOT_SECONDARY_1_ID
          |                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:55:29: note: in expansion of macro 'FLASH_AREA_IMAGE_1_SLOTS'
       55 |                             FLASH_AREA_IMAGE_1_SLOTS
          |                             ^~~~~~~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:67:9: note: in expansion of macro 'ALL_AVAILABLE_SLOTS'
       67 |         ALL_AVAILABLE_SLOTS
          |         ^~~~~~~~~~~~~~~~~~~
    [105/322] Building C object CMakeFiles/app.dir/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/loader.c.obj
    FAILED: CMakeFiles/app.dir/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/loader.c.obj
    ccache /Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMBEDTLS_CONFIG_FILE=\"mcuboot-mbedtls-cfg.h\" -DNCS_APPLICATION_BOOT_BANNER_GIT_REPO -DNRF5340_XXAA_APPLICATION -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DUSE_PARTITION_MANAGER=1 -D__PROGRAM_START -D__ZEPHYR__=1 -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/targets -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/include -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/include -I/Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/mcuboot/zephyr/include/generated -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/soc/nordic -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/soc/nordic/nrf53/. -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/soc/nordic/common/. -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/subsys/usb/device -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/drivers/usb/common/nrf_usbd_common/. -I/Users/FARLY7/workspace/aura/aura-firmware/nrf/include -I/Users/FARLY7/workspace/aura/aura-firmware/nrf/tests/include -I/Users/FARLY7/workspace/aura/aura-firmware/modules/hal/cmsis/CMSIS/Core/Include -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/modules/cmsis/. -I/Users/FARLY7/workspace/aura/aura-firmware/modules/hal/nordic/nrfx -I/Users/FARLY7/workspace/aura/aura-firmware/modules/hal/nordic/nrfx/drivers/include -I/Users/FARLY7/workspace/aura/aura-firmware/modules/hal/nordic/nrfx/mdk -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/modules/hal_nordic/nrfx/. -I/Users/FARLY7/workspace/aura/aura-firmware/modules/lib/zcbor/include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/boot_serial/include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src -I/Users/FARLY7/workspace/aura/aura-firmware/modules/crypto/mbedtls/include -I/Users/FARLY7/workspace/aura/aura-firmware/modules/crypto/mbedtls/include/library -I/Users/FARLY7/workspace/aura/aura-firmware/modules/crypto/mbedtls/library -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/modules/mbedtls/configs -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/modules/mbedtls/include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/zephyr/.. -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/zephyr/../include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem /Users/FARLY7/workspace/aura/aura-firmware/zephyr/lib/libc/minimal/include -isystem /Users/FARLY7/workspace/aura/aura-firmware/zephyr/lib/libc/common/include -isystem /Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem /Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem /Users/FARLY7/workspace/aura/aura-firmware/nrfxlib/crypto/nrf_cc312_platform/include -fno-strict-aliasing -Os -imacros /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/mcuboot/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=/Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/arm-zephyr-eabi -imacros /Users/FARLY7/workspace/aura/aura-firmware/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=/Users/FARLY7/workspace/aura/aura-firmware/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/Users/FARLY7/workspace/aura/aura-firmware=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/loader.c.obj -MF CMakeFiles/app.dir/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/loader.c.obj.d -o CMakeFiles/app.dir/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/loader.c.obj -c /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/loader.c
    In file included from /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/sysflash.h:10,
                     from /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/bootutil_priv.h:33,
                     from /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/loader.c:42:
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h: In function '__flash_area_ids_for_slot':
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:48:62: error: 'PM_MCUBOOT_SECONDARY_1_ID' undeclared (first use in this function); did you mean 'PM_MCUBOOT_SECONDARY_ID'?
       48 | #define FLASH_AREA_IMAGE_1_SLOTS    PM_MCUBOOT_PRIMARY_1_ID, PM_MCUBOOT_SECONDARY_1_ID
          |                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:55:29: note: in expansion of macro 'FLASH_AREA_IMAGE_1_SLOTS'
       55 |                             FLASH_AREA_IMAGE_1_SLOTS
          |                             ^~~~~~~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:67:9: note: in expansion of macro 'ALL_AVAILABLE_SLOTS'
       67 |         ALL_AVAILABLE_SLOTS
          |         ^~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:48:62: note: each undeclared identifier is reported only once for each function it appears in
       48 | #define FLASH_AREA_IMAGE_1_SLOTS    PM_MCUBOOT_PRIMARY_1_ID, PM_MCUBOOT_SECONDARY_1_ID
          |                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:55:29: note: in expansion of macro 'FLASH_AREA_IMAGE_1_SLOTS'
       55 |                             FLASH_AREA_IMAGE_1_SLOTS
          |                             ^~~~~~~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:67:9: note: in expansion of macro 'ALL_AVAILABLE_SLOTS'
       67 |         ALL_AVAILABLE_SLOTS
          |         ^~~~~~~~~~~~~~~~~~~
    [106/322] Building C object CMakeFiles/app.dir/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/swap_scratch.c.obj
    FAILED: CMakeFiles/app.dir/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/swap_scratch.c.obj
    ccache /Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMBEDTLS_CONFIG_FILE=\"mcuboot-mbedtls-cfg.h\" -DNCS_APPLICATION_BOOT_BANNER_GIT_REPO -DNRF5340_XXAA_APPLICATION -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DUSE_PARTITION_MANAGER=1 -D__PROGRAM_START -D__ZEPHYR__=1 -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/targets -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/include -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/include -I/Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/mcuboot/zephyr/include/generated -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/soc/nordic -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/soc/nordic/nrf53/. -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/soc/nordic/common/. -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/subsys/usb/device -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/drivers/usb/common/nrf_usbd_common/. -I/Users/FARLY7/workspace/aura/aura-firmware/nrf/include -I/Users/FARLY7/workspace/aura/aura-firmware/nrf/tests/include -I/Users/FARLY7/workspace/aura/aura-firmware/modules/hal/cmsis/CMSIS/Core/Include -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/modules/cmsis/. -I/Users/FARLY7/workspace/aura/aura-firmware/modules/hal/nordic/nrfx -I/Users/FARLY7/workspace/aura/aura-firmware/modules/hal/nordic/nrfx/drivers/include -I/Users/FARLY7/workspace/aura/aura-firmware/modules/hal/nordic/nrfx/mdk -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/modules/hal_nordic/nrfx/. -I/Users/FARLY7/workspace/aura/aura-firmware/modules/lib/zcbor/include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/boot_serial/include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src -I/Users/FARLY7/workspace/aura/aura-firmware/modules/crypto/mbedtls/include -I/Users/FARLY7/workspace/aura/aura-firmware/modules/crypto/mbedtls/include/library -I/Users/FARLY7/workspace/aura/aura-firmware/modules/crypto/mbedtls/library -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/modules/mbedtls/configs -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/modules/mbedtls/include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/zephyr/.. -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/zephyr/../include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem /Users/FARLY7/workspace/aura/aura-firmware/zephyr/lib/libc/minimal/include -isystem /Users/FARLY7/workspace/aura/aura-firmware/zephyr/lib/libc/common/include -isystem /Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem /Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem /Users/FARLY7/workspace/aura/aura-firmware/nrfxlib/crypto/nrf_cc312_platform/include -fno-strict-aliasing -Os -imacros /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/mcuboot/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=/Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/arm-zephyr-eabi -imacros /Users/FARLY7/workspace/aura/aura-firmware/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=/Users/FARLY7/workspace/aura/aura-firmware/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/Users/FARLY7/workspace/aura/aura-firmware=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/swap_scratch.c.obj -MF CMakeFiles/app.dir/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/swap_scratch.c.obj.d -o CMakeFiles/app.dir/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/swap_scratch.c.obj -c /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/swap_scratch.c
    In file included from /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/sysflash.h:10,
                     from /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/bootutil_priv.h:33,
                     from /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/swap_scratch.c:25:
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h: In function '__flash_area_ids_for_slot':
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:48:62: error: 'PM_MCUBOOT_SECONDARY_1_ID' undeclared (first use in this function); did you mean 'PM_MCUBOOT_SECONDARY_ID'?
       48 | #define FLASH_AREA_IMAGE_1_SLOTS    PM_MCUBOOT_PRIMARY_1_ID, PM_MCUBOOT_SECONDARY_1_ID
          |                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:55:29: note: in expansion of macro 'FLASH_AREA_IMAGE_1_SLOTS'
       55 |                             FLASH_AREA_IMAGE_1_SLOTS
          |                             ^~~~~~~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:67:9: note: in expansion of macro 'ALL_AVAILABLE_SLOTS'
       67 |         ALL_AVAILABLE_SLOTS
          |         ^~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:48:62: note: each undeclared identifier is reported only once for each function it appears in
       48 | #define FLASH_AREA_IMAGE_1_SLOTS    PM_MCUBOOT_PRIMARY_1_ID, PM_MCUBOOT_SECONDARY_1_ID
          |                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:55:29: note: in expansion of macro 'FLASH_AREA_IMAGE_1_SLOTS'
       55 |                             FLASH_AREA_IMAGE_1_SLOTS
          |                             ^~~~~~~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:67:9: note: in expansion of macro 'ALL_AVAILABLE_SLOTS'
       67 |         ALL_AVAILABLE_SLOTS
          |         ^~~~~~~~~~~~~~~~~~~
    [107/322] Building C object CMakeFiles/app.dir/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/swap_move.c.obj
    FAILED: CMakeFiles/app.dir/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/swap_move.c.obj
    ccache /Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMBEDTLS_CONFIG_FILE=\"mcuboot-mbedtls-cfg.h\" -DNCS_APPLICATION_BOOT_BANNER_GIT_REPO -DNRF5340_XXAA_APPLICATION -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DUSE_PARTITION_MANAGER=1 -D__PROGRAM_START -D__ZEPHYR__=1 -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/targets -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/include -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/include -I/Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/mcuboot/zephyr/include/generated -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/soc/nordic -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/soc/nordic/nrf53/. -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/soc/nordic/common/. -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/subsys/usb/device -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/drivers/usb/common/nrf_usbd_common/. -I/Users/FARLY7/workspace/aura/aura-firmware/nrf/include -I/Users/FARLY7/workspace/aura/aura-firmware/nrf/tests/include -I/Users/FARLY7/workspace/aura/aura-firmware/modules/hal/cmsis/CMSIS/Core/Include -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/modules/cmsis/. -I/Users/FARLY7/workspace/aura/aura-firmware/modules/hal/nordic/nrfx -I/Users/FARLY7/workspace/aura/aura-firmware/modules/hal/nordic/nrfx/drivers/include -I/Users/FARLY7/workspace/aura/aura-firmware/modules/hal/nordic/nrfx/mdk -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/modules/hal_nordic/nrfx/. -I/Users/FARLY7/workspace/aura/aura-firmware/modules/lib/zcbor/include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/boot_serial/include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src -I/Users/FARLY7/workspace/aura/aura-firmware/modules/crypto/mbedtls/include -I/Users/FARLY7/workspace/aura/aura-firmware/modules/crypto/mbedtls/include/library -I/Users/FARLY7/workspace/aura/aura-firmware/modules/crypto/mbedtls/library -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/modules/mbedtls/configs -I/Users/FARLY7/workspace/aura/aura-firmware/zephyr/modules/mbedtls/include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/zephyr/.. -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/zephyr/../include -I/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem /Users/FARLY7/workspace/aura/aura-firmware/zephyr/lib/libc/minimal/include -isystem /Users/FARLY7/workspace/aura/aura-firmware/zephyr/lib/libc/common/include -isystem /Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem /Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem /Users/FARLY7/workspace/aura/aura-firmware/nrfxlib/crypto/nrf_cc312_platform/include -fno-strict-aliasing -Os -imacros /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/mcuboot/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=/Users/FARLY7/zephyr-sdk-0.16.8/arm-zephyr-eabi/arm-zephyr-eabi -imacros /Users/FARLY7/workspace/aura/aura-firmware/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=/Users/FARLY7/workspace/aura/aura-firmware/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/Users/FARLY7/workspace/aura/aura-firmware=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/swap_move.c.obj -MF CMakeFiles/app.dir/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/swap_move.c.obj.d -o CMakeFiles/app.dir/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/swap_move.c.obj -c /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/swap_move.c
    In file included from /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/sysflash.h:10,
                     from /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/bootutil_priv.h:33,
                     from /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/swap_move.c:25:
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h: In function '__flash_area_ids_for_slot':
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:48:62: error: 'PM_MCUBOOT_SECONDARY_1_ID' undeclared (first use in this function); did you mean 'PM_MCUBOOT_SECONDARY_ID'?
       48 | #define FLASH_AREA_IMAGE_1_SLOTS    PM_MCUBOOT_PRIMARY_1_ID, PM_MCUBOOT_SECONDARY_1_ID
          |                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:55:29: note: in expansion of macro 'FLASH_AREA_IMAGE_1_SLOTS'
       55 |                             FLASH_AREA_IMAGE_1_SLOTS
          |                             ^~~~~~~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:67:9: note: in expansion of macro 'ALL_AVAILABLE_SLOTS'
       67 |         ALL_AVAILABLE_SLOTS
          |         ^~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:48:62: note: each undeclared identifier is reported only once for each function it appears in
       48 | #define FLASH_AREA_IMAGE_1_SLOTS    PM_MCUBOOT_PRIMARY_1_ID, PM_MCUBOOT_SECONDARY_1_ID
          |                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:55:29: note: in expansion of macro 'FLASH_AREA_IMAGE_1_SLOTS'
       55 |                             FLASH_AREA_IMAGE_1_SLOTS
          |                             ^~~~~~~~~~~~~~~~~~~~~~~~
    /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:67:9: note: in expansion of macro 'ALL_AVAILABLE_SLOTS'
       67 |         ALL_AVAILABLE_SLOTS
          |         ^~~~~~~~~~~~~~~~~~~
    ninja: build stopped: subcommand failed.
    [34/47] cd /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/_sysbuild && /opt/homebrew/Cellar/cmake/3.29.5/bin/cmake -E true
    FAILED: _sysbuild/sysbuild/images/bootloader/mcuboot-prefix/src/mcuboot-stamp/mcuboot-build /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/_sysbuild/sysbuild/images/bootloader/mcuboot-prefix/src/mcuboot-stamp/mcuboot-build
    cd /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build/mcuboot && /opt/homebrew/Cellar/cmake/3.29.5/bin/cmake --build .
    ninja: build stopped: subcommand failed.
    FATAL ERROR: command exited with status 1: /opt/homebrew/bin/cmake --build /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio/build
    ~/workspace/aura/aura-firmware/nrf/applications/nrf5340_audio #v2.7.0-rc2 *2 !19 ?11 ❯

  • I have also tried using the Nordic sample bluetooth/peripheral_uart and the error message is the same.

    I have been trying for 2 days now, but I simply cannot get past this specific build error even after trying many different .conf file configurations.

Related