project:
  packs:
    - pack: ARM::CMSIS
    - pack: ARM::CMSIS-NN
    - pack: ARM::CMSIS-DSP
  setups:
    - setup: Options for Target_1
      processor:
        trustzone: non-secure
      add-path:
        - ../Generated/Inc
        - ../../../mcal/Platform_ZX_K14xM/Inc
        - ../../../mcal/Platform_ZX_K14xM/StartUp/Inc
        - ../../../mcal/McalLib_ZX_K14xM/Inc/Devices
        - ../../../mcal/McalLib_ZX_K14xM/Inc
        - ../../../mcal/Mcu_ZX_K14xM/Inc
        - ../../../mcal/Dem_ZX_K14xM/Inc
        - ../../../mcal/Det_ZX_K14xM/Inc
        - ../../../mcal/Dio_ZX_K14xM/Inc
        - ../../../mcal/Base_ZX_K14xM/Inc
        - ../../../mcal/Wdg_ZX_K14xM/Inc
        - ../../../mcal/Port_ZX_K14xM/Inc
        - ../../../mcal/Rte_ZX_K14xM/Inc
        - ../../../mcal/Base_ZX_K14xM/Inc/MemMap
        - ../../../mcal/Dma_ZX_K14xM/Inc
        - ../../../mcal/Pwm_ZX_K14xM/Inc
        - ../../../mcal/WdgIf_ZX_K14xM/Inc
        - ../../../mcal/Can_ZX_K14xM/Inc
        - ../../../mcal/Gpt_ZX_K14xM/Inc
        - ../../../mcal/EcuM_ZX_K14xM/Inc
        - ../../../mcal/CanIf_ZX_K14xM/Inc
        - ../../../mcal/Icu_ZX_K14xM/Inc
        - ../../../mcal/Adc_ZX_K14xM/Inc
        - ../../../mcal/MemIf_ZX_K14xM/Inc
        - ../../../mcal/Fls_ZX_K14xM/Inc
        - ../../../mcal/Os_ZX_K14xM/Inc
        - ../../../mcal/Spi_ZX_K14xM/Inc
        - ../../../Package/cm_backtrace/Languages/en-US
        - ../../../Package/OS/Task
        - ../../../Package/OS/Task/cpu_port/Zhixin
        - ../../../Package/cm_backtrace
        - ../../../Package/SEGGER_RTT/RTT
        - ../../../Package/Cdd/CddSbc/Api
        - ../../../Package/Cdd/CddSbc/Cfg
        - ../../../Package/Cdd
        - ../Src
        - ../../../Package/Cdd/CddTle94x1/Cfg
        - ../../../Package/Cdd/CddTle94x1/Api
        - ../../../Package/Cdd/CddTle94x1/Gen
        - ../../../Package/Cdd/CddBoost/Api
        - ../../../Package/Cdd/CddBuck/Gen
      debug: "on"
      define:
        - __MICROLIB
      misc:
        - C:
            - -std=c99
          C-CPP:
            - -fno-rtti
            - -funsigned-char
            - -fshort-enums
            - -fshort-wchar
            - -fno-ldm-stm
            - -ffunction-sections
            - -Wno-packed
            - -Wno-missing-variable-declarations
            - -Wno-missing-prototypes
            - -Wno-missing-noreturn
            - -Wno-sign-conversion
            - -Wno-nonportable-include-path
            - -Wno-reserved-id-macro
            - -Wno-unused-macros
            - -Wno-documentation-unknown-command
            - -Wno-documentation
            - -Wno-license-management
            - -Wno-parentheses-equality
            - -Wno-covered-switch-default
            - -Wno-unreachable-code-break
          CPP:
            - -xc++
            - -std=c++11
          Link:
            - --library_type=microlib
            - --map
            - --load_addr_map_info
            - --xref
            - --callgraph
            - --symbols
            - --info sizes
            - --info totals
            - --info unused
            - --info veneers
            - --strict
            - --summary_stderr
            - --info summarysizes
  linker:
    - script: ../../../mcal/Platform_ZX_K14xM/LinkerScripts/Keil/Z20K148M_flash.scf
  groups:
    - group: main
      files:
        - file: ../Src/can_func.c
        - file: ../Src/main.c
        - file: ../Src/func.c
        - file: ../Src/spi_func.c
        - file: ../Src/SPIDev.c
    - group: RTE
      files:
        - file: ../../../mcal/Rte_ZX_K14xM/Src/SchM_Adc.c
        - file: ../../../mcal/Rte_ZX_K14xM/Src/SchM_Can.c
        - file: ../../../mcal/Rte_ZX_K14xM/Src/SchM_Dio.c
        - file: ../../../mcal/Rte_ZX_K14xM/Src/SchM_Dma.c
        - file: ../../../mcal/Rte_ZX_K14xM/Src/SchM_Fls.c
        - file: ../../../mcal/Rte_ZX_K14xM/Src/SchM_Gpt.c
        - file: ../../../mcal/Rte_ZX_K14xM/Src/SchM_I2c.c
        - file: ../../../mcal/Rte_ZX_K14xM/Src/SchM_Icu.c
        - file: ../../../mcal/Rte_ZX_K14xM/Src/SchM_Lin.c
        - file: ../../../mcal/Rte_ZX_K14xM/Src/SchM_Mcu.c
        - file: ../../../mcal/Rte_ZX_K14xM/Src/SchM_Ocu.c
        - file: ../../../mcal/Rte_ZX_K14xM/Src/SchM_Port.c
        - file: ../../../mcal/Rte_ZX_K14xM/Src/SchM_Pwm.c
        - file: ../../../mcal/Rte_ZX_K14xM/Src/SchM_Spi.c
        - file: ../../../mcal/Rte_ZX_K14xM/Src/SchM_Wdg.c
    - group: DET
      files:
        - file: ../../../mcal/Det_ZX_K14xM/Src/Det.c
    - group: Platform
      files:
        - file: ../../../mcal/Platform_ZX_K14xM/StartUp/Src/Exception.c
        - file: ../../../mcal/Platform_ZX_K14xM/StartUp/Src/System.c
        - file: ../../../mcal/Platform_ZX_K14xM/Src/Interrupt_Drv.c
        - file: ../../../mcal/Platform_ZX_K14xM/Src/Platform.c
        - file: ../../../mcal/Platform_ZX_K14xM/Src/Tmu_Drv.c
    - group: McalLib
      files:
        - file: ../../../mcal/McalLib_ZX_K14xM/Src/McalLib.c
        - file: ../../../mcal/McalLib_ZX_K14xM/Src/McalLib_OsCounter.c
    - group: MCU
      files:
        - file: ../../../mcal/Mcu_ZX_K14xM/Src/Mcu.c
        - file: ../../../mcal/Mcu_ZX_K14xM/Src/Mcu_Drvw.c
        - file: ../../../mcal/Mcu_ZX_K14xM/Src/Parcc_Drv.c
        - file: ../../../mcal/Mcu_ZX_K14xM/Src/Pmu_Drv.c
        - file: ../../../mcal/Mcu_ZX_K14xM/Src/Ram_Drv.c
        - file: ../../../mcal/Mcu_ZX_K14xM/Src/Scc_Drv.c
        - file: ../../../mcal/Mcu_ZX_K14xM/Src/Scm_Mcu_Drv.c
        - file: ../../../mcal/Mcu_ZX_K14xM/Src/Srmc_Drv.c
    - group: Port
      files:
        - file: ../../../mcal/Port_ZX_K14xM/Src/Port.c
        - file: ../../../mcal/Port_ZX_K14xM/Src/Port_Drv.c
        - file: ../../../mcal/Port_ZX_K14xM/Src/Port_Drvw.c
    - group: DIO
      files:
        - file: ../../../mcal/Dio_ZX_K14xM/Src/Dio.c
        - file: ../../../mcal/Dio_ZX_K14xM/Src/Dio_Drvw.c
        - file: ../../../mcal/Dio_ZX_K14xM/Src/Gpio_Drv.c
    - group: Generated
      files:
        - file: ../Generated/Src/McalLib_Cfg.c
        - file: ../Generated/Src/Adc_Drv_PBcfg.c
        - file: ../Generated/Src/Adc_PBcfg.c
        - file: ../Generated/Src/Can_Drv_PBcfg.c
        - file: ../Generated/Src/Can_PBcfg.c
        - file: ../Generated/Src/CDD_Dma_PBcfg.c
        - file: ../Generated/Src/Dio_Cfg.c
        - file: ../Generated/Src/Dma_Drv_PBcfg.c
        - file: ../Generated/Src/Flash_Drv_PBcfg.c
        - file: ../Generated/Src/Fls_Drvw_PBcfg.c
        - file: ../Generated/Src/Fls_PBcfg.c
        - file: ../Generated/Src/Gpt_Drvw_PBcfg.c
        - file: ../Generated/Src/Gpt_PBcfg.c
        - file: ../Generated/Src/Interrupt_Drv_Cfg.c
        - file: ../Generated/Src/Mcpwm_Pwm_Drv_PBcfg.c
        - file: ../Generated/Src/Mcu_Drvw_PBcfg.c
        - file: ../Generated/Src/Mcu_PBcfg.c
        - file: ../Generated/Src/Parcc_Drv_PBcfg.c
        - file: ../Generated/Src/Platform_Cfg.c
        - file: ../Generated/Src/Pmu_Drv_PBcfg.c
        - file: ../Generated/Src/Port_Cfg.c
        - file: ../Generated/Src/Port_Drv_PBcfg.c
        - file: ../Generated/Src/Port_Drvw_PBcfg.c
        - file: ../Generated/Src/Port_PBcfg.c
        - file: ../Generated/Src/Pwm_Drvw_PBcfg.c
        - file: ../Generated/Src/Pwm_PBcfg.c
        - file: ../Generated/Src/Ram_Drv_PBcfg.c
        - file: ../Generated/Src/Rtc_Drv_PBcfg.c
        - file: ../Generated/Src/Scc_Drv_PBcfg.c
        - file: ../Generated/Src/Scm_Mcu_Drv_PBcfg.c
        - file: ../Generated/Src/Spi_Drv_PBcfg.c
        - file: ../Generated/Src/Spi_Drvw_PBcfg.c
        - file: ../Generated/Src/Spi_PBcfg.c
        - file: ../Generated/Src/Srmc_Drv_PBcfg.c
        - file: ../Generated/Src/Stim_Drv_PBcfg.c
        - file: ../Generated/Src/Tdg_Adc_Drv_PBcfg.c
        - file: ../Generated/Src/Tim_Drv_PBcfg.c
        - file: ../Generated/Src/Tim_Pwm_Drv_PBcfg.c
        - file: ../Generated/Src/Tmu_Drv_Cfg.c
        - file: ../Generated/Src/Wdg_Drvw_PBcfg.c
        - file: ../Generated/Src/Wdg_PBcfg.c
        - file: ../Generated/Src/Wdog_Drv_PBcfg.c
    - group: WDG
      files:
        - file: ../../../mcal/Wdg_ZX_K14xM/Src/Wdg.c
        - file: ../../../mcal/Wdg_ZX_K14xM/Src/Wdg_Drvw.c
        - file: ../../../mcal/Wdg_ZX_K14xM/Src/Wdog_Drv.c
        - file: ../../../mcal/Wdg_ZX_K14xM/Src/Wdog_Drv_Irq.c
    - group: PWM
      files:
        - file: ../../../mcal/Pwm_ZX_K14xM/Src/Pwm.c
        - file: ../../../mcal/Pwm_ZX_K14xM/Src/Pwm_Drvw.c
        - file: ../../../mcal/Pwm_ZX_K14xM/Src/Tim_Pwm_Drv.c
        - file: ../../../mcal/Pwm_ZX_K14xM/Src/Tim_Pwm_Drv_Irq.c
        - file: ../../../mcal/Pwm_ZX_K14xM/Src/Mcpwm_Pwm_Drv.c
        - file: ../../../mcal/Pwm_ZX_K14xM/Src/Mcpwm_Pwm_Drv_Irq.c
    - group: Startup
      files:
        - file: ../../../mcal/Platform_ZX_K14xM/StartUp/Src/Keil/Vector_Table.s
          misc:
            - ASM:
                - -masm=auto
        - file: ../../../mcal/Platform_ZX_K14xM/StartUp/Src/Keil/Z20K148M_startup.s
          misc:
            - ASM:
                - -masm=auto
    - group: CmBackTrace
      files:
        - file: ../../../Package/cm_backtrace/cm_backtrace.c
        - file: ../../../Package/cm_backtrace/MyPrintf.c
        - file: ../../../Package/cm_backtrace/fault_handler/keil/cmb_fault.S
          misc:
            - ASM:
                - -masm=auto
    - group: SEGGER_RTT
      files:
        - file: ../../../Package/SEGGER_RTT/RTT/SEGGER_RTT_printf.c
        - file: ../../../Package/SEGGER_RTT/RTT/SEGGER_RTT.c
    - group: CAN
      files:
        - file: ../../../mcal/Can_ZX_K14xM/Src/Can.c
        - file: ../../../mcal/Can_ZX_K14xM/Src/Can_Drv.c
        - file: ../../../mcal/Can_ZX_K14xM/Src/Can_Drv_Irq.c
        - file: ../../../mcal/Can_ZX_K14xM/Src/Can_Irq.c
    - group: GPT
      files:
        - file: ../../../mcal/Gpt_ZX_K14xM/Src/Gpt.c
        - file: ../../../mcal/Gpt_ZX_K14xM/Src/Gpt_Drvw.c
        - file: ../../../mcal/Gpt_ZX_K14xM/Src/Rtc_Drv.c
        - file: ../../../mcal/Gpt_ZX_K14xM/Src/Stim_Drv.c
        - file: ../../../mcal/Gpt_ZX_K14xM/Src/Tim_Drv.c
    - group: DMA
      files:
        - file: ../../../mcal/Dma_ZX_K14xM/Src/CDD_Dma.c
        - file: ../../../mcal/Dma_ZX_K14xM/Src/Dma_Drv.c
        - file: ../../../mcal/Dma_ZX_K14xM/Src/Dma_Drv_Irq.c
    - group: ECUM
      files:
        - file: ../../../mcal/EcuM_ZX_K14xM/Src/EcuM.c
    - group: Task
      files:
        - file: ../../../Package/OS/Task/task.c
        - file: ../../../Package/OS/Task/cpu_port/Zhixin/task_hal.c
    - group: ADC
      files:
        - file: ../../../mcal/Adc_ZX_K14xM/Src/Adc.c
        - file: ../../../mcal/Adc_ZX_K14xM/Src/Adc_Drv.c
        - file: ../../../mcal/Adc_ZX_K14xM/Src/Adc_Drv_Irq.c
        - file: ../../../mcal/Adc_ZX_K14xM/Src/Tdg_Adc_Drv.c
        - file: ../../../mcal/Adc_ZX_K14xM/Src/Tdg_Adc_Drv_Irq.c
    - group: Fls
      files:
        - file: ../../../mcal/Fls_ZX_K14xM/Src/Flash_Drv.c
        - file: ../../../mcal/Fls_ZX_K14xM/Src/Flash_Drv_Ac.c
        - file: ../../../mcal/Fls_ZX_K14xM/Src/Fls.c
        - file: ../../../mcal/Fls_ZX_K14xM/Src/Fls_Drvw.c
        - file: ../../../mcal/MemIf_ZX_K14xM/Inc/MemIf.h
    - group: OS
      files:
        - file: ../../../Package/OS/Autosar_OS/Os_Api.c
    - group: SPI
      files:
        - file: ../../../mcal/Spi_ZX_K14xM/Src/Spi.c
        - file: ../../../mcal/Spi_ZX_K14xM/Src/Spi_Drv.c
        - file: ../../../mcal/Spi_ZX_K14xM/Src/Spi_Drv_Irq.c
        - file: ../../../mcal/Spi_ZX_K14xM/Src/Spi_Drvw.c
    - group: CddBoost
      files:
        - file: ../../../Package/Cdd/CddBoost/Gen/CddBoost.c
    - group: CddSbc
      files:
        - file: ../../../Package/Cdd/CddSbc/Gen/CddSbc.c
        - file: ../../../Package/Cdd/CddSbc/Gen/CddSbc_Router.c
    - group: CddTie94x1
      files:
        - file: ../../../Package/Cdd/CddTle94x1/Gen/CddTle94x1.c
        - file: ../../../Package/Cdd/CddTle94x1/Gen/CddTle94x1_Com.c
    - group: CddBuck
      files:
        - file: ../../../Package/Cdd/CddBuck/Gen/Cdd_bd18397.c
