Skip to content

Commit c3822e0

Browse files
author
Deepika
committed
Port dir not required to be secure
1 parent 1ed15f8 commit c3822e0

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

targets/TARGET_NUVOTON/TARGET_M2351/port_api.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ void port_init(port_t *obj, PortName port, int mask, PinDirection dir)
4444
port_dir(obj, dir);
4545
}
4646

47-
#if defined (__ARM_FEATURE_CMSE) && (__ARM_FEATURE_CMSE == 3U)
48-
__attribute__((cmse_nonsecure_entry))
4947
void port_dir(port_t *obj, PinDirection dir)
5048
{
5149
uint32_t i;
@@ -60,7 +58,6 @@ void port_dir(port_t *obj, PinDirection dir)
6058
}
6159
}
6260
}
63-
#endif
6461

6562
void port_mode(port_t *obj, PinMode mode)
6663
{

0 commit comments

Comments
 (0)