summaryrefslogtreecommitdiff
path: root/py/nativeglue.c
diff options
context:
space:
mode:
authorYuuki NAGAO <wf.yn386@gmail.com>2023-07-01 10:25:18 +0900
committerDamien George <damien@micropython.org>2023-07-13 12:23:34 +1000
commitec9ea97413c6091c101c3ab10207ae4daf1c56db (patch)
treec505ff5c7541db99207750f4dc71064ffbcd712d /py/nativeglue.c
parentcddeb5f0754e42f5e50da8ccefb5c073dce61be6 (diff)
stm32/dac: Fix dac.write_timed on G4 MCUs to use 32-bit DMA access.
For STMG4 MCUs, the peripheral registers for DAC have to be accessed by words (32bits) because DAC is connected to AHB directly. (This requirement is also there for other MCU series. However, if DAC is connected to APB like F4/L1/L4 MCUs, AHB byte or half-word transfer is changed into a 32-bit APB transfer. This means that PSIZE does not have to be DMA_PDATAALIGN_WORD on these MCUs, and in fact must be BYTE/HALFWORD to function correctly.) Fixes issue #9563. Signed-off-by: Yuuki NAGAO <wf.yn386@gmail.com>
Diffstat (limited to 'py/nativeglue.c')
0 files changed, 0 insertions, 0 deletions