Skip to content

Commit e9648dd

Browse files
authored
Merge pull request #9583 from jeromecoutant/PR_F2TRNG
STM32F2: Enable TRNG
2 parents b433efe + 85c2f22 commit e9648dd

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

targets/TARGET_STM/TARGET_STM32F2/objects.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,10 @@ struct can_s {
145145
};
146146
#endif
147147

148+
struct trng_s {
149+
RNG_HandleTypeDef handle;
150+
};
151+
148152
#if DEVICE_FLASH
149153
struct flash_s {
150154
/* nothing to be stored for now */

targets/targets.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2209,6 +2209,7 @@
22092209
"SERIAL_ASYNCH",
22102210
"SERIAL_FC",
22112211
"FLASH",
2212+
"TRNG",
22122213
"MPU"
22132214
],
22142215
"device_has_remove": ["LPTICKER"],

0 commit comments

Comments
 (0)