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

DSP_PRESENT Macro Disabled in nrf5340_network.h file

Hi,

My observations:
DSP_PRESENT Macro is enabled in nrf51.h , nrf52.h, nrf5340_application.h files in v1.5.0\modules\hal\nordic\nrfx\mdk path
As shown below: 
#define __DSP_PRESENT 1 /*!< DSP present or not

DSP_[RESENT Macro is disabled in nrf5340_network.h file in v1.5.0\modules\hal\nordic\nrfx\mdk
As shown below:
#define __DSP_PRESENT 0 /*!< DSP present or not

I have used nrf5340_network.h file in my application. The below error is occured during compilation code which is generated from core_cm33.h
#error "Compiler generates DSP (SIMD) instructions for a devices without DSP extensions (check __DSP_PRESENT)"

I think so, because of disabled  __DSP_PRESENT Macro.

May I know why it is disabled in nrf5340_network.h file and why it is enabled in nrf51.h, nrf52.h and nrf5340_application.h files.

Thanks & Regards,

Srinivas Rao.

Parents
  • Hi!

    The nRF5340 network core does not have a DSP, hence it's not enabled either. You can find the supported modules in the product specification.

    Best regards,
    Carl Richard

  • Hi ,

    I am using AES (Advanced Encryption Standard) Module. AES related structure defined in nrf5340_network.h file only.

    please check below code snippet for your information.

    /**
    * @brief AES CCM mode encryption (CCM_NS)
    */

    typedef struct { /*!< (@ 0x4100E000) CCM_NS Structure */
    __OM uint32_t TASKS_KSGEN; /*!< (@ 0x00000000) Start generation of keystream. This operation
    will stop by itself when completed. */
    __OM uint32_t TASKS_CRYPT; /*!< (@ 0x00000004) Start encryption/decryption. This operation will
    stop by itself when completed. */
    __OM uint32_t TASKS_STOP; /*!< (@ 0x00000008) Stop encryption/decryption */
    __OM uint32_t TASKS_RATEOVERRIDE; /*!< (@ 0x0000000C) Override DATARATE setting in MODE register with
    the contents of the RATEOVERRIDE register
    for any ongoing encryption/decryption */
    __IM uint32_t RESERVED[28];
    __IOM uint32_t SUBSCRIBE_KSGEN; /*!< (@ 0x00000080) Subscribe configuration for task KSGEN */
    __IOM uint32_t SUBSCRIBE_CRYPT; /*!< (@ 0x00000084) Subscribe configuration for task CRYPT */
    __IOM uint32_t SUBSCRIBE_STOP; /*!< (@ 0x00000088) Subscribe configuration for task STOP */
    __IOM uint32_t SUBSCRIBE_RATEOVERRIDE; /*!< (@ 0x0000008C) Subscribe configuration for task RATEOVERRIDE */
    __IM uint32_t RESERVED1[28];
    __IOM uint32_t EVENTS_ENDKSGEN; /*!< (@ 0x00000100) Keystream generation complete */
    __IOM uint32_t EVENTS_ENDCRYPT; /*!< (@ 0x00000104) Encrypt/decrypt complete */
    __IOM uint32_t EVENTS_ERROR; /*!< (@ 0x00000108) Deprecated register - CCM error event */
    __IM uint32_t RESERVED2[29];
    __IOM uint32_t PUBLISH_ENDKSGEN; /*!< (@ 0x00000180) Publish configuration for event ENDKSGEN */
    __IOM uint32_t PUBLISH_ENDCRYPT; /*!< (@ 0x00000184) Publish configuration for event ENDCRYPT */
    __IOM uint32_t PUBLISH_ERROR; /*!< (@ 0x00000188) Deprecated register - Publish configuration for
    event ERROR */
    __IM uint32_t RESERVED3[29];
    __IOM uint32_t SHORTS; /*!< (@ 0x00000200) Shortcuts between local events and tasks */
    __IM uint32_t RESERVED4[64];
    __IOM uint32_t INTENSET; /*!< (@ 0x00000304) Enable interrupt */
    __IOM uint32_t INTENCLR; /*!< (@ 0x00000308) Disable interrupt */
    __IM uint32_t RESERVED5[61];
    __IM uint32_t MICSTATUS; /*!< (@ 0x00000400) MIC check result */
    __IM uint32_t RESERVED6[63];
    __IOM uint32_t ENABLE; /*!< (@ 0x00000500) Enable */
    __IOM uint32_t MODE; /*!< (@ 0x00000504) Operation mode */
    __IOM uint32_t CNFPTR; /*!< (@ 0x00000508) Pointer to data structure holding the AES key
    and the NONCE vector */
    __IOM uint32_t INPTR; /*!< (@ 0x0000050C) Input pointer */
    __IOM uint32_t OUTPTR; /*!< (@ 0x00000510) Output pointer */
    __IOM uint32_t SCRATCHPTR; /*!< (@ 0x00000514) Pointer to data area used for temporary storage */
    __IOM uint32_t MAXPACKETSIZE; /*!< (@ 0x00000518) Length of keystream generated when MODE.LENGTH
    = Extended */
    __IOM uint32_t RATEOVERRIDE; /*!< (@ 0x0000051C) Data rate override setting. */
    __IOM uint32_t HEADERMASK; /*!< (@ 0x00000520) Header (S0) mask. */
    } NRF_CCM_Type; /*!< Size = 1316 (0x524) */

    Regards,

    Srinivas.

  • Hi again!

    It's correct that the CCM module is only present in the network core. It is a standalone peripheral and does not need DSP support if that what's you are wondering about. Could you please elaborate on your issue?

    Best regards,
    Carl Richard

  • Hi, 

    If __DSP_PRESENT is not enabled in nrf5340_network.h file . we are getting compilation error because as per showing below snippet code  in core_cm33.h file, enter into highlighted else condition .

    #if defined (__ARM_FEATURE_DSP) && (__ARM_FEATURE_DSP == 1U)
    #if defined (__DSP_PRESENT) && (__DSP_PRESENT == 1U)
    #define __DSP_USED 1U
    #else
    #error "Compiler generates DSP (SIMD) instructions for a devices without DSP extensions (check __DSP_PRESENT)"
    #define __DSP_USED 0U
    #endif
    #else
    #define __DSP_USED 0U
    #endif

    Regards,

    Srinivas

  • Hi again!

    It seems like the compiler is trying to generate the DSP instructions, even though it's not present. This is likely due to your project configuration.

    Could you share your application here? Especially prj.conf and main.

    Best regards,
    Carl Richard

Reply Children
  • Hi ,

    please check below configuration 

    #
    # Copyright (c) 2019 Nordic Semiconductor ASA
    #
    # SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
    #
    CONFIG_NCS_SAMPLES_DEFAULTS=y

    # General configuration
    CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
    #CONFIG_FLASH=y
    CONFIG_FLASH_MAP=y
    CONFIG_FCB=y
    CONFIG_SETTINGS=y
    CONFIG_HWINFO=y
    CONFIG_LOG=y
    CONFIG_LOG_PRINTK=y

    CONFIG_DK_LIBRARY=y
    CONFIG_BT_MESH_DK_PROV=y

    # Bluetooth configuration
    CONFIG_BT=y
    CONFIG_BT_COMPANY_ID=0x0059
    CONFIG_BT_DEVICE_NAME="Mesh Light"
    CONFIG_BT_L2CAP_RX_MTU=69
    CONFIG_BT_L2CAP_TX_MTU=69
    CONFIG_BT_L2CAP_TX_BUF_COUNT=8
    CONFIG_BT_LL_SW_SPLIT=y
    CONFIG_BT_OBSERVER=y
    CONFIG_BT_PERIPHERAL=y
    CONFIG_BT_SETTINGS=y
    CONFIG_BT_TINYCRYPT_ECC=y

    # Disable unused Bluetooth features
    CONFIG_BT_CTLR_DUP_FILTER_LEN=0
    CONFIG_BT_CTLR_LE_ENC=n
    CONFIG_BT_DATA_LEN_UPDATE=n
    CONFIG_BT_PHY_UPDATE=n
    CONFIG_BT_CTLR_CHAN_SEL_2=n
    CONFIG_BT_CTLR_MIN_USED_CHAN=n
    CONFIG_BT_CTLR_PRIVACY=n

    # Bluetooth mesh configuration
    CONFIG_BT_MESH=y
    CONFIG_BT_MESH_RELAY=y
    CONFIG_BT_MESH_FRIEND=y
    CONFIG_BT_MESH_ADV_BUF_COUNT=13
    CONFIG_BT_MESH_TX_SEG_MAX=10
    CONFIG_BT_MESH_PB_GATT=y
    CONFIG_BT_MESH_GATT_PROXY=y

    # Bluetooth mesh models
    CONFIG_BT_MESH_ONOFF_SRV=y

    # FLASH INTEGRATION
    CONFIG_STDOUT_CONSOLE=y
    CONFIG_FLASH=y
    CONFIG_FLASH_PAGE_LAYOUT=y
    CONFIG_MPU_ALLOW_FLASH_WRITE=y
    CONFIG_SOC_FLASH_NRF_EMULATE_ONE_BYTE_WRITE_ACCESS=y
    CONFIG_CPLUSPLUS=y
    CONFIG_LIB_CPLUSPLUS=y

    Regards,

    Srinivas

  • I can't see anything obvious here. Is this configuration only for the network core?

    Are you trying to use the DSP directly or does error surface when you try to use the AES CCM?

    Best regards,
    Carl Richard

  • when am I try to use AES CCM then i got an compilation error. I have enabled DSP_PRESENT Macro for time being but i got another issue when i called AES CCM functionalities . please check below log

    C:\Nordic>west build -d C:\Users\srinivas_r\Downloads\ble_mesh_server\ble_mesh_server\build_nrf5340dk_nrf5340_cpuapp --board nrf5340dk_nrf5340_cpuapp C:\Users\srinivas_r\Downloads\ble_mesh_server\ble_mesh_server
    [1/7] Building CXX object CMakeFiles/app.dir/src/main.cpp.obj
    FAILED: CMakeFiles/app.dir/src/main.cpp.obj
    C:\Nordic\v1.5.0\toolchain\opt\bin\arm-none-eabi-g++.exe -DBUILD_VERSION=v2.4.99-ncs1 -DKERNEL -DNRF5340_XXAA_APPLICATION -DUSE_PARTITION_MANAGER=0 -D_FORTIFY_SOURCE=2 -D__PROGRAM_START -D__ZEPHYR__=1 -I../include -IC:/Nordic/v1.5.0/zephyr/include -Izephyr/include/generated -IC:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53 -IC:/Nordic/v1.5.0/zephyr/subsys/settings/include -IC:/Nordic/v1.5.0/nrf/include -IC:/Nordic/v1.5.0/modules/hal/cmsis/CMSIS/Core/Include -IC:/Nordic/v1.5.0/modules/hal/nordic/nrfx -IC:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/include -IC:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk -IC:/Nordic/v1.5.0/zephyr/modules/hal_nordic/nrfx/. -isystem C:/Nordic/v1.5.0/zephyr/lib/libc/minimal/include -isystem c:/nordic/v1.5.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include -isystem c:/nordic/v1.5.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed -isystem C:/Nordic/v1.5.0/nrfxlib/crypto/nrf_cc312_platform/include -Os -fcheck-new -std=c++11 -Wno-register -fno-exceptions -fno-rtti -imacros C:/Users/srinivas_r/Downloads/ble_mesh_server/ble_mesh_server/build_nrf5340dk_nrf5340_cpuapp/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -mcpu=cortex-m33 -mthumb -mabi=aapcs -imacros C:/Nordic/v1.5.0/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wpointer-arith -Wno-address-of-packed-member -Wno-unused-but-set-variable -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=C:/Users/srinivas_r/Downloads/ble_mesh_server/ble_mesh_server=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/Nordic/v1.5.0/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/Nordic/v1.5.0=WEST_TOPDIR -ffunction-sections -fdata-sections -nostdinc -MD -MT CMakeFiles/app.dir/src/main.cpp.obj -MF CMakeFiles\app.dir\src\main.cpp.obj.d -o CMakeFiles/app.dir/src/main.cpp.obj -c ../src/main.cpp
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:108: warning: "__FPU_PRESENT" redefined
    108 | #define __FPU_PRESENT 0 /*!< FPU present */
    |
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:129: note: this is the location of the previous definition
    129 | #define __FPU_PRESENT 1 /*!< FPU present */
    |
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:1920: warning: "NRF_DCNF_NS_BASE" redefined
    1920 | #define NRF_DCNF_NS_BASE 0x41000000UL
    |
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:3161: note: this is the location of the previous definition
    3161 | #define NRF_DCNF_NS_BASE 0x40000000UL
    |
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:1922: warning: "NRF_CLOCK_NS_BASE" redefined
    1922 | #define NRF_CLOCK_NS_BASE 0x41005000UL
    |
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:3171: note: this is the location of the previous definition
    3171 | #define NRF_CLOCK_NS_BASE 0x40005000UL
    |
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:1923: warning: "NRF_POWER_NS_BASE" redefined
    1923 | #define NRF_POWER_NS_BASE 0x41005000UL
    |
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:3172: note: this is the location of the previous definition
    3172 | #define NRF_POWER_NS_BASE 0x40005000UL
    |
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:1924: warning: "NRF_RESET_NS_BASE" redefined
    1924 | #define NRF_RESET_NS_BASE 0x41005000UL
    |
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:3173: note: this is the location of the previous definition
    3173 | #define NRF_RESET_NS_BASE 0x40005000UL
    |
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:1925: warning: "NRF_CTRLAP_NS_BASE" redefined
    1925 | #define NRF_CTRLAP_NS_BASE 0x41006000UL
    |
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:3177: note: this is the location of the previous definition
    3177 | #define NRF_CTRLAP_NS_BASE 0x40006000UL
    |
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:1930: warning: "NRF_TIMER0_NS_BASE" redefined
    1930 | #define NRF_TIMER0_NS_BASE 0x4100C000UL
    |
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:3224: note: this is the location of the previous definition
    3224 | #define NRF_TIMER0_NS_BASE 0x4000F000UL
    |
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:1934: warning: "NRF_DPPIC_NS_BASE" redefined
    1934 | #define NRF_DPPIC_NS_BASE 0x4100F000UL
    |
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:3234: note: this is the location of the previous definition
    3234 | #define NRF_DPPIC_NS_BASE 0x40017000UL
    |
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:1936: warning: "NRF_RTC0_NS_BASE" redefined
    1936 | #define NRF_RTC0_NS_BASE 0x41011000UL
    |
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:3230: note: this is the location of the previous definition
    3230 | #define NRF_RTC0_NS_BASE 0x40014000UL
    |
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:1937: warning: "NRF_IPC_NS_BASE" redefined
    1937 | #define NRF_IPC_NS_BASE 0x41012000UL
    |
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:3268: note: this is the location of the previous definition
    3268 | #define NRF_IPC_NS_BASE 0x4002A000UL
    |
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:1938: warning: "NRF_SPIM0_NS_BASE" redefined
    1938 | #define NRF_SPIM0_NS_BASE 0x41013000UL
    |
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:3179: note: this is the location of the previous definition
    3179 | #define NRF_SPIM0_NS_BASE 0x40008000UL
    |
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:1939: warning: "NRF_SPIS0_NS_BASE" redefined
    1939 | #define NRF_SPIS0_NS_BASE 0x41013000UL
    |
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:3180: note: this is the location of the previous definition
    3180 | #define NRF_SPIS0_NS_BASE 0x40008000UL
    |
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:1940: warning: "NRF_TWIM0_NS_BASE" redefined
    1940 | #define NRF_TWIM0_NS_BASE 0x41013000UL
    |
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:3181: note: this is the location of the previous definition
    3181 | #define NRF_TWIM0_NS_BASE 0x40008000UL
    |
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:1941: warning: "NRF_TWIS0_NS_BASE" redefined
    1941 | #define NRF_TWIS0_NS_BASE 0x41013000UL
    |
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:3182: note: this is the location of the previous definition
    3182 | #define NRF_TWIS0_NS_BASE 0x40008000UL
    |
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:1942: warning: "NRF_UARTE0_NS_BASE" redefined
    1942 | #define NRF_UARTE0_NS_BASE 0x41013000UL
    |
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:3183: note: this is the location of the previous definition
    3183 | #define NRF_UARTE0_NS_BASE 0x40008000UL
    |
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:1943: warning: "NRF_EGU0_NS_BASE" redefined
    1943 | #define NRF_EGU0_NS_BASE 0x41014000UL
    |
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:3244: note: this is the location of the previous definition
    3244 | #define NRF_EGU0_NS_BASE 0x4001B000UL
    |
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:1944: warning: "NRF_RTC1_NS_BASE" redefined
    1944 | #define NRF_RTC1_NS_BASE 0x41016000UL
    |
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:3232: note: this is the location of the previous definition
    3232 | #define NRF_RTC1_NS_BASE 0x40015000UL
    |
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:1945: warning: "NRF_TIMER1_NS_BASE" redefined
    1945 | #define NRF_TIMER1_NS_BASE 0x41018000UL
    |
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:3226: note: this is the location of the previous definition
    3226 | #define NRF_TIMER1_NS_BASE 0x40010000UL
    |
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:1946: warning: "NRF_TIMER2_NS_BASE" redefined
    1946 | #define NRF_TIMER2_NS_BASE 0x41019000UL
    |
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:3228: note: this is the location of the previous definition
    3228 | #define NRF_TIMER2_NS_BASE 0x40011000UL
    |
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:1954: warning: "NRF_NVMC_NS_BASE" redefined
    1954 | #define NRF_NVMC_NS_BASE 0x41080000UL
    |
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:3286: note: this is the location of the previous definition
    3286 | #define NRF_NVMC_NS_BASE 0x40039000UL
    |
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:1955: warning: "NRF_VMC_NS_BASE" redefined
    1955 | #define NRF_VMC_NS_BASE 0x41081000UL
    |
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:3294: note: this is the location of the previous definition
    3294 | #define NRF_VMC_NS_BASE 0x40081000UL
    |
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:1956: warning: "NRF_P0_NS_BASE" redefined
    1956 | #define NRF_P0_NS_BASE 0x418C0500UL
    |
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:3289: note: this is the location of the previous definition
    3289 | #define NRF_P0_NS_BASE 0x40842500UL
    |
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:1957: warning: "NRF_P1_NS_BASE" redefined
    1957 | #define NRF_P1_NS_BASE 0x418C0800UL
    |
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:3290: note: this is the location of the previous definition
    3290 | #define NRF_P1_NS_BASE 0x40842800UL
    |
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:59:32: error: 'Reset_IRQn' conflicts with a previous declaration
    59 | Reset_IRQn = -15, /*!< -15 Reset Vector, invoked on Power up and warm reset */
    | ^~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:59:3: note: previous declaration 'IRQn_Type Reset_IRQn'
    59 | Reset_IRQn = -15, /*!< -15 Reset Vector, invoked on Power up and warm reset */
    | ^~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:60:32: error: 'NonMaskableInt_IRQn' conflicts with a previous declaration
    60 | NonMaskableInt_IRQn = -14, /*!< -14 Non maskable Interrupt, cannot be stopped or preempted */
    | ^~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:60:3: note: previous declaration 'IRQn_Type NonMaskableInt_IRQn'
    60 | NonMaskableInt_IRQn = -14, /*!< -14 Non maskable Interrupt, cannot be stopped or preempted */
    | ^~~~~~~~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:61:32: error: 'HardFault_IRQn' conflicts with a previous declaration
    61 | HardFault_IRQn = -13, /*!< -13 Hard Fault, all classes of Fault */
    | ^~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:61:3: note: previous declaration 'IRQn_Type HardFault_IRQn'
    61 | HardFault_IRQn = -13, /*!< -13 Hard Fault, all classes of Fault */
    | ^~~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:62:32: error: 'MemoryManagement_IRQn' conflicts with a previous declaration
    62 | MemoryManagement_IRQn = -12, /*!< -12 Memory Management, MPU mismatch, including Access Violation
    | ^~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:62:3: note: previous declaration 'IRQn_Type MemoryManagement_IRQn'
    62 | MemoryManagement_IRQn = -12, /*!< -12 Memory Management, MPU mismatch, including Access Violation
    | ^~~~~~~~~~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:64:32: error: 'BusFault_IRQn' conflicts with a previous declaration
    64 | BusFault_IRQn = -11, /*!< -11 Bus Fault, Pre-Fetch-, Memory Access Fault, other address/memory
    | ^~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:64:3: note: previous declaration 'IRQn_Type BusFault_IRQn'
    64 | BusFault_IRQn = -11, /*!< -11 Bus Fault, Pre-Fetch-, Memory Access Fault, other address/memory
    | ^~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:66:32: error: 'UsageFault_IRQn' conflicts with a previous declaration
    66 | UsageFault_IRQn = -10, /*!< -10 Usage Fault, i.e. Undef Instruction, Illegal State Transition */
    | ^~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:66:3: note: previous declaration 'IRQn_Type UsageFault_IRQn'
    66 | UsageFault_IRQn = -10, /*!< -10 Usage Fault, i.e. Undef Instruction, Illegal State Transition */
    | ^~~~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:67:33: error: 'SecureFault_IRQn' conflicts with a previous declaration
    67 | SecureFault_IRQn = -9, /*!< -9 Secure Fault Handler */
    | ^
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:67:3: note: previous declaration 'IRQn_Type SecureFault_IRQn'
    67 | SecureFault_IRQn = -9, /*!< -9 Secure Fault Handler */
    | ^~~~~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:68:33: error: 'SVCall_IRQn' conflicts with a previous declaration
    68 | SVCall_IRQn = -5, /*!< -5 System Service Call via SVC instruction */
    | ^
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:68:3: note: previous declaration 'IRQn_Type SVCall_IRQn'
    68 | SVCall_IRQn = -5, /*!< -5 System Service Call via SVC instruction */
    | ^~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:69:33: error: 'DebugMonitor_IRQn' conflicts with a previous declaration
    69 | DebugMonitor_IRQn = -4, /*!< -4 Debug Monitor */
    | ^
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:69:3: note: previous declaration 'IRQn_Type DebugMonitor_IRQn'
    69 | DebugMonitor_IRQn = -4, /*!< -4 Debug Monitor */
    | ^~~~~~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:70:33: error: 'PendSV_IRQn' conflicts with a previous declaration
    70 | PendSV_IRQn = -2, /*!< -2 Pendable request for system service */
    | ^
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:70:3: note: previous declaration 'IRQn_Type PendSV_IRQn'
    70 | PendSV_IRQn = -2, /*!< -2 Pendable request for system service */
    | ^~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:71:33: error: 'SysTick_IRQn' conflicts with a previous declaration
    71 | SysTick_IRQn = -1, /*!< -1 System Tick Timer */
    | ^
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:71:3: note: previous declaration 'IRQn_Type SysTick_IRQn'
    71 | SysTick_IRQn = -1, /*!< -1 System Tick Timer */
    | ^~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:73:33: error: 'CLOCK_POWER_IRQn' conflicts with a previous declaration
    73 | CLOCK_POWER_IRQn = 5, /*!< 5 CLOCK_POWER */
    | ^
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:76:3: note: previous declaration 'IRQn_Type CLOCK_POWER_IRQn'
    76 | CLOCK_POWER_IRQn = 5, /*!< 5 CLOCK_POWER */
    | ^~~~~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:78:32: error: 'TIMER0_IRQn' conflicts with a previous declaration
    78 | TIMER0_IRQn = 12, /*!< 12 TIMER0 */
    | ^~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:84:3: note: previous declaration 'IRQn_Type TIMER0_IRQn'
    84 | TIMER0_IRQn = 15, /*!< 15 TIMER0 */
    | ^~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:82:32: error: 'RTC0_IRQn' conflicts with a previous declaration
    82 | RTC0_IRQn = 17, /*!< 17 RTC0 */
    | ^~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:87:3: note: previous declaration 'IRQn_Type RTC0_IRQn'
    87 | RTC0_IRQn = 20, /*!< 20 RTC0 */
    | ^~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:83:32: error: 'IPC_IRQn' conflicts with a previous declaration
    83 | IPC_IRQn = 18, /*!< 18 IPC */
    | ^~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:104:3: note: previous declaration 'IRQn_Type IPC_IRQn'
    104 | IPC_IRQn = 42, /*!< 42 IPC */
    | ^~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:84:41: error: 'SPIM0_SPIS0_TWIM0_TWIS0_UARTE0_IRQn' conflicts with a previous declaration
    84 | SPIM0_SPIS0_TWIM0_TWIS0_UARTE0_IRQn= 19, /*!< 19 SPIM0_SPIS0_TWIM0_TWIS0_UARTE0 */
    | ^~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:77:3: note: previous declaration 'IRQn_Type SPIM0_SPIS0_TWIM0_TWIS0_UARTE0_IRQn'
    77 | SPIM0_SPIS0_TWIM0_TWIS0_UARTE0_IRQn= 8, /*!< 8 SPIM0_SPIS0_TWIM0_TWIS0_UARTE0 */
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:85:32: error: 'EGU0_IRQn' conflicts with a previous declaration
    85 | EGU0_IRQn = 20, /*!< 20 EGU0 */
    | ^~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:92:3: note: previous declaration 'IRQn_Type EGU0_IRQn'
    92 | EGU0_IRQn = 27, /*!< 27 EGU0 */
    | ^~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:86:32: error: 'RTC1_IRQn' conflicts with a previous declaration
    86 | RTC1_IRQn = 22, /*!< 22 RTC1 */
    | ^~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:88:3: note: previous declaration 'IRQn_Type RTC1_IRQn'
    88 | RTC1_IRQn = 21, /*!< 21 RTC1 */
    | ^~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:87:32: error: 'TIMER1_IRQn' conflicts with a previous declaration
    87 | TIMER1_IRQn = 24, /*!< 24 TIMER1 */
    | ^~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:85:3: note: previous declaration 'IRQn_Type TIMER1_IRQn'
    85 | TIMER1_IRQn = 16, /*!< 16 TIMER1 */
    | ^~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:88:32: error: 'TIMER2_IRQn' conflicts with a previous declaration
    88 | TIMER2_IRQn = 25, /*!< 25 TIMER2 */
    | ^~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:86:3: note: previous declaration 'IRQn_Type TIMER2_IRQn'
    86 | TIMER2_IRQn = 17, /*!< 17 TIMER2 */
    | ^~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:93:3: error: conflicting declaration 'typedef enum IRQn_Type IRQn_Type'
    93 | } IRQn_Type;
    | ^~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:114:3: note: previous declaration as 'typedef enum IRQn_Type IRQn_Type'
    114 | } IRQn_Type;
    | ^~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:154:3: error: conflicting declaration 'typedef struct FICR_INFO_Type FICR_INFO_Type'
    154 | } FICR_INFO_Type; /*!< Size = 44 (0x2c) */
    | ^~~~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:207:3: note: previous declaration as 'typedef struct FICR_INFO_Type FICR_INFO_Type'
    207 | } FICR_INFO_Type; /*!< Size = 44 (0x2c) */
    | ^~~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:163:3: error: conflicting declaration 'typedef struct FICR_TRIMCNF_Type FICR_TRIMCNF_Type'
    163 | } FICR_TRIMCNF_Type; /*!< Size = 8 (0x8) */
    | ^~~~~~~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:217:3: note: previous declaration as 'typedef struct FICR_TRIMCNF_Type FICR_TRIMCNF_Type'
    217 | } FICR_TRIMCNF_Type; /*!< Size = 8 (0x8) */
    | ^~~~~~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:191:3: error: conflicting declaration 'typedef struct CTRLAPPERI_MAILBOX_Type CTRLAPPERI_MAILBOX_Type'
    191 | } CTRLAPPERI_MAILBOX_Type; /*!< Size = 136 (0x88) */
    | ^~~~~~~~~~~~~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:500:3: note: previous declaration as 'typedef struct CTRLAPPERI_MAILBOX_Type CTRLAPPERI_MAILBOX_Type'
    500 | } CTRLAPPERI_MAILBOX_Type; /*!< Size = 136 (0x88) */
    | ^~~~~~~~~~~~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:202:3: error: conflicting declaration 'typedef struct CTRLAPPERI_ERASEPROTECT_Type CTRLAPPERI_ERASEPROTECT_Type'
    202 | } CTRLAPPERI_ERASEPROTECT_Type; /*!< Size = 8 (0x8) */
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:511:3: note: previous declaration as 'typedef struct CTRLAPPERI_ERASEPROTECT_Type CTRLAPPERI_ERASEPROTECT_Type'
    511 | } CTRLAPPERI_ERASEPROTECT_Type; /*!< Size = 8 (0x8) */
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:213:3: error: conflicting declaration 'typedef struct CTRLAPPERI_APPROTECT_Type CTRLAPPERI_APPROTECT_Type'
    213 | } CTRLAPPERI_APPROTECT_Type; /*!< Size = 8 (0x8) */
    | ^~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:522:3: note: previous declaration as 'typedef struct CTRLAPPERI_APPROTECT_Type CTRLAPPERI_APPROTECT_Type'
    522 | } CTRLAPPERI_APPROTECT_Type; /*!< Size = 8 (0x8) */
    | ^~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:241:3: error: conflicting declaration 'typedef struct DPPIC_TASKS_CHG_Type DPPIC_TASKS_CHG_Type'
    241 | } DPPIC_TASKS_CHG_Type; /*!< Size = 8 (0x8) */
    | ^~~~~~~~~~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:760:3: note: previous declaration as 'typedef struct DPPIC_TASKS_CHG_Type DPPIC_TASKS_CHG_Type'
    760 | } DPPIC_TASKS_CHG_Type; /*!< Size = 8 (0x8) */
    | ^~~~~~~~~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:252:3: error: conflicting declaration 'typedef struct DPPIC_SUBSCRIBE_CHG_Type DPPIC_SUBSCRIBE_CHG_Type'
    252 | } DPPIC_SUBSCRIBE_CHG_Type; /*!< Size = 8 (0x8) */
    | ^~~~~~~~~~~~~~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:771:3: note: previous declaration as 'typedef struct DPPIC_SUBSCRIBE_CHG_Type DPPIC_SUBSCRIBE_CHG_Type'
    771 | } DPPIC_SUBSCRIBE_CHG_Type; /*!< Size = 8 (0x8) */
    | ^~~~~~~~~~~~~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:263:3: error: conflicting declaration 'typedef struct SPIM_PSEL_Type SPIM_PSEL_Type'
    263 | } SPIM_PSEL_Type; /*!< Size = 16 (0x10) */
    | ^~~~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:544:3: note: previous declaration as 'typedef struct SPIM_PSEL_Type SPIM_PSEL_Type'
    544 | } SPIM_PSEL_Type; /*!< Size = 16 (0x10) */
    | ^~~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:274:3: error: conflicting declaration 'typedef struct SPIM_RXD_Type SPIM_RXD_Type'
    274 | } SPIM_RXD_Type; /*!< Size = 16 (0x10) */
    | ^~~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:555:3: note: previous declaration as 'typedef struct SPIM_RXD_Type SPIM_RXD_Type'
    555 | } SPIM_RXD_Type; /*!< Size = 16 (0x10) */
    | ^~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:285:3: error: conflicting declaration 'typedef struct SPIM_TXD_Type SPIM_TXD_Type'
    285 | } SPIM_TXD_Type; /*!< Size = 16 (0x10) */
    | ^~~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:566:3: note: previous declaration as 'typedef struct SPIM_TXD_Type SPIM_TXD_Type'
    566 | } SPIM_TXD_Type; /*!< Size = 16 (0x10) */
    | ^~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:296:3: error: conflicting declaration 'typedef struct SPIM_IFTIMING_Type SPIM_IFTIMING_Type'
    296 | } SPIM_IFTIMING_Type; /*!< Size = 8 (0x8) */
    | ^~~~~~~~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:577:3: note: previous declaration as 'typedef struct SPIM_IFTIMING_Type SPIM_IFTIMING_Type'
    577 | } SPIM_IFTIMING_Type; /*!< Size = 8 (0x8) */
    | ^~~~~~~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:307:3: error: conflicting declaration 'typedef struct SPIS_PSEL_Type SPIS_PSEL_Type'
    307 | } SPIS_PSEL_Type; /*!< Size = 16 (0x10) */
    | ^~~~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:588:3: note: previous declaration as 'typedef struct SPIS_PSEL_Type SPIS_PSEL_Type'
    588 | } SPIS_PSEL_Type; /*!< Size = 16 (0x10) */
    | ^~~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:318:3: error: conflicting declaration 'typedef struct SPIS_RXD_Type SPIS_RXD_Type'
    318 | } SPIS_RXD_Type; /*!< Size = 16 (0x10) */
    | ^~~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:599:3: note: previous declaration as 'typedef struct SPIS_RXD_Type SPIS_RXD_Type'
    599 | } SPIS_RXD_Type; /*!< Size = 16 (0x10) */
    | ^~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:329:3: error: conflicting declaration 'typedef struct SPIS_TXD_Type SPIS_TXD_Type'
    329 | } SPIS_TXD_Type; /*!< Size = 16 (0x10) */
    | ^~~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:610:3: note: previous declaration as 'typedef struct SPIS_TXD_Type SPIS_TXD_Type'
    610 | } SPIS_TXD_Type; /*!< Size = 16 (0x10) */
    | ^~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:338:3: error: conflicting declaration 'typedef struct TWIM_PSEL_Type TWIM_PSEL_Type'
    338 | } TWIM_PSEL_Type; /*!< Size = 8 (0x8) */
    | ^~~~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:619:3: note: previous declaration as 'typedef struct TWIM_PSEL_Type TWIM_PSEL_Type'
    619 | } TWIM_PSEL_Type; /*!< Size = 8 (0x8) */
    | ^~~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:349:3: error: conflicting declaration 'typedef struct TWIM_RXD_Type TWIM_RXD_Type'
    349 | } TWIM_RXD_Type; /*!< Size = 16 (0x10) */
    | ^~~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:630:3: note: previous declaration as 'typedef struct TWIM_RXD_Type TWIM_RXD_Type'
    630 | } TWIM_RXD_Type; /*!< Size = 16 (0x10) */
    | ^~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:360:3: error: conflicting declaration 'typedef struct TWIM_TXD_Type TWIM_TXD_Type'
    360 | } TWIM_TXD_Type; /*!< Size = 16 (0x10) */
    | ^~~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:641:3: note: previous declaration as 'typedef struct TWIM_TXD_Type TWIM_TXD_Type'
    641 | } TWIM_TXD_Type; /*!< Size = 16 (0x10) */
    | ^~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:369:3: error: conflicting declaration 'typedef struct TWIS_PSEL_Type TWIS_PSEL_Type'
    369 | } TWIS_PSEL_Type; /*!< Size = 8 (0x8) */
    | ^~~~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:650:3: note: previous declaration as 'typedef struct TWIS_PSEL_Type TWIS_PSEL_Type'
    650 | } TWIS_PSEL_Type; /*!< Size = 8 (0x8) */
    | ^~~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:380:3: error: conflicting declaration 'typedef struct TWIS_RXD_Type TWIS_RXD_Type'
    380 | } TWIS_RXD_Type; /*!< Size = 16 (0x10) */
    | ^~~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:661:3: note: previous declaration as 'typedef struct TWIS_RXD_Type TWIS_RXD_Type'
    661 | } TWIS_RXD_Type; /*!< Size = 16 (0x10) */
    | ^~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:391:3: error: conflicting declaration 'typedef struct TWIS_TXD_Type TWIS_TXD_Type'
    391 | } TWIS_TXD_Type; /*!< Size = 16 (0x10) */
    | ^~~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:672:3: note: previous declaration as 'typedef struct TWIS_TXD_Type TWIS_TXD_Type'
    672 | } TWIS_TXD_Type; /*!< Size = 16 (0x10) */
    | ^~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:402:3: error: conflicting declaration 'typedef struct UARTE_PSEL_Type UARTE_PSEL_Type'
    402 | } UARTE_PSEL_Type; /*!< Size = 16 (0x10) */
    | ^~~~~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:683:3: note: previous declaration as 'typedef struct UARTE_PSEL_Type UARTE_PSEL_Type'
    683 | } UARTE_PSEL_Type; /*!< Size = 16 (0x10) */
    | ^~~~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:412:3: error: conflicting declaration 'typedef struct UARTE_RXD_Type UARTE_RXD_Type'
    412 | } UARTE_RXD_Type; /*!< Size = 12 (0xc) */
    | ^~~~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:693:3: note: previous declaration as 'typedef struct UARTE_RXD_Type UARTE_RXD_Type'
    693 | } UARTE_RXD_Type; /*!< Size = 12 (0xc) */
    | ^~~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:422:3: error: conflicting declaration 'typedef struct UARTE_TXD_Type UARTE_TXD_Type'
    422 | } UARTE_TXD_Type; /*!< Size = 12 (0xc) */
    | ^~~~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:703:3: note: previous declaration as 'typedef struct UARTE_TXD_Type UARTE_TXD_Type'
    703 | } UARTE_TXD_Type; /*!< Size = 12 (0xc) */
    | ^~~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:451:3: error: conflicting declaration 'typedef struct VMC_RAM_Type VMC_RAM_Type'
    451 | } VMC_RAM_Type; /*!< Size = 16 (0x10) */
    | ^~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:1063:3: note: previous declaration as 'typedef struct VMC_RAM_Type VMC_RAM_Type'
    1063 | } VMC_RAM_Type; /*!< Size = 16 (0x10) */
    | ^~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:488:3: error: conflicting declaration 'typedef struct NRF_FICR_Type NRF_FICR_Type'
    488 | } NRF_FICR_Type; /*!< Size = 1024 (0x400) */
    | ^~~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:1129:3: note: previous declaration as 'typedef struct NRF_FICR_Type NRF_FICR_Type'
    1129 | } NRF_FICR_Type; /*!< Size = 3108 (0xc24) */
    | ^~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:509:3: error: conflicting declaration 'typedef struct NRF_UICR_Type NRF_UICR_Type'
    509 | } NRF_UICR_Type; /*!< Size = 896 (0x380) */
    | ^~~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:1161:3: note: previous declaration as 'typedef struct NRF_UICR_Type NRF_UICR_Type'
    1161 | } NRF_UICR_Type; /*!< Size = 4096 (0x1000) */
    | ^~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:555:3: error: conflicting declaration 'typedef struct NRF_CTI_Type NRF_CTI_Type'
    555 | } NRF_CTI_Type; /*!< Size = 4096 (0x1000) */
    | ^~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:1207:3: note: previous declaration as 'typedef struct NRF_CTI_Type NRF_CTI_Type'
    1207 | } NRF_CTI_Type; /*!< Size = 4096 (0x1000) */
    | ^~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:571:3: error: conflicting declaration 'typedef struct NRF_DCNF_Type NRF_DCNF_Type'
    571 | } NRF_DCNF_Type; /*!< Size = 1060 (0x424) */
    | ^~~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:1250:3: note: previous declaration as 'typedef struct NRF_DCNF_Type NRF_DCNF_Type'
    1250 | } NRF_DCNF_Type; /*!< Size = 1156 (0x484) */
    | ^~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:652:3: error: conflicting declaration 'typedef struct NRF_CLOCK_Type NRF_CLOCK_Type'
    652 | } NRF_CLOCK_Type; /*!< Size = 1400 (0x578) */
    | ^~~~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:1499:3: note: previous declaration as 'typedef struct NRF_CLOCK_Type NRF_CLOCK_Type'
    1499 | } NRF_CLOCK_Type; /*!< Size = 1468 (0x5bc) */
    | ^~~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:689:3: error: conflicting declaration 'typedef struct NRF_POWER_Type NRF_POWER_Type'
    689 | } NRF_POWER_Type; /*!< Size = 1316 (0x524) */
    | ^~~~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:1536:3: note: previous declaration as 'typedef struct NRF_POWER_Type NRF_POWER_Type'
    1536 | } NRF_POWER_Type; /*!< Size = 1316 (0x524) */
    | ^~~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:705:3: error: conflicting declaration 'typedef struct NRF_RESET_Type NRF_RESET_Type'
    705 | } NRF_RESET_Type; /*!< Size = 1028 (0x404) */
    | ^~~~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:1554:3: note: previous declaration as 'typedef struct NRF_RESET_Type NRF_RESET_Type'
    1554 | } NRF_RESET_Type; /*!< Size = 1560 (0x618) */
    | ^~~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:727:3: error: conflicting declaration 'typedef struct NRF_CTRLAPPERI_Type NRF_CTRLAPPERI_Type'
    727 | } NRF_CTRLAPPERI_Type; /*!< Size = 1540 (0x604) */
    | ^~~~~~~~~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:1577:3: note: previous declaration as 'typedef struct NRF_CTRLAPPERI_Type NRF_CTRLAPPERI_Type'
    1577 | } NRF_CTRLAPPERI_Type; /*!< Size = 1540 (0x604) */
    | ^~~~~~~~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:989:3: error: conflicting declaration 'typedef struct NRF_GPIOTE_Type NRF_GPIOTE_Type'
    989 | } NRF_GPIOTE_Type; /*!< Size = 1328 (0x530) */
    | ^~~~~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:1995:3: note: previous declaration as 'typedef struct NRF_GPIOTE_Type NRF_GPIOTE_Type'
    1995 | } NRF_GPIOTE_Type; /*!< Size = 1328 (0x530) */
    | ^~~~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:1031:3: error: conflicting declaration 'typedef struct NRF_WDT_Type NRF_WDT_Type'
    1031 | } NRF_WDT_Type; /*!< Size = 1568 (0x620) */
    | ^~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:2238:3: note: previous declaration as 'typedef struct NRF_WDT_Type NRF_WDT_Type'
    2238 | } NRF_WDT_Type; /*!< Size = 1568 (0x620) */
    | ^~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:1086:3: error: conflicting declaration 'typedef struct NRF_TIMER_Type NRF_TIMER_Type'
    1086 | } NRF_TIMER_Type; /*!< Size = 1440 (0x5a0) */
    | ^~~~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:2114:3: note: previous declaration as 'typedef struct NRF_TIMER_Type NRF_TIMER_Type'
    2114 | } NRF_TIMER_Type; /*!< Size = 1432 (0x598) */
    | ^~~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:1240:3: error: conflicting declaration 'typedef struct NRF_DPPIC_Type NRF_DPPIC_Type'
    1240 | } NRF_DPPIC_Type; /*!< Size = 2072 (0x818) */
    | ^~~~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:2196:3: note: previous declaration as 'typedef struct NRF_DPPIC_Type NRF_DPPIC_Type'
    2196 | } NRF_DPPIC_Type; /*!< Size = 2072 (0x818) */
    | ^~~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:1344:3: error: conflicting declaration 'typedef struct NRF_RTC_Type NRF_RTC_Type'
    1344 | } NRF_RTC_Type; /*!< Size = 1360 (0x550) */
    | ^~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:2170:3: note: previous declaration as 'typedef struct NRF_RTC_Type NRF_RTC_Type'
    2170 | } NRF_RTC_Type; /*!< Size = 1360 (0x550) */
    | ^~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:1382:3: error: conflicting declaration 'typedef struct NRF_IPC_Type NRF_IPC_Type'
    1382 | } NRF_IPC_Type; /*!< Size = 1560 (0x618) */
    | ^~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:2579:3: note: previous declaration as 'typedef struct NRF_IPC_Type NRF_IPC_Type'
    2579 | } NRF_IPC_Type; /*!< Size = 1560 (0x618) */
    | ^~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:1458:3: error: conflicting declaration 'typedef struct NRF_SPIM_Type NRF_SPIM_Type'
    1458 | } NRF_SPIM_Type; /*!< Size = 1476 (0x5c4) */
    | ^~~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:1653:3: note: previous declaration as 'typedef struct NRF_SPIM_Type NRF_SPIM_Type'
    1653 | } NRF_SPIM_Type; /*!< Size = 1476 (0x5c4) */
    | ^~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:1513:3: error: conflicting declaration 'typedef struct NRF_SPIS_Type NRF_SPIS_Type'
    1513 | } NRF_SPIS_Type; /*!< Size = 1476 (0x5c4) */
    | ^~~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:1708:3: note: previous declaration as 'typedef struct NRF_SPIS_Type NRF_SPIS_Type'
    1708 | } NRF_SPIS_Type; /*!< Size = 1476 (0x5c4) */
    | ^~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:1589:3: error: conflicting declaration 'typedef struct NRF_TWIM_Type NRF_TWIM_Type'
    1589 | } NRF_TWIM_Type; /*!< Size = 1420 (0x58c) */
    | ^~~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:1784:3: note: previous declaration as 'typedef struct NRF_TWIM_Type NRF_TWIM_Type'
    1784 | } NRF_TWIM_Type; /*!< Size = 1420 (0x58c) */
    | ^~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:1664:3: error: conflicting declaration 'typedef struct NRF_TWIS_Type NRF_TWIS_Type'
    1664 | } NRF_TWIS_Type; /*!< Size = 1476 (0x5c4) */
    | ^~~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:1859:3: note: previous declaration as 'typedef struct NRF_TWIS_Type NRF_TWIS_Type'
    1859 | } NRF_TWIS_Type; /*!< Size = 1476 (0x5c4) */
    | ^~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:1748:3: error: conflicting declaration 'typedef struct NRF_UARTE_Type NRF_UARTE_Type'
    1748 | } NRF_UARTE_Type; /*!< Size = 1392 (0x570) */
    | ^~~~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:1943:3: note: previous declaration as 'typedef struct NRF_UARTE_Type NRF_UARTE_Type'
    1943 | } NRF_UARTE_Type; /*!< Size = 1392 (0x570) */
    | ^~~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:1778:3: error: conflicting declaration 'typedef struct NRF_EGU_Type NRF_EGU_Type'
    1778 | } NRF_EGU_Type; /*!< Size = 780 (0x30c) */
    | ^~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:2364:3: note: previous declaration as 'typedef struct NRF_EGU_Type NRF_EGU_Type'
    2364 | } NRF_EGU_Type; /*!< Size = 780 (0x30c) */
    | ^~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:1809:3: error: conflicting declaration 'typedef struct NRF_MUTEX_Type NRF_MUTEX_Type'
    1809 | } NRF_MUTEX_Type; /*!< Size = 1088 (0x440) */
    | ^~~~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:2784:3: note: previous declaration as 'typedef struct NRF_MUTEX_Type NRF_MUTEX_Type'
    2784 | } NRF_MUTEX_Type; /*!< Size = 1088 (0x440) */
    | ^~~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:1854:3: error: conflicting declaration 'typedef struct NRF_NVMC_Type NRF_NVMC_Type'
    1854 | } NRF_NVMC_Type; /*!< Size = 1360 (0x550) */
    | ^~~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:3076:3: note: previous declaration as 'typedef struct NRF_NVMC_Type NRF_NVMC_Type'
    3076 | } NRF_NVMC_Type; /*!< Size = 1420 (0x58c) */
    | ^~~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:1870:3: error: conflicting declaration 'typedef struct NRF_VMC_Type NRF_VMC_Type'
    1870 | } NRF_VMC_Type; /*!< Size = 1600 (0x640) */
    | ^~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:3140:3: note: previous declaration as 'typedef struct NRF_VMC_Type NRF_VMC_Type'
    3140 | } NRF_VMC_Type; /*!< Size = 1664 (0x680) */
    | ^~~~~~~~~~~~
    In file included from ../include/AESCCMcryptography.h:23,
    from ../src/main.cpp:36:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_network.h:1902:3: error: conflicting declaration 'typedef struct NRF_GPIO_Type NRF_GPIO_Type'
    1902 | } NRF_GPIO_Type; /*!< Size = 640 (0x280) */
    | ^~~~~~~~~~~~~
    In file included from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf.h:168,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/drivers/nrfx_common.h:39,
    from C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/nrfx.h:36,
    from c:\nordic\v1.5.0\zephyr\soc\arm\nordic_nrf\soc_nrf_common.h:14,
    from C:/Nordic/v1.5.0/zephyr/soc/arm/nordic_nrf/nrf53/soc.h:15,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h:10,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h:16,
    from C:/Nordic/v1.5.0/zephyr/include/arch/arm/aarch32/arch.h:186,
    from C:/Nordic/v1.5.0/zephyr/include/arch/cpu.h:19,
    from C:/Nordic/v1.5.0/zephyr/include/kernel_includes.h:33,
    from C:/Nordic/v1.5.0/zephyr/include/kernel.h:17,
    from C:/Nordic/v1.5.0/zephyr/include/zephyr.h:18,
    from ../include/DataHandle.h:23,
    from ../src/main.cpp:35:
    C:/Nordic/v1.5.0/modules/hal/nordic/nrfx/mdk/nrf5340_application.h:3108:3: note: previous declaration as 'typedef struct NRF_GPIO_Type NRF_GPIO_Type'
    3108 | } NRF_GPIO_Type; /*!< Size = 640 (0x280) */
    | ^~~~~~~~~~~~~
    ninja: build stopped: subcommand failed.
    FATAL ERROR: command exited with status 1: 'C:\Nordic\v1.5.0\toolchain\opt\bin\cmake.EXE' --build 'C:\Users\srinivas_r\Downloads\ble_mesh_server\ble_mesh_server\build_nrf5340dk_nrf5340_cpuapp'

    C:\Nordic>

  • Hi again!

    To me it seems like you are trying to use functionality from both the nRF5340 network core and nRF5340 application core in the same project. This is not possible as the two cores are treated as two different build targets in NCS and will need separate applications. If you want to use the AES CCM you must create an application specifically for the nRF5340 network core. 

    In addition the files nrf5340_application.h and nrf5340_network.h should not be included directly in any project as these are specific for the target board, and will conflict if included together (as you are seeing here). 

    Please elaborate on what you're actually trying to do. What happens in AESCCMcryptography.h for example?

    Best regards,
    Carl Richard

Related