common:
  filter: (CONFIG_TFM_BOARD != "") and CONFIG_ARM_NONSECURE_FIRMWARE
  tags:
    - arm
    - fpu
    - trusted-firmware-m
  arch_allow: arm
tests:
  arch.arm.swap.tz:
    # NOTE: this platform disables FPU access in TFM.
    platform_exclude:
      - mps3/corstone300/an547/ns
      - nucleo_l552ze_q/stm32l552xx/ns
    integration_platforms:
      - mps2/an521/cpu0/ns
  arch.arm.swap.tz_off:
    extra_configs:
      - CONFIG_ARM_NONSECURE_PREEMPTIBLE_SECURE_CALLS=n
    # NOTE: this platform disables FPU access in TFM.
    platform_exclude:
      - mps3/corstone300/an547/ns
      - nucleo_l552ze_q/stm32l552xx/ns
    integration_platforms:
      - mps2/an521/cpu0/ns
