Files
mbed-os/targets/TARGET_NUVOTON/TARGET_M2354/device/partition_M2354.h
Beslan 0ef1717155
Some checks failed
Basic Checks / license-check (push) Has been cancelled
Basic Checks / include-check (push) Has been cancelled
Basic Checks / style-check (push) Has been cancelled
Basic Checks / docs-check (push) Has been cancelled
Basic Checks / python-tests (push) Has been cancelled
Basic Checks / pin-validation (push) Has been cancelled
Basic Checks / cmake-checks (push) Has been cancelled
Basic Checks / frozen-tools-check (push) Has been cancelled
Publish or Update docker image for head of branch / prepare-tags (push) Has been cancelled
Release or update docker image for a released mbed-os version / prepare-tags (push) Has been cancelled
Publish or Update docker image for head of branch / build-container (push) Has been cancelled
Publish or Update docker image for head of branch / test-container (linux/amd64) (push) Has been cancelled
Publish or Update docker image for head of branch / test-container (linux/arm64) (push) Has been cancelled
Publish or Update docker image for head of branch / deploy-container (push) Has been cancelled
Release or update docker image for a released mbed-os version / build-container (push) Has been cancelled
Release or update docker image for a released mbed-os version / test-container (linux/amd64) (push) Has been cancelled
Release or update docker image for a released mbed-os version / test-container (linux/arm64) (push) Has been cancelled
Release or update docker image for a released mbed-os version / deploy-container (push) Has been cancelled
Prune temporary docker images / prune-images (push) Has been cancelled
Mirror mbed-os-6.15.0
2026-07-10 18:42:39 +03:00

32 lines
1.0 KiB
C

/**************************************************************************//**
* @file partition_M2354.h
* @version V3.00
* @brief TrustZone partition file
*
* @note
* SPDX-License-Identifier: Apache-2.0
* Copyright (C) 2020 Nuvoton Technology Corp. All rights reserved.
******************************************************************************/
#ifndef PARTITION_M2354_WRAPPER
#define PARTITION_M2354_WRAPPER
/* Since 6.0, Mbed OS doesn't support secure build and target platform code is basically TrustZone-unaware.
* However, some BSP driver code are still TrustZone-aware. To avoid make big change on them, import
* mcu partition header from TF-M.
*
* For example, LCD will incorrectly resolve to LCD_S without `SCU_INIT_PNSSET5_VAL` define:
*
* #if defined (SCU_INIT_PNSSET5_VAL) && (SCU_INIT_PNSSET5_VAL & BIT27)
* # define LCD LCD_NS
* #else
* # define LCD LCD_S
* #endif
*
*/
#include "nu_tfm_import_define.h"
#include NU_TFM_S_PARTITION_MCU_H_PATH
#include "nu_tfm_import_undefine.h"
#endif /* PARTITION_M2354_WRAPPER */