[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v8 0/8] Update the Netduino 2 Machine
From: |
Alistair Francis |
Subject: |
[Qemu-devel] [PATCH v8 0/8] Update the Netduino 2 Machine |
Date: |
Sat, 24 Sep 2016 12:19:56 -0700 |
This patchset continues with the Netduino 2 and STM32F205 SoC
work.
This patch series makes a small change to the STM32F2xx
SoC to tidy up the code.
Next a feature is added to the STM32F2xx timer to display the
PWM duty cycle, when debugging is enabled.
Then the STM32F2xx SPI and ADC devices are added and connected
to the STM32F205 SoC.
Finally the maintainers file is updated to add myself as the
maintainer for the Netdunio 2 and STM32F2xx.
V8:
- Use the qdev_init_gpio_in() function to create in irqs for the OR device.
V6:
- Add vmstate to the new OR IRQ device
V5:
- Add a irq ORing function
V4:
- Add VMState to the new devices
- Remove rand() function
V3:
- Rebase
V2:
- Update based on Peter C's coments
- Rebase
- Create an ADC folder for the ADC device
Alistair Francis (8):
STM32F205: Remove the individual device variables
STM32F2xx: Display PWM duty cycle from timer
STM32F2xx: Add the ADC device
STM32F2xx: Add the SPI device
irq: Add a new irq device that allows the ORing of lines
STM32F205: Connect the ADC devices
STM32F205: Connect the SPI devices
MAINTAINERS: Add Alistair to the maintainers list
MAINTAINERS | 15 ++
default-configs/arm-softmmu.mak | 2 +
hw/Makefile.objs | 1 +
hw/adc/Makefile.objs | 1 +
hw/adc/stm32f2xx_adc.c | 306 ++++++++++++++++++++++++++++++++++++++++
hw/arm/stm32f205_soc.c | 92 +++++++++---
hw/core/Makefile.objs | 1 +
hw/core/or-irq.c | 107 ++++++++++++++
hw/ssi/Makefile.objs | 1 +
hw/ssi/stm32f2xx_spi.c | 225 +++++++++++++++++++++++++++++
hw/timer/stm32f2xx_timer.c | 9 ++
include/hw/adc/stm32f2xx_adc.h | 87 ++++++++++++
include/hw/arm/stm32f205_soc.h | 9 ++
include/hw/or-irq.h | 44 ++++++
include/hw/ssi/stm32f2xx_spi.h | 72 ++++++++++
15 files changed, 954 insertions(+), 18 deletions(-)
create mode 100644 hw/adc/Makefile.objs
create mode 100644 hw/adc/stm32f2xx_adc.c
create mode 100644 hw/core/or-irq.c
create mode 100644 hw/ssi/stm32f2xx_spi.c
create mode 100644 include/hw/adc/stm32f2xx_adc.h
create mode 100644 include/hw/or-irq.h
create mode 100644 include/hw/ssi/stm32f2xx_spi.h
--
2.7.4
- [Qemu-devel] [PATCH v8 0/8] Update the Netduino 2 Machine,
Alistair Francis <=
- [Qemu-devel] [PATCH v8 1/8] STM32F205: Remove the individual device variables, Alistair Francis, 2016/09/24
- [Qemu-devel] [PATCH v8 2/8] STM32F2xx: Display PWM duty cycle from timer, Alistair Francis, 2016/09/24
- [Qemu-devel] [PATCH v8 3/8] STM32F2xx: Add the ADC device, Alistair Francis, 2016/09/24
- [Qemu-devel] [PATCH v8 4/8] STM32F2xx: Add the SPI device, Alistair Francis, 2016/09/24
- [Qemu-devel] [PATCH v8 5/8] irq: Add a new irq device that allows the ORing of lines, Alistair Francis, 2016/09/24
- [Qemu-devel] [PATCH v8 6/8] STM32F205: Connect the ADC devices, Alistair Francis, 2016/09/24