arch/arm/src/stm32f7/stm32_dma.c: Fix syslog formats
This commit is contained in:
parent
d05299f37d
commit
97729ddd29
@ -40,6 +40,7 @@
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <debug.h>
|
||||
@ -601,7 +602,8 @@ void stm32_dmasetup(DMA_HANDLE handle, uint32_t paddr, uint32_t maddr,
|
||||
uint32_t regoffset;
|
||||
uint32_t regval;
|
||||
|
||||
dmainfo("paddr: %08x maddr: %08x ntransfers: %d scr: %08x\n",
|
||||
dmainfo("paddr: %08" PRIx32 " maddr: %08" PRIx32
|
||||
" ntransfers: %zu scr: %08" PRIx32 "\n",
|
||||
paddr, maddr, ntransfers, scr);
|
||||
|
||||
#ifdef CONFIG_STM32F7_DMACAPABLE
|
||||
@ -881,7 +883,8 @@ bool stm32_dmacapable(uintptr_t maddr, uint32_t count, uint32_t ccr)
|
||||
uint32_t burst_length;
|
||||
uint32_t mend;
|
||||
|
||||
dmainfo("stm32_dmacapable: 0x%08x/%u 0x%08x\n", maddr, count, ccr);
|
||||
dmainfo("stm32_dmacapable: 0x%08" PRIxPTR
|
||||
"/%" PRIu32 " 0x%08" PRIx32 "\n", maddr, count, ccr);
|
||||
|
||||
/* Verify that the address conforms to the memory transfer size.
|
||||
* Transfers to/from memory performed by the DMA controller are
|
||||
|
Loading…
x
Reference in New Issue
Block a user