Skip to content

Commit 35d6682

Browse files
authored
Merge pull request #2970 from andreaslarssonublox/ublox_enable_hw_entropy
Enabled TRNG functionality for UBLOX_EVK_ODIN_W2 target.
2 parents 348a155 + 84a25e7 commit 35d6682

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

targets/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_EVK_ODIN_W2/device/TOOLCHAIN_ARM_STD/startup_stm32f439xx.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
;
4040
;*******************************************************************************
4141

42-
__initial_sp EQU 0x20020000 ; Top of RAM
42+
__initial_sp EQU 0x20030000 ; Top of RAM
4343

4444
PRESERVE8
4545
THUMB

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)