I2C. Priorities rebalanced. I2C pushed over other peripherals as a workaround on buggy i2c cell in STM32.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4570 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
f0323b067c
commit
bfa1ba111d
|
@ -58,7 +58,7 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_ADC_USE_ADC1 TRUE
|
#define STM32_ADC_USE_ADC1 TRUE
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC1_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -103,12 +103,12 @@
|
||||||
#define STM32_I2C_USE_I2C1 FALSE
|
#define STM32_I2C_USE_I2C1 FALSE
|
||||||
#define STM32_I2C_USE_I2C2 FALSE
|
#define STM32_I2C_USE_I2C2 FALSE
|
||||||
#define STM32_I2C_USE_I2C3 FALSE
|
#define STM32_I2C_USE_I2C3 FALSE
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_ADC_USE_ADC1 TRUE
|
#define STM32_ADC_USE_ADC1 TRUE
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC1_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -105,12 +105,12 @@
|
||||||
#define STM32_I2C_USE_I2C1 FALSE
|
#define STM32_I2C_USE_I2C1 FALSE
|
||||||
#define STM32_I2C_USE_I2C2 FALSE
|
#define STM32_I2C_USE_I2C2 FALSE
|
||||||
#define STM32_I2C_USE_I2C3 FALSE
|
#define STM32_I2C_USE_I2C3 FALSE
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_ADC_USE_ADC1 TRUE
|
#define STM32_ADC_USE_ADC1 TRUE
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC1_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -105,12 +105,12 @@
|
||||||
#define STM32_I2C_USE_I2C1 FALSE
|
#define STM32_I2C_USE_I2C1 FALSE
|
||||||
#define STM32_I2C_USE_I2C2 FALSE
|
#define STM32_I2C_USE_I2C2 FALSE
|
||||||
#define STM32_I2C_USE_I2C3 FALSE
|
#define STM32_I2C_USE_I2C3 FALSE
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_ADC_USE_ADC1 TRUE
|
#define STM32_ADC_USE_ADC1 TRUE
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC1_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -105,12 +105,12 @@
|
||||||
#define STM32_I2C_USE_I2C1 FALSE
|
#define STM32_I2C_USE_I2C1 FALSE
|
||||||
#define STM32_I2C_USE_I2C2 FALSE
|
#define STM32_I2C_USE_I2C2 FALSE
|
||||||
#define STM32_I2C_USE_I2C3 FALSE
|
#define STM32_I2C_USE_I2C3 FALSE
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_ADC_USE_ADC1 TRUE
|
#define STM32_ADC_USE_ADC1 TRUE
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC1_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -105,12 +105,12 @@
|
||||||
#define STM32_I2C_USE_I2C1 FALSE
|
#define STM32_I2C_USE_I2C1 FALSE
|
||||||
#define STM32_I2C_USE_I2C2 FALSE
|
#define STM32_I2C_USE_I2C2 FALSE
|
||||||
#define STM32_I2C_USE_I2C3 FALSE
|
#define STM32_I2C_USE_I2C3 FALSE
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -65,7 +65,7 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_ADC_USE_ADC1 TRUE
|
#define STM32_ADC_USE_ADC1 TRUE
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC1_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -110,12 +110,12 @@
|
||||||
#define STM32_I2C_USE_I2C1 FALSE
|
#define STM32_I2C_USE_I2C1 FALSE
|
||||||
#define STM32_I2C_USE_I2C2 FALSE
|
#define STM32_I2C_USE_I2C2 FALSE
|
||||||
#define STM32_I2C_USE_I2C3 FALSE
|
#define STM32_I2C_USE_I2C3 FALSE
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -65,7 +65,7 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_ADC_USE_ADC1 TRUE
|
#define STM32_ADC_USE_ADC1 TRUE
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC1_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -110,12 +110,12 @@
|
||||||
#define STM32_I2C_USE_I2C1 FALSE
|
#define STM32_I2C_USE_I2C1 FALSE
|
||||||
#define STM32_I2C_USE_I2C2 FALSE
|
#define STM32_I2C_USE_I2C2 FALSE
|
||||||
#define STM32_I2C_USE_I2C3 FALSE
|
#define STM32_I2C_USE_I2C3 FALSE
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -65,7 +65,7 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_ADC_USE_ADC1 TRUE
|
#define STM32_ADC_USE_ADC1 TRUE
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC1_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -110,12 +110,12 @@
|
||||||
#define STM32_I2C_USE_I2C1 FALSE
|
#define STM32_I2C_USE_I2C1 FALSE
|
||||||
#define STM32_I2C_USE_I2C2 FALSE
|
#define STM32_I2C_USE_I2C2 FALSE
|
||||||
#define STM32_I2C_USE_I2C3 FALSE
|
#define STM32_I2C_USE_I2C3 FALSE
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -63,8 +63,8 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_ADC_USE_ADC1 TRUE
|
#define STM32_ADC_USE_ADC1 TRUE
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_IRQ_PRIORITY 5
|
#define STM32_ADC_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
|
|
@ -76,10 +76,10 @@
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC2_DMA_PRIORITY 2
|
#define STM32_ADC_ADC2_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC3_DMA_PRIORITY 2
|
#define STM32_ADC_ADC3_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_IRQ_PRIORITY 5
|
#define STM32_ADC_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC2_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC2_DMA_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC3_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC3_DMA_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -227,12 +227,12 @@
|
||||||
#define STM32_I2C_I2C2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 7)
|
#define STM32_I2C_I2C2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 7)
|
||||||
#define STM32_I2C_I2C3_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
|
#define STM32_I2C_I2C3_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
|
||||||
#define STM32_I2C_I2C3_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
|
#define STM32_I2C_I2C3_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -76,10 +76,10 @@
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC2_DMA_PRIORITY 2
|
#define STM32_ADC_ADC2_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC3_DMA_PRIORITY 2
|
#define STM32_ADC_ADC3_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_IRQ_PRIORITY 5
|
#define STM32_ADC_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC2_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC2_DMA_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC3_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC3_DMA_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -227,12 +227,12 @@
|
||||||
#define STM32_I2C_I2C2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 7)
|
#define STM32_I2C_I2C2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 7)
|
||||||
#define STM32_I2C_I2C3_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
|
#define STM32_I2C_I2C3_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
|
||||||
#define STM32_I2C_I2C3_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
|
#define STM32_I2C_I2C3_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -76,10 +76,10 @@
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC2_DMA_PRIORITY 2
|
#define STM32_ADC_ADC2_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC3_DMA_PRIORITY 2
|
#define STM32_ADC_ADC3_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_IRQ_PRIORITY 5
|
#define STM32_ADC_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC2_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC2_DMA_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC3_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC3_DMA_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -227,12 +227,12 @@
|
||||||
#define STM32_I2C_I2C2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 7)
|
#define STM32_I2C_I2C2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 7)
|
||||||
#define STM32_I2C_I2C3_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
|
#define STM32_I2C_I2C3_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
|
||||||
#define STM32_I2C_I2C3_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
|
#define STM32_I2C_I2C3_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -76,10 +76,10 @@
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC2_DMA_PRIORITY 2
|
#define STM32_ADC_ADC2_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC3_DMA_PRIORITY 2
|
#define STM32_ADC_ADC3_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_IRQ_PRIORITY 5
|
#define STM32_ADC_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC2_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC2_DMA_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC3_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC3_DMA_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -227,12 +227,12 @@
|
||||||
#define STM32_I2C_I2C2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 7)
|
#define STM32_I2C_I2C2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 7)
|
||||||
#define STM32_I2C_I2C3_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
|
#define STM32_I2C_I2C3_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
|
||||||
#define STM32_I2C_I2C3_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
|
#define STM32_I2C_I2C3_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_ADC_USE_ADC1 TRUE
|
#define STM32_ADC_USE_ADC1 TRUE
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC1_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -105,12 +105,12 @@
|
||||||
#define STM32_I2C_USE_I2C1 FALSE
|
#define STM32_I2C_USE_I2C1 FALSE
|
||||||
#define STM32_I2C_USE_I2C2 FALSE
|
#define STM32_I2C_USE_I2C2 FALSE
|
||||||
#define STM32_I2C_USE_I2C3 FALSE
|
#define STM32_I2C_USE_I2C3 FALSE
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_ADC_USE_ADC1 TRUE
|
#define STM32_ADC_USE_ADC1 TRUE
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC1_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -105,12 +105,12 @@
|
||||||
#define STM32_I2C_USE_I2C1 FALSE
|
#define STM32_I2C_USE_I2C1 FALSE
|
||||||
#define STM32_I2C_USE_I2C2 FALSE
|
#define STM32_I2C_USE_I2C2 FALSE
|
||||||
#define STM32_I2C_USE_I2C3 FALSE
|
#define STM32_I2C_USE_I2C3 FALSE
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_ADC_USE_ADC1 TRUE
|
#define STM32_ADC_USE_ADC1 TRUE
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC1_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -105,12 +105,12 @@
|
||||||
#define STM32_I2C_USE_I2C1 FALSE
|
#define STM32_I2C_USE_I2C1 FALSE
|
||||||
#define STM32_I2C_USE_I2C2 FALSE
|
#define STM32_I2C_USE_I2C2 FALSE
|
||||||
#define STM32_I2C_USE_I2C3 FALSE
|
#define STM32_I2C_USE_I2C3 FALSE
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_ADC_USE_ADC1 TRUE
|
#define STM32_ADC_USE_ADC1 TRUE
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC1_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -105,12 +105,12 @@
|
||||||
#define STM32_I2C_USE_I2C1 FALSE
|
#define STM32_I2C_USE_I2C1 FALSE
|
||||||
#define STM32_I2C_USE_I2C2 FALSE
|
#define STM32_I2C_USE_I2C2 FALSE
|
||||||
#define STM32_I2C_USE_I2C3 FALSE
|
#define STM32_I2C_USE_I2C3 FALSE
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_ADC_USE_ADC1 TRUE
|
#define STM32_ADC_USE_ADC1 TRUE
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC1_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -105,12 +105,12 @@
|
||||||
#define STM32_I2C_USE_I2C1 FALSE
|
#define STM32_I2C_USE_I2C1 FALSE
|
||||||
#define STM32_I2C_USE_I2C2 FALSE
|
#define STM32_I2C_USE_I2C2 FALSE
|
||||||
#define STM32_I2C_USE_I2C3 FALSE
|
#define STM32_I2C_USE_I2C3 FALSE
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_ADC_USE_ADC1 TRUE
|
#define STM32_ADC_USE_ADC1 TRUE
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC1_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -105,12 +105,12 @@
|
||||||
#define STM32_I2C_USE_I2C1 TRUE
|
#define STM32_I2C_USE_I2C1 TRUE
|
||||||
#define STM32_I2C_USE_I2C2 FALSE
|
#define STM32_I2C_USE_I2C2 FALSE
|
||||||
#define STM32_I2C_USE_I2C3 FALSE
|
#define STM32_I2C_USE_I2C3 FALSE
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_ADC_USE_ADC1 TRUE
|
#define STM32_ADC_USE_ADC1 TRUE
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC1_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -105,12 +105,12 @@
|
||||||
#define STM32_I2C_USE_I2C1 FALSE
|
#define STM32_I2C_USE_I2C1 FALSE
|
||||||
#define STM32_I2C_USE_I2C2 FALSE
|
#define STM32_I2C_USE_I2C2 FALSE
|
||||||
#define STM32_I2C_USE_I2C3 FALSE
|
#define STM32_I2C_USE_I2C3 FALSE
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -65,7 +65,7 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_ADC_USE_ADC1 TRUE
|
#define STM32_ADC_USE_ADC1 TRUE
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC1_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -110,12 +110,12 @@
|
||||||
#define STM32_I2C_USE_I2C1 FALSE
|
#define STM32_I2C_USE_I2C1 FALSE
|
||||||
#define STM32_I2C_USE_I2C2 FALSE
|
#define STM32_I2C_USE_I2C2 FALSE
|
||||||
#define STM32_I2C_USE_I2C3 FALSE
|
#define STM32_I2C_USE_I2C3 FALSE
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_ADC_USE_ADC1 TRUE
|
#define STM32_ADC_USE_ADC1 TRUE
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC1_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -105,12 +105,12 @@
|
||||||
#define STM32_I2C_USE_I2C1 FALSE
|
#define STM32_I2C_USE_I2C1 FALSE
|
||||||
#define STM32_I2C_USE_I2C2 FALSE
|
#define STM32_I2C_USE_I2C2 FALSE
|
||||||
#define STM32_I2C_USE_I2C3 FALSE
|
#define STM32_I2C_USE_I2C3 FALSE
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_ADC_USE_ADC1 TRUE
|
#define STM32_ADC_USE_ADC1 TRUE
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC1_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -105,12 +105,12 @@
|
||||||
#define STM32_I2C_USE_I2C1 FALSE
|
#define STM32_I2C_USE_I2C1 FALSE
|
||||||
#define STM32_I2C_USE_I2C2 FALSE
|
#define STM32_I2C_USE_I2C2 FALSE
|
||||||
#define STM32_I2C_USE_I2C3 FALSE
|
#define STM32_I2C_USE_I2C3 FALSE
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_ADC_USE_ADC1 TRUE
|
#define STM32_ADC_USE_ADC1 TRUE
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC1_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -105,12 +105,12 @@
|
||||||
#define STM32_I2C_USE_I2C1 FALSE
|
#define STM32_I2C_USE_I2C1 FALSE
|
||||||
#define STM32_I2C_USE_I2C2 FALSE
|
#define STM32_I2C_USE_I2C2 FALSE
|
||||||
#define STM32_I2C_USE_I2C3 FALSE
|
#define STM32_I2C_USE_I2C3 FALSE
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_ADC_USE_ADC1 TRUE
|
#define STM32_ADC_USE_ADC1 TRUE
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC1_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -105,12 +105,12 @@
|
||||||
#define STM32_I2C_USE_I2C1 FALSE
|
#define STM32_I2C_USE_I2C1 FALSE
|
||||||
#define STM32_I2C_USE_I2C2 FALSE
|
#define STM32_I2C_USE_I2C2 FALSE
|
||||||
#define STM32_I2C_USE_I2C3 FALSE
|
#define STM32_I2C_USE_I2C3 FALSE
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_ADC_USE_ADC1 TRUE
|
#define STM32_ADC_USE_ADC1 TRUE
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC1_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -105,12 +105,12 @@
|
||||||
#define STM32_I2C_USE_I2C1 FALSE
|
#define STM32_I2C_USE_I2C1 FALSE
|
||||||
#define STM32_I2C_USE_I2C2 FALSE
|
#define STM32_I2C_USE_I2C2 FALSE
|
||||||
#define STM32_I2C_USE_I2C3 FALSE
|
#define STM32_I2C_USE_I2C3 FALSE
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_ADC_USE_ADC1 TRUE
|
#define STM32_ADC_USE_ADC1 TRUE
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC1_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -105,12 +105,12 @@
|
||||||
#define STM32_I2C_USE_I2C1 FALSE
|
#define STM32_I2C_USE_I2C1 FALSE
|
||||||
#define STM32_I2C_USE_I2C2 FALSE
|
#define STM32_I2C_USE_I2C2 FALSE
|
||||||
#define STM32_I2C_USE_I2C3 FALSE
|
#define STM32_I2C_USE_I2C3 FALSE
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_ADC_USE_ADC1 TRUE
|
#define STM32_ADC_USE_ADC1 TRUE
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC1_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -105,12 +105,12 @@
|
||||||
#define STM32_I2C_USE_I2C1 FALSE
|
#define STM32_I2C_USE_I2C1 FALSE
|
||||||
#define STM32_I2C_USE_I2C2 FALSE
|
#define STM32_I2C_USE_I2C2 FALSE
|
||||||
#define STM32_I2C_USE_I2C3 FALSE
|
#define STM32_I2C_USE_I2C3 FALSE
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_ADC_USE_ADC1 TRUE
|
#define STM32_ADC_USE_ADC1 TRUE
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC1_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -105,12 +105,12 @@
|
||||||
#define STM32_I2C_USE_I2C1 FALSE
|
#define STM32_I2C_USE_I2C1 FALSE
|
||||||
#define STM32_I2C_USE_I2C2 FALSE
|
#define STM32_I2C_USE_I2C2 FALSE
|
||||||
#define STM32_I2C_USE_I2C3 FALSE
|
#define STM32_I2C_USE_I2C3 FALSE
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 10
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -76,10 +76,10 @@
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC2_DMA_PRIORITY 2
|
#define STM32_ADC_ADC2_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC3_DMA_PRIORITY 2
|
#define STM32_ADC_ADC3_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_IRQ_PRIORITY 5
|
#define STM32_ADC_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC2_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC2_DMA_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC3_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC3_DMA_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -227,12 +227,12 @@
|
||||||
#define STM32_I2C_I2C2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 7)
|
#define STM32_I2C_I2C2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 7)
|
||||||
#define STM32_I2C_I2C3_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
|
#define STM32_I2C_I2C3_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
|
||||||
#define STM32_I2C_I2C3_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
|
#define STM32_I2C_I2C3_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -76,10 +76,10 @@
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC2_DMA_PRIORITY 2
|
#define STM32_ADC_ADC2_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC3_DMA_PRIORITY 2
|
#define STM32_ADC_ADC3_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_IRQ_PRIORITY 5
|
#define STM32_ADC_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC2_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC2_DMA_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC3_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC3_DMA_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -227,12 +227,12 @@
|
||||||
#define STM32_I2C_I2C2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 7)
|
#define STM32_I2C_I2C2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 7)
|
||||||
#define STM32_I2C_I2C3_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
|
#define STM32_I2C_I2C3_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
|
||||||
#define STM32_I2C_I2C3_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
|
#define STM32_I2C_I2C3_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -76,10 +76,10 @@
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC2_DMA_PRIORITY 2
|
#define STM32_ADC_ADC2_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC3_DMA_PRIORITY 2
|
#define STM32_ADC_ADC3_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_IRQ_PRIORITY 5
|
#define STM32_ADC_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC2_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC2_DMA_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC3_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC3_DMA_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -227,12 +227,12 @@
|
||||||
#define STM32_I2C_I2C2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 7)
|
#define STM32_I2C_I2C2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 7)
|
||||||
#define STM32_I2C_I2C3_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
|
#define STM32_I2C_I2C3_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
|
||||||
#define STM32_I2C_I2C3_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
|
#define STM32_I2C_I2C3_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -76,10 +76,10 @@
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC2_DMA_PRIORITY 2
|
#define STM32_ADC_ADC2_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC3_DMA_PRIORITY 2
|
#define STM32_ADC_ADC3_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_IRQ_PRIORITY 5
|
#define STM32_ADC_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC2_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC2_DMA_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC3_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC3_DMA_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -227,12 +227,12 @@
|
||||||
#define STM32_I2C_I2C2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 7)
|
#define STM32_I2C_I2C2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 7)
|
||||||
#define STM32_I2C_I2C3_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
|
#define STM32_I2C_I2C3_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
|
||||||
#define STM32_I2C_I2C3_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
|
#define STM32_I2C_I2C3_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -76,10 +76,10 @@
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC2_DMA_PRIORITY 2
|
#define STM32_ADC_ADC2_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC3_DMA_PRIORITY 2
|
#define STM32_ADC_ADC3_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_IRQ_PRIORITY 5
|
#define STM32_ADC_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC2_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC2_DMA_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC3_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC3_DMA_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -227,12 +227,12 @@
|
||||||
#define STM32_I2C_I2C2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 7)
|
#define STM32_I2C_I2C2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 7)
|
||||||
#define STM32_I2C_I2C3_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
|
#define STM32_I2C_I2C3_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
|
||||||
#define STM32_I2C_I2C3_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
|
#define STM32_I2C_I2C3_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -77,10 +77,10 @@
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC2_DMA_PRIORITY 2
|
#define STM32_ADC_ADC2_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC3_DMA_PRIORITY 2
|
#define STM32_ADC_ADC3_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_IRQ_PRIORITY 5
|
#define STM32_ADC_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC2_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC2_DMA_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC3_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC3_DMA_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -235,12 +235,12 @@
|
||||||
#define STM32_I2C_I2C2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 7)
|
#define STM32_I2C_I2C2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 7)
|
||||||
#define STM32_I2C_I2C3_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
|
#define STM32_I2C_I2C3_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
|
||||||
#define STM32_I2C_I2C3_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
|
#define STM32_I2C_I2C3_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -76,10 +76,10 @@
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC2_DMA_PRIORITY 2
|
#define STM32_ADC_ADC2_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC3_DMA_PRIORITY 2
|
#define STM32_ADC_ADC3_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_IRQ_PRIORITY 5
|
#define STM32_ADC_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC2_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC2_DMA_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC3_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC3_DMA_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -227,12 +227,12 @@
|
||||||
#define STM32_I2C_I2C2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 7)
|
#define STM32_I2C_I2C2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 7)
|
||||||
#define STM32_I2C_I2C3_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
|
#define STM32_I2C_I2C3_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
|
||||||
#define STM32_I2C_I2C3_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
|
#define STM32_I2C_I2C3_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -76,10 +76,10 @@
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC2_DMA_PRIORITY 2
|
#define STM32_ADC_ADC2_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC3_DMA_PRIORITY 2
|
#define STM32_ADC_ADC3_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_IRQ_PRIORITY 5
|
#define STM32_ADC_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC2_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC2_DMA_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC3_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC3_DMA_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -227,12 +227,12 @@
|
||||||
#define STM32_I2C_I2C2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 7)
|
#define STM32_I2C_I2C2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 7)
|
||||||
#define STM32_I2C_I2C3_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
|
#define STM32_I2C_I2C3_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
|
||||||
#define STM32_I2C_I2C3_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
|
#define STM32_I2C_I2C3_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -77,10 +77,10 @@
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC2_DMA_PRIORITY 2
|
#define STM32_ADC_ADC2_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC3_DMA_PRIORITY 2
|
#define STM32_ADC_ADC3_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_IRQ_PRIORITY 5
|
#define STM32_ADC_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC2_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC2_DMA_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC3_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC3_DMA_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -235,12 +235,12 @@
|
||||||
#define STM32_I2C_I2C2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 7)
|
#define STM32_I2C_I2C2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 7)
|
||||||
#define STM32_I2C_I2C3_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
|
#define STM32_I2C_I2C3_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
|
||||||
#define STM32_I2C_I2C3_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
|
#define STM32_I2C_I2C3_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -76,10 +76,10 @@
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC2_DMA_PRIORITY 2
|
#define STM32_ADC_ADC2_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC3_DMA_PRIORITY 2
|
#define STM32_ADC_ADC3_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_IRQ_PRIORITY 5
|
#define STM32_ADC_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC2_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC2_DMA_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC3_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC3_DMA_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -227,12 +227,12 @@
|
||||||
#define STM32_I2C_I2C2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 7)
|
#define STM32_I2C_I2C2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 7)
|
||||||
#define STM32_I2C_I2C3_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
|
#define STM32_I2C_I2C3_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
|
||||||
#define STM32_I2C_I2C3_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
|
#define STM32_I2C_I2C3_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -76,10 +76,10 @@
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC2_DMA_PRIORITY 2
|
#define STM32_ADC_ADC2_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC3_DMA_PRIORITY 2
|
#define STM32_ADC_ADC3_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_IRQ_PRIORITY 5
|
#define STM32_ADC_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC2_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC2_DMA_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC3_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC3_DMA_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -227,12 +227,12 @@
|
||||||
#define STM32_I2C_I2C2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 7)
|
#define STM32_I2C_I2C2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 7)
|
||||||
#define STM32_I2C_I2C3_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
|
#define STM32_I2C_I2C3_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
|
||||||
#define STM32_I2C_I2C3_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
|
#define STM32_I2C_I2C3_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -77,10 +77,10 @@
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC2_DMA_PRIORITY 2
|
#define STM32_ADC_ADC2_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC3_DMA_PRIORITY 2
|
#define STM32_ADC_ADC3_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_IRQ_PRIORITY 5
|
#define STM32_ADC_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC2_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC2_DMA_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC3_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC3_DMA_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -235,12 +235,12 @@
|
||||||
#define STM32_I2C_I2C2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 7)
|
#define STM32_I2C_I2C2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 7)
|
||||||
#define STM32_I2C_I2C3_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
|
#define STM32_I2C_I2C3_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
|
||||||
#define STM32_I2C_I2C3_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
|
#define STM32_I2C_I2C3_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -76,10 +76,10 @@
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC2_DMA_PRIORITY 2
|
#define STM32_ADC_ADC2_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC3_DMA_PRIORITY 2
|
#define STM32_ADC_ADC3_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_IRQ_PRIORITY 5
|
#define STM32_ADC_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC2_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC2_DMA_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC3_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC3_DMA_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -227,12 +227,12 @@
|
||||||
#define STM32_I2C_I2C2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 7)
|
#define STM32_I2C_I2C2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 7)
|
||||||
#define STM32_I2C_I2C3_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
|
#define STM32_I2C_I2C3_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
|
||||||
#define STM32_I2C_I2C3_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
|
#define STM32_I2C_I2C3_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -76,10 +76,10 @@
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC2_DMA_PRIORITY 2
|
#define STM32_ADC_ADC2_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC3_DMA_PRIORITY 2
|
#define STM32_ADC_ADC3_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_IRQ_PRIORITY 5
|
#define STM32_ADC_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC2_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC2_DMA_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC3_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC3_DMA_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -227,12 +227,12 @@
|
||||||
#define STM32_I2C_I2C2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 7)
|
#define STM32_I2C_I2C2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 7)
|
||||||
#define STM32_I2C_I2C3_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
|
#define STM32_I2C_I2C3_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
|
||||||
#define STM32_I2C_I2C3_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
|
#define STM32_I2C_I2C3_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -76,10 +76,10 @@
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC2_DMA_PRIORITY 2
|
#define STM32_ADC_ADC2_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_ADC3_DMA_PRIORITY 2
|
#define STM32_ADC_ADC3_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_IRQ_PRIORITY 5
|
#define STM32_ADC_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC2_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC2_DMA_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC3_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC3_DMA_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
@ -227,12 +227,12 @@
|
||||||
#define STM32_I2C_I2C2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 7)
|
#define STM32_I2C_I2C2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 7)
|
||||||
#define STM32_I2C_I2C3_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
|
#define STM32_I2C_I2C3_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
|
||||||
#define STM32_I2C_I2C3_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
|
#define STM32_I2C_I2C3_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C3_IRQ_PRIORITY 6
|
#define STM32_I2C_I2C3_IRQ_PRIORITY 5
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C2_DMA_PRIORITY 1
|
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C3_DMA_PRIORITY 1
|
#define STM32_I2C_I2C3_DMA_PRIORITY 3
|
||||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||||
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
|
||||||
|
|
|
@ -63,8 +63,8 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_ADC_USE_ADC1 TRUE
|
#define STM32_ADC_USE_ADC1 TRUE
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_IRQ_PRIORITY 5
|
#define STM32_ADC_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
|
|
@ -63,8 +63,8 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_ADC_USE_ADC1 TRUE
|
#define STM32_ADC_USE_ADC1 TRUE
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_IRQ_PRIORITY 5
|
#define STM32_ADC_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
|
|
@ -63,8 +63,8 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_ADC_USE_ADC1 TRUE
|
#define STM32_ADC_USE_ADC1 TRUE
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_IRQ_PRIORITY 5
|
#define STM32_ADC_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
|
|
@ -63,8 +63,8 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_ADC_USE_ADC1 TRUE
|
#define STM32_ADC_USE_ADC1 TRUE
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_IRQ_PRIORITY 5
|
#define STM32_ADC_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
|
|
@ -63,8 +63,8 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_ADC_USE_ADC1 TRUE
|
#define STM32_ADC_USE_ADC1 TRUE
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_IRQ_PRIORITY 5
|
#define STM32_ADC_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
|
|
@ -63,8 +63,8 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_ADC_USE_ADC1 TRUE
|
#define STM32_ADC_USE_ADC1 TRUE
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_IRQ_PRIORITY 5
|
#define STM32_ADC_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
|
|
@ -63,8 +63,8 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_ADC_USE_ADC1 TRUE
|
#define STM32_ADC_USE_ADC1 TRUE
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_IRQ_PRIORITY 5
|
#define STM32_ADC_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
|
|
@ -63,8 +63,8 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_ADC_USE_ADC1 TRUE
|
#define STM32_ADC_USE_ADC1 TRUE
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_IRQ_PRIORITY 5
|
#define STM32_ADC_IRQ_PRIORITY 6
|
||||||
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 5
|
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 6
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
|
|
Loading…
Reference in New Issue