Skip to content

Update the Netduino 2 Machine

Alistair Francis qemu-devel 8 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest8 patches 4 repliesIn review
  2. v78 patches 2 repliesSuperseded
  3. v66 of 8 patches 2 repliesSuperseded
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v56 of 8 patches3 repliesSuperseded
v46 of 8 patches6 repliesSuperseded
v36 of 7 patches7 repliesSuperseded
v25 of 7 patches1 replySuperseded
v17 patches15 repliesSuperseded

Changes in v8 from the cover letter

- Use the qdev_init_gpio_in() function to create in irqs for the OR device.

Patches in v8 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8STM32F205: Remove the individual device variableshw/arm/stm32f205_soc.c+17 -180 replies
2/8STM32F2xx: Display PWM duty cycle from timerhw/timer/stm32f2xx_timer.c+9 -00 replies
3/8STM32F2xx: Add the ADC devicedefault-configs/arm-softmmu.mak hw/Makefile.objs hw/adc/Makefile.objs +2 more+396 -00 replies
4/8STM32F2xx: Add the SPI devicedefault-configs/arm-softmmu.mak hw/ssi/Makefile.objs hw/ssi/stm32f2xx_spi.c +1 more+299 -00 replies
5/8irq: Add a new irq device that allows the ORing of lineshw/core/Makefile.objs hw/core/or-irq.c include/hw/or-irq.h+152 -02 replies
6/8STM32F205: Connect the ADC deviceshw/arm/stm32f205_soc.c include/hw/arm/stm32f205_soc.h+41 -02 replies
7/8STM32F205: Connect the SPI deviceshw/arm/stm32f205_soc.c include/hw/arm/stm32f205_soc.h+25 -00 replies
8/8MAINTAINERS: Add Alistair to the maintainers listMAINTAINERS+15 -00 replies

Reviews trailers per patch

7 of 8 patches have a Reviewed-by or Acked-by.

PatchPeter CrosthwaitePeter Maydell
1/8R-b
2/8R-b
3/8R-b
4/8R-b
5/8R-b
6/8
7/8R-b
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v8 thread

Cover letter [Qemu-devel] [PATCH v8 0/8] Update the Netduino 2 Machine

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
Signature · 1 line
2.7.4