blob: fa0c445d13e52c0255d10db02719a8235b66a3ce [file] [log] [blame]
/*
* Copyright (c) 2022, Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*
*/
#include "Driver_USART.h"
#include "cmsis.h"
#include "test_interrupt.h"
#include "tfm_peripherals_def.h"
#include "uart_stdout.h"
int32_t tfm_ns_platform_init(void)
{
/* Register FPU non-secure test interrupt handler */
NVIC_SetVector(TFM_FPU_NS_TEST_IRQ, (uint32_t) TFM_FPU_NS_TEST_Handler);
/* Enable FPU non-secure test interrupt */
NVIC_EnableIRQ(TFM_FPU_NS_TEST_IRQ);
stdio_init();
return ARM_DRIVER_OK;
}