[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC v1 1/6] stm32f205_timer: Add the stm32f205 SoC Tim
From: |
Alistair Francis |
Subject: |
Re: [Qemu-devel] [RFC v1 1/6] stm32f205_timer: Add the stm32f205 SoC Timer2 to 5 |
Date: |
Wed, 10 Sep 2014 23:16:12 +1000 |
On Wed, Sep 10, 2014 at 10:07 PM, Peter Crosthwaite
<address@hidden> wrote:
> On Wed, Sep 10, 2014 at 9:52 AM, Alistair Francis <address@hidden> wrote:
>> On Tue, Sep 9, 2014 at 10:44 PM, Peter Crosthwaite
>> <address@hidden> wrote:
>>> On Tue, Sep 9, 2014 at 6:23 PM, Alistair Francis <address@hidden> wrote:
>>>> This patch adds the stm32f205 timers: TIM2, TIM3, TIM4 and TIM5
>>>> to QEMU.
>>>>
>>>> Signed-off-by: Alistair Francis <address@hidden>
>>>> ---
>>>> V2:
>>>> - Small changes to functionality and style. Thanks to Peter C
>>>> - Rename for the Netduino 2 and it's SoC
>>>>
>
>>>> +#include "hw/timer/stm32f205_timer.h"
>>>> +
>>>> + DB_PRINT("Read 0x%x\n", (uint) offset);
>>>
>>> HWADDR_PRIx instead of cast.
>>
>> What do you mean by HWADDR_PRIx?
>>
>
> If you want to use a hwaddr in printfery there is a special % format
> for it. Here is an example:
>
> hw/char/serial.c: DPRINTF("read addr=0x%" HWADDR_PRIx "
> val=0x%02x\n", addr, ret);
I never knew that was there
Thanks,
Alistair
>
> Regards,
> Peter
[Qemu-devel] [RFC v1 2/6] stm32f205_USART: Add the stm32f205 SoC USART Controller, Alistair Francis, 2014/09/09
[Qemu-devel] [RFC v1 3/6] stm32f205_SYSCFG: Add the stm32f205 SYSCFG, Alistair Francis, 2014/09/09
[Qemu-devel] [RFC v1 5/6] stm32f205: Add the SoC, Alistair Francis, 2014/09/09
[Qemu-devel] [RFC v1 4/6] target_arm: Update armv7_init to support more parameters, Alistair Francis, 2014/09/09