TRNG support added to STM32G4xx.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13164 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
Giovanni Di Sirio 2019-11-09 08:49:45 +00:00
parent 7a3cd7b576
commit 51e6819a54
5 changed files with 9 additions and 3 deletions

View File

@ -170,7 +170,7 @@
* @brief Enables the TRNG subsystem.
*/
#if !defined(HAL_USE_TRNG) || defined(__DOXYGEN__)
#define HAL_USE_TRNG TRUE
#define HAL_USE_TRNG FALSE
#endif
/**

View File

@ -358,7 +358,7 @@
/*
* TRNG driver system settings.
*/
#define STM32_TRNG_USE_RNG1 TRUE
#define STM32_TRNG_USE_RNG1 FALSE
/*
* UART driver system settings.

View File

@ -1783,6 +1783,11 @@
*/
#define STM32_TIMCLK2 STM32_TIMP2CLK
/**
* @brief RNG clock point.
*/
#define STM32_RNGCLK STM32_48CLK
/**
* @brief USB clock point.
*/

View File

@ -33,6 +33,7 @@ include $(CHIBIOS)/os/hal/ports/STM32/LLD/GPIOv2/driver.mk
include $(CHIBIOS)/os/hal/ports/STM32/LLD/I2Cv2/driver.mk
include $(CHIBIOS)/os/hal/ports/STM32/LLD/RTCv3/driver.mk
include $(CHIBIOS)/os/hal/ports/STM32/LLD/QUADSPIv1/driver.mk
include $(CHIBIOS)/os/hal/ports/STM32/LLD/RNGv1/driver.mk
include $(CHIBIOS)/os/hal/ports/STM32/LLD/SPIv2/driver.mk
include $(CHIBIOS)/os/hal/ports/STM32/LLD/TIMv1/driver.mk
include $(CHIBIOS)/os/hal/ports/STM32/LLD/USARTv2/driver.mk

View File

@ -74,7 +74,7 @@
*****************************************************************************
*** Next ***
- HAL: TRNG support added to STM32F7xx.
- HAL: TRNG support added to STM32F7xx and STM32G4xx.
- NEW: Added support for .cc files extensions in makefiles.
- HAL: New RTCv3 driver for STM32G0xx and STM32G4xx.
- HAL: Added support for DAC3 and DAC4 in STM32 DACv1 driver.