Skip to content

Commit cb97f5d

Browse files
author
andreas.larsson
committed
Enabled TRNG functionality for UBLOX_EVK_ODIN_W2 target.
1 parent 8f492a2 commit cb97f5d

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

targets/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_EVK_ODIN_W2/objects.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ struct analogin_s {
6060
uint8_t channel;
6161
};
6262

63-
63+
struct trng_s {
64+
RNG_HandleTypeDef handle;
65+
};
6466

6567
#include "common_objects.h"
6668
struct can_s {

targets/targets.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1183,10 +1183,10 @@
11831183
"core": "Cortex-M4F",
11841184
"default_toolchain": "ARM",
11851185
"supported_toolchains": ["ARM", "uARM", "GCC_ARM", "IAR"],
1186-
"extra_labels": ["STM", "STM32F4", "STM32F439", "STM32F439ZI"],
1186+
"extra_labels": ["STM", "STM32F4", "STM32F439", "STM32F439ZI","STM32F439xx"],
11871187
"macros": ["HSE_VALUE=24000000", "HSE_STARTUP_TIMEOUT=5000", "CB_INTERFACE_SDIO","CB_CHIP_WL18XX","SUPPORT_80211D_ALWAYS","WLAN_ENABLED"],
11881188
"inherits": ["Target"],
1189-
"device_has": ["ANALOGIN", "CAN", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"],
1189+
"device_has": ["ANALOGIN", "CAN", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES", "TRNG"],
11901190
"features": ["LWIP"],
11911191
"release_versions": ["5"],
11921192
"device_name": "STM32F439ZI"

0 commit comments

Comments
 (0)