Fixed bug 3592809.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4876 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
3e27095da1
commit
c8f3291765
|
@ -142,7 +142,7 @@
|
||||||
#define STM32_DMA_CR_MSIZE_BYTE 0
|
#define STM32_DMA_CR_MSIZE_BYTE 0
|
||||||
#define STM32_DMA_CR_MSIZE_HWORD DMA_CCR_MSIZE_0
|
#define STM32_DMA_CR_MSIZE_HWORD DMA_CCR_MSIZE_0
|
||||||
#define STM32_DMA_CR_MSIZE_WORD DMA_CCR_MSIZE_1
|
#define STM32_DMA_CR_MSIZE_WORD DMA_CCR_MSIZE_1
|
||||||
#define STM32_DMA_CR_SIZE_MASK (STM32_DMA_CR_MSIZE_MASK | \
|
#define STM32_DMA_CR_SIZE_MASK (STM32_DMA_CR_PSIZE_MASK | \
|
||||||
STM32_DMA_CR_MSIZE_MASK)
|
STM32_DMA_CR_MSIZE_MASK)
|
||||||
#define STM32_DMA_CR_PL_MASK DMA_CCR_PL
|
#define STM32_DMA_CR_PL_MASK DMA_CCR_PL
|
||||||
#define STM32_DMA_CR_PL(n) ((n) << 12)
|
#define STM32_DMA_CR_PL(n) ((n) << 12)
|
||||||
|
|
|
@ -153,7 +153,7 @@
|
||||||
#define STM32_DMA_CR_MSIZE_BYTE 0
|
#define STM32_DMA_CR_MSIZE_BYTE 0
|
||||||
#define STM32_DMA_CR_MSIZE_HWORD DMA_CCR1_MSIZE_0
|
#define STM32_DMA_CR_MSIZE_HWORD DMA_CCR1_MSIZE_0
|
||||||
#define STM32_DMA_CR_MSIZE_WORD DMA_CCR1_MSIZE_1
|
#define STM32_DMA_CR_MSIZE_WORD DMA_CCR1_MSIZE_1
|
||||||
#define STM32_DMA_CR_SIZE_MASK (STM32_DMA_CR_MSIZE_MASK | \
|
#define STM32_DMA_CR_SIZE_MASK (STM32_DMA_CR_PSIZE_MASK | \
|
||||||
STM32_DMA_CR_MSIZE_MASK)
|
STM32_DMA_CR_MSIZE_MASK)
|
||||||
#define STM32_DMA_CR_PL_MASK DMA_CCR1_PL
|
#define STM32_DMA_CR_PL_MASK DMA_CCR1_PL
|
||||||
#define STM32_DMA_CR_PL(n) ((n) << 12)
|
#define STM32_DMA_CR_PL(n) ((n) << 12)
|
||||||
|
|
|
@ -153,7 +153,7 @@
|
||||||
#define STM32_DMA_CR_MSIZE_BYTE 0
|
#define STM32_DMA_CR_MSIZE_BYTE 0
|
||||||
#define STM32_DMA_CR_MSIZE_HWORD DMA_CCR_MSIZE_0
|
#define STM32_DMA_CR_MSIZE_HWORD DMA_CCR_MSIZE_0
|
||||||
#define STM32_DMA_CR_MSIZE_WORD DMA_CCR_MSIZE_1
|
#define STM32_DMA_CR_MSIZE_WORD DMA_CCR_MSIZE_1
|
||||||
#define STM32_DMA_CR_SIZE_MASK (STM32_DMA_CR_MSIZE_MASK | \
|
#define STM32_DMA_CR_SIZE_MASK (STM32_DMA_CR_PSIZE_MASK | \
|
||||||
STM32_DMA_CR_MSIZE_MASK)
|
STM32_DMA_CR_MSIZE_MASK)
|
||||||
#define STM32_DMA_CR_PL_MASK DMA_CCR_PL
|
#define STM32_DMA_CR_PL_MASK DMA_CCR_PL
|
||||||
#define STM32_DMA_CR_PL(n) ((n) << 12)
|
#define STM32_DMA_CR_PL(n) ((n) << 12)
|
||||||
|
|
|
@ -151,7 +151,7 @@
|
||||||
#define STM32_DMA_CR_MSIZE_BYTE 0
|
#define STM32_DMA_CR_MSIZE_BYTE 0
|
||||||
#define STM32_DMA_CR_MSIZE_HWORD DMA_SxCR_MSIZE_0
|
#define STM32_DMA_CR_MSIZE_HWORD DMA_SxCR_MSIZE_0
|
||||||
#define STM32_DMA_CR_MSIZE_WORD DMA_SxCR_MSIZE_1
|
#define STM32_DMA_CR_MSIZE_WORD DMA_SxCR_MSIZE_1
|
||||||
#define STM32_DMA_CR_SIZE_MASK (STM32_DMA_CR_MSIZE_MASK | \
|
#define STM32_DMA_CR_SIZE_MASK (STM32_DMA_CR_PSIZE_MASK | \
|
||||||
STM32_DMA_CR_MSIZE_MASK)
|
STM32_DMA_CR_MSIZE_MASK)
|
||||||
#define STM32_DMA_CR_PL_MASK DMA_SxCR_PL
|
#define STM32_DMA_CR_PL_MASK DMA_SxCR_PL
|
||||||
#define STM32_DMA_CR_PL(n) ((n) << 16)
|
#define STM32_DMA_CR_PL(n) ((n) << 16)
|
||||||
|
|
|
@ -144,7 +144,7 @@
|
||||||
#define STM32_DMA_CR_MSIZE_BYTE 0
|
#define STM32_DMA_CR_MSIZE_BYTE 0
|
||||||
#define STM32_DMA_CR_MSIZE_HWORD DMA_CCR1_MSIZE_0
|
#define STM32_DMA_CR_MSIZE_HWORD DMA_CCR1_MSIZE_0
|
||||||
#define STM32_DMA_CR_MSIZE_WORD DMA_CCR1_MSIZE_1
|
#define STM32_DMA_CR_MSIZE_WORD DMA_CCR1_MSIZE_1
|
||||||
#define STM32_DMA_CR_SIZE_MASK (STM32_DMA_CR_MSIZE_MASK | \
|
#define STM32_DMA_CR_SIZE_MASK (STM32_DMA_CR_PSIZE_MASK | \
|
||||||
STM32_DMA_CR_MSIZE_MASK)
|
STM32_DMA_CR_MSIZE_MASK)
|
||||||
#define STM32_DMA_CR_PL_MASK DMA_CCR1_PL
|
#define STM32_DMA_CR_PL_MASK DMA_CCR1_PL
|
||||||
#define STM32_DMA_CR_PL(n) ((n) << 12)
|
#define STM32_DMA_CR_PL(n) ((n) << 12)
|
||||||
|
|
|
@ -82,6 +82,8 @@
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
|
|
||||||
*** 2.5.1 ***
|
*** 2.5.1 ***
|
||||||
|
- FIX: Fixed DMA reconfiguration problem in STM32 SPI driver (bug 3592809)
|
||||||
|
(backported to 2.4.3).
|
||||||
- FIX: Fixed wrong stack initializations in GCC STM32L1xx port files (bug
|
- FIX: Fixed wrong stack initializations in GCC STM32L1xx port files (bug
|
||||||
3591321)(backported to 2.4.3).
|
3591321)(backported to 2.4.3).
|
||||||
- FIX: Fixed different redefinition for __main_stack_end__ symbol (bug
|
- FIX: Fixed different redefinition for __main_stack_end__ symbol (bug
|
||||||
|
|
Loading…
Reference in New Issue