mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
hw/arm/stm32f405: Add RCC device to stm32f405 SoC
Add the reset and clock controller device to the stm32f405 SoC. Signed-off-by: Roman Cardenas Rodriguez <rcardenas.rod@gmail.com> [PMM: tweak commit message] Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
d1613f2a53
commit
950dff9aa4
4 changed files with 16 additions and 2 deletions
|
@ -25,6 +25,7 @@
|
|||
#ifndef HW_ARM_STM32F405_SOC_H
|
||||
#define HW_ARM_STM32F405_SOC_H
|
||||
|
||||
#include "hw/misc/stm32_rcc.h"
|
||||
#include "hw/misc/stm32f4xx_syscfg.h"
|
||||
#include "hw/timer/stm32f2xx_timer.h"
|
||||
#include "hw/char/stm32f2xx_usart.h"
|
||||
|
@ -55,6 +56,7 @@ struct STM32F405State {
|
|||
|
||||
ARMv7MState armv7m;
|
||||
|
||||
STM32RccState rcc;
|
||||
STM32F4xxSyscfgState syscfg;
|
||||
STM32F4xxExtiState exti;
|
||||
STM32F2XXUsartState usart[STM_NUM_USARTS];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue