STM32F407VG: Add TRNG support

pull/8559/head
Adam Heinrich 2018-10-26 17:01:16 +02:00
parent fc741f03a1
commit 28a01aeb29
2 changed files with 6 additions and 2 deletions

View File

@ -54,6 +54,10 @@ struct port_s {
__IO uint32_t *reg_out; __IO uint32_t *reg_out;
}; };
struct trng_s {
RNG_HandleTypeDef handle;
};
#include "common_objects.h" #include "common_objects.h"
#ifdef __cplusplus #ifdef __cplusplus

View File

@ -1803,7 +1803,7 @@
"supported_toolchains": ["ARM", "uARM", "GCC_ARM"], "supported_toolchains": ["ARM", "uARM", "GCC_ARM"],
"program_cycle_s": 2, "program_cycle_s": 2,
"extra_labels_add": ["STM32F4", "STM32F407", "STM32F407xG", "STM32F407VG"], "extra_labels_add": ["STM32F4", "STM32F407", "STM32F407xG", "STM32F407VG"],
"device_has_add": ["ANALOGOUT"], "device_has_add": ["ANALOGOUT", "TRNG"],
"release_versions": ["2"], "release_versions": ["2"],
"device_name": "STM32F407VG" "device_name": "STM32F407VG"
}, },
@ -1915,7 +1915,7 @@
}, },
"macros_add": ["USB_STM_HAL"], "macros_add": ["USB_STM_HAL"],
"overrides": {"lse_available": 0}, "overrides": {"lse_available": 0},
"device_has_add": ["ANALOGOUT"], "device_has_add": ["ANALOGOUT", "TRNG"],
"release_versions": ["2", "5"], "release_versions": ["2", "5"],
"device_name": "STM32F407VG" "device_name": "STM32F407VG"
}, },