[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v8 6/8] STM32F205: Connect the ADC devices
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH v8 6/8] STM32F205: Connect the ADC devices |
Date: |
Thu, 29 Sep 2016 16:59:17 -0700 |
On 24 September 2016 at 12:20, Alistair Francis <address@hidden> wrote:
> Connect the ADC devices to the STM32F205 SoC.
>
> Signed-off-by: Alistair Francis <address@hidden>
> ---
>
> #define FLASH_BASE_ADDRESS 0x08000000
> #define FLASH_SIZE (1024 * 1024)
> @@ -52,6 +55,9 @@ typedef struct STM32F205State {
> STM32F2XXSyscfgState syscfg;
> STM32F2XXUsartState usart[STM_NUM_USARTS];
> STM32F2XXTimerState timer[STM_NUM_TIMERS];
> + STM32F2XXADCState adc[STM_NUM_ADCS];
> +
> + qemu_or_irq *adc_irqs;
Seems mildly inconsistent that all the other devices
"owned" by this SoC are embedded in the struct but this
one is a pointer (and so initialized via object_new()
rather than object_initialized()).
That's not a big deal though, so I've applied this
series to target-arm.next; you can change the above
in a followup patch, or not, as you choose.
> } STM32F205State;
>
> #endif
> --
> 2.7.4
thanks
-- PMM
- [Qemu-devel] [PATCH v8 0/8] Update the Netduino 2 Machine, Alistair Francis, 2016/09/24
- [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
- Re: [Qemu-devel] [PATCH v8 6/8] STM32F205: Connect the ADC devices,
Peter Maydell <=
- [Qemu-devel] [PATCH v8 7/8] STM32F205: Connect the SPI devices, Alistair Francis, 2016/09/24
- [Qemu-devel] [PATCH v8 8/8] MAINTAINERS: Add Alistair to the maintainers list, Alistair Francis, 2016/09/24