Skip to content

Commit 30145b1

Browse files
authored
Merge pull request #11736 from OpenNuvoton/nuvoton_remove_trng
Nuvoton: Remove TRNG support
2 parents 7b79157 + aae04b2 commit 30145b1

File tree

5 files changed

+2
-192
lines changed

5 files changed

+2
-192
lines changed

targets/TARGET_NUVOTON/TARGET_M480/objects.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mbed Microcontroller Library
2-
* Copyright (c) 2015-2016 Nuvoton
2+
* Copyright (c) 2015-2019 Nuvoton
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -118,10 +118,6 @@ struct pwmout_s {
118118
uint32_t pulsewidth_us;
119119
};
120120

121-
struct trng_s {
122-
uint8_t dummy;
123-
};
124-
125121
struct can_s {
126122
CANName can;
127123
PinName pin_rd;

targets/TARGET_NUVOTON/TARGET_M480/trng_api.c

Lines changed: 0 additions & 88 deletions
This file was deleted.

targets/TARGET_NUVOTON/TARGET_NUC472/objects.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mbed Microcontroller Library
2-
* Copyright (c) 2015-2016 Nuvoton
2+
* Copyright (c) 2015-2019 Nuvoton
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -114,10 +114,6 @@ struct pwmout_s {
114114
uint32_t pulsewidth_us;
115115
};
116116

117-
struct trng_s {
118-
uint8_t dummy;
119-
};
120-
121117
struct can_s {
122118
CANName can;
123119
PinName pin_rd;

targets/TARGET_NUVOTON/TARGET_NUC472/trng_api.c

Lines changed: 0 additions & 92 deletions
This file was deleted.

targets/targets.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7944,7 +7944,6 @@
79447944
"SPI",
79457945
"SPISLAVE",
79467946
"SPI_ASYNCH",
7947-
"TRNG",
79487947
"CAN",
79497948
"FLASH",
79507949
"EMAC",
@@ -8593,7 +8592,6 @@
85938592
"SPI",
85948593
"SPISLAVE",
85958594
"SPI_ASYNCH",
8596-
"TRNG",
85978595
"FLASH",
85988596
"CAN",
85998597
"EMAC",

0 commit comments

Comments
 (0)