Fixed bug #1233.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15770 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
940754b2cf
commit
325a92945f
|
@ -75,6 +75,10 @@
|
||||||
#define STM32_CAN2_RX0_HANDLER Vector140
|
#define STM32_CAN2_RX0_HANDLER Vector140
|
||||||
#define STM32_CAN2_RX1_HANDLER Vector144
|
#define STM32_CAN2_RX1_HANDLER Vector144
|
||||||
#define STM32_CAN2_SCE_HANDLER Vector148
|
#define STM32_CAN2_SCE_HANDLER Vector148
|
||||||
|
#define STM32_CAN3_TX_HANDLER Vector168
|
||||||
|
#define STM32_CAN3_RX0_HANDLER Vector16C
|
||||||
|
#define STM32_CAN3_RX1_HANDLER Vector170
|
||||||
|
#define STM32_CAN3_SCE_HANDLER Vector174
|
||||||
|
|
||||||
#define STM32_CAN1_TX_NUMBER 19
|
#define STM32_CAN1_TX_NUMBER 19
|
||||||
#define STM32_CAN1_RX0_NUMBER 20
|
#define STM32_CAN1_RX0_NUMBER 20
|
||||||
|
@ -84,6 +88,10 @@
|
||||||
#define STM32_CAN2_RX0_NUMBER 64
|
#define STM32_CAN2_RX0_NUMBER 64
|
||||||
#define STM32_CAN2_RX1_NUMBER 65
|
#define STM32_CAN2_RX1_NUMBER 65
|
||||||
#define STM32_CAN2_SCE_NUMBER 66
|
#define STM32_CAN2_SCE_NUMBER 66
|
||||||
|
#define STM32_CAN3_TX_NUMBER 74
|
||||||
|
#define STM32_CAN3_RX0_NUMBER 75
|
||||||
|
#define STM32_CAN3_RX1_NUMBER 76
|
||||||
|
#define STM32_CAN3_SCE_NUMBER 77
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* EXTI unit.
|
* EXTI unit.
|
||||||
|
|
|
@ -510,6 +510,29 @@
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
#define rccResetCAN2() rccResetAPB1(RCC_APB1RSTR_CAN2RST)
|
#define rccResetCAN2() rccResetAPB1(RCC_APB1RSTR_CAN2RST)
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Resets the CAN3 peripheral.
|
||||||
|
*
|
||||||
|
* @api
|
||||||
|
*/
|
||||||
|
#define rccResetCAN3() rccResetAPB1(RCC_APB1RSTR_CAN3RST)
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Enables the CAN3 peripheral clock.
|
||||||
|
*
|
||||||
|
* @param[in] lp low power enable flag
|
||||||
|
*
|
||||||
|
* @api
|
||||||
|
*/
|
||||||
|
#define rccEnableCAN3(lp) rccEnableAPB1(RCC_APB1ENR_CAN3EN, lp)
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Disables the CAN3 peripheral clock.
|
||||||
|
*
|
||||||
|
* @api
|
||||||
|
*/
|
||||||
|
#define rccDisableCAN3() rccDisableAPB1(RCC_APB1ENR_CAN3EN)
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1268,6 +1268,7 @@
|
||||||
#define STM32_HAS_CAN2 TRUE
|
#define STM32_HAS_CAN2 TRUE
|
||||||
#define STM32_HAS_CAN3 TRUE
|
#define STM32_HAS_CAN3 TRUE
|
||||||
#define STM32_CAN_MAX_FILTERS 28
|
#define STM32_CAN_MAX_FILTERS 28
|
||||||
|
#define STM32_CAN3_MAX_FILTERS 14
|
||||||
|
|
||||||
/* DAC attributes.*/
|
/* DAC attributes.*/
|
||||||
#define STM32_HAS_DAC1_CH1 TRUE
|
#define STM32_HAS_DAC1_CH1 TRUE
|
||||||
|
|
|
@ -124,6 +124,7 @@
|
||||||
- NEW: Increased stacks size in RT test suite from 128 to 192. added an
|
- NEW: Increased stacks size in RT test suite from 128 to 192. added an
|
||||||
option to override the stack size by defining THREADS_STACK_SIZE
|
option to override the stack size by defining THREADS_STACK_SIZE
|
||||||
in the makefile.
|
in the makefile.
|
||||||
|
- FIX: CAN support broken on STM32F413 (bug #1232)(***********TODO*********** backported to 21.11.3).
|
||||||
- FIX: Re-opened and fixed bug #1100
|
- FIX: Re-opened and fixed bug #1100
|
||||||
(backported to 20.3.5)(backported to 21.11.2).
|
(backported to 20.3.5)(backported to 21.11.2).
|
||||||
- FIX: Fixed wrong buffers toggling in STM32 USBv1 isochronous mode (bug #1232)
|
- FIX: Fixed wrong buffers toggling in STM32 USBv1 isochronous mode (bug #1232)
|
||||||
|
|
Loading…
Reference in New Issue