STM32F2xx: Add the ADC device
commitd1f711d4070155ec6b81d331169c52f1bd6a4f21
authorAlistair Francis <alistair23@gmail.com>
Tue, 4 Oct 2016 12:28:07 +0000 (4 13:28 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 4 Oct 2016 12:28:07 +0000 (4 13:28 +0100)
tree4488d939d31a49185d5f588b7cd77c46f37e45e1
parentcbcb93e802076ecea9b3defe609ce4a45719e809
STM32F2xx: Add the ADC device

Add the STM32F2xx ADC device. This device randomly
generates values on each read.

This also includes creating a hw/adc directory.

Signed-off-by: Alistair Francis <alistair@alistair23.me>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 3240e660adaf537f55a63ce06096e844aece8cda.1474742262.git.alistair@alistair23.me
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
default-configs/arm-softmmu.mak
hw/Makefile.objs
hw/adc/Makefile.objs [new file with mode: 0644]
hw/adc/stm32f2xx_adc.c [new file with mode: 0644]
include/hw/adc/stm32f2xx_adc.h [new file with mode: 0644]