diff options
Diffstat (limited to 'testhal/STM32')
-rw-r--r-- | testhal/STM32/STM32F7xx/GPT-ADC/mcuconf.h | 12 | ||||
-rw-r--r-- | testhal/STM32/STM32F7xx/IRQ_STORM/mcuconf.h | 12 | ||||
-rw-r--r-- | testhal/STM32/STM32F7xx/PWM-ICU/mcuconf.h | 12 | ||||
-rw-r--r-- | testhal/STM32/STM32F7xx/SPI/mcuconf.h | 12 | ||||
-rw-r--r-- | testhal/STM32/STM32F7xx/USB_RAW/mcuconf.h | 12 | ||||
-rw-r--r-- | testhal/STM32/multi/CRYPTO/cfg/stm32f756zg_nucleo144/mcuconf.h | 2 | ||||
-rw-r--r-- | testhal/STM32/multi/PAL/cfg/stm32f746_discovery/mcuconf.h | 12 | ||||
-rw-r--r-- | testhal/STM32/multi/UART/cfg/stm32f746_discovery/mcuconf.h | 12 | ||||
-rw-r--r-- | testhal/STM32/multi/USB_CDC/cfg/stm32f746_discovery/mcuconf.h | 12 |
9 files changed, 97 insertions, 1 deletions
diff --git a/testhal/STM32/STM32F7xx/GPT-ADC/mcuconf.h b/testhal/STM32/STM32F7xx/GPT-ADC/mcuconf.h index 47c3cbf51..faaa20d3e 100644 --- a/testhal/STM32/STM32F7xx/GPT-ADC/mcuconf.h +++ b/testhal/STM32/STM32F7xx/GPT-ADC/mcuconf.h @@ -142,6 +142,18 @@ #define STM32_CAN_CAN3_IRQ_PRIORITY 11
/*
+ * CRY driver system settings.
+ */
+#define STM32_CRY_USE_CRYP1 FALSE
+#define STM32_CRY_USE_HASH1 FALSE
+#define STM32_CRY_CRYP1_IRQ_PRIORITY 9
+#define STM32_CRY_HASH1_IRQ_PRIORITY 9
+#define STM32_CRY_HASH1_DMA_STREAM STM32_DMA_STREAM_ID(2, 7)
+#define STM32_CRY_HASH1_DMA_PRIORITY 0
+#define STM32_CRY_HASH_SIZE_THRESHOLD 1024
+#define STM32_CRY_HASH_DMA_ERROR_HOOK(cryp) osalSysHalt("DMA failure")
+
+/*
* DAC driver system settings.
*/
#define STM32_DAC_DUAL_MODE FALSE
diff --git a/testhal/STM32/STM32F7xx/IRQ_STORM/mcuconf.h b/testhal/STM32/STM32F7xx/IRQ_STORM/mcuconf.h index 48dde0fca..d658bc057 100644 --- a/testhal/STM32/STM32F7xx/IRQ_STORM/mcuconf.h +++ b/testhal/STM32/STM32F7xx/IRQ_STORM/mcuconf.h @@ -142,6 +142,18 @@ #define STM32_CAN_CAN3_IRQ_PRIORITY 11
/*
+ * CRY driver system settings.
+ */
+#define STM32_CRY_USE_CRYP1 FALSE
+#define STM32_CRY_USE_HASH1 FALSE
+#define STM32_CRY_CRYP1_IRQ_PRIORITY 9
+#define STM32_CRY_HASH1_IRQ_PRIORITY 9
+#define STM32_CRY_HASH1_DMA_STREAM STM32_DMA_STREAM_ID(2, 7)
+#define STM32_CRY_HASH1_DMA_PRIORITY 0
+#define STM32_CRY_HASH_SIZE_THRESHOLD 1024
+#define STM32_CRY_HASH_DMA_ERROR_HOOK(cryp) osalSysHalt("DMA failure")
+
+/*
* DAC driver system settings.
*/
#define STM32_DAC_DUAL_MODE FALSE
diff --git a/testhal/STM32/STM32F7xx/PWM-ICU/mcuconf.h b/testhal/STM32/STM32F7xx/PWM-ICU/mcuconf.h index 8d5fe1edb..f661620c1 100644 --- a/testhal/STM32/STM32F7xx/PWM-ICU/mcuconf.h +++ b/testhal/STM32/STM32F7xx/PWM-ICU/mcuconf.h @@ -142,6 +142,18 @@ #define STM32_CAN_CAN3_IRQ_PRIORITY 11
/*
+ * CRY driver system settings.
+ */
+#define STM32_CRY_USE_CRYP1 FALSE
+#define STM32_CRY_USE_HASH1 FALSE
+#define STM32_CRY_CRYP1_IRQ_PRIORITY 9
+#define STM32_CRY_HASH1_IRQ_PRIORITY 9
+#define STM32_CRY_HASH1_DMA_STREAM STM32_DMA_STREAM_ID(2, 7)
+#define STM32_CRY_HASH1_DMA_PRIORITY 0
+#define STM32_CRY_HASH_SIZE_THRESHOLD 1024
+#define STM32_CRY_HASH_DMA_ERROR_HOOK(cryp) osalSysHalt("DMA failure")
+
+/*
* DAC driver system settings.
*/
#define STM32_DAC_DUAL_MODE FALSE
diff --git a/testhal/STM32/STM32F7xx/SPI/mcuconf.h b/testhal/STM32/STM32F7xx/SPI/mcuconf.h index b354f888f..ea826d8b0 100644 --- a/testhal/STM32/STM32F7xx/SPI/mcuconf.h +++ b/testhal/STM32/STM32F7xx/SPI/mcuconf.h @@ -142,6 +142,18 @@ #define STM32_CAN_CAN3_IRQ_PRIORITY 11
/*
+ * CRY driver system settings.
+ */
+#define STM32_CRY_USE_CRYP1 FALSE
+#define STM32_CRY_USE_HASH1 FALSE
+#define STM32_CRY_CRYP1_IRQ_PRIORITY 9
+#define STM32_CRY_HASH1_IRQ_PRIORITY 9
+#define STM32_CRY_HASH1_DMA_STREAM STM32_DMA_STREAM_ID(2, 7)
+#define STM32_CRY_HASH1_DMA_PRIORITY 0
+#define STM32_CRY_HASH_SIZE_THRESHOLD 1024
+#define STM32_CRY_HASH_DMA_ERROR_HOOK(cryp) osalSysHalt("DMA failure")
+
+/*
* DAC driver system settings.
*/
#define STM32_DAC_DUAL_MODE FALSE
diff --git a/testhal/STM32/STM32F7xx/USB_RAW/mcuconf.h b/testhal/STM32/STM32F7xx/USB_RAW/mcuconf.h index a35106346..f028ebe8f 100644 --- a/testhal/STM32/STM32F7xx/USB_RAW/mcuconf.h +++ b/testhal/STM32/STM32F7xx/USB_RAW/mcuconf.h @@ -142,6 +142,18 @@ #define STM32_CAN_CAN3_IRQ_PRIORITY 11
/*
+ * CRY driver system settings.
+ */
+#define STM32_CRY_USE_CRYP1 FALSE
+#define STM32_CRY_USE_HASH1 FALSE
+#define STM32_CRY_CRYP1_IRQ_PRIORITY 9
+#define STM32_CRY_HASH1_IRQ_PRIORITY 9
+#define STM32_CRY_HASH1_DMA_STREAM STM32_DMA_STREAM_ID(2, 7)
+#define STM32_CRY_HASH1_DMA_PRIORITY 0
+#define STM32_CRY_HASH_SIZE_THRESHOLD 1024
+#define STM32_CRY_HASH_DMA_ERROR_HOOK(cryp) osalSysHalt("DMA failure")
+
+/*
* DAC driver system settings.
*/
#define STM32_DAC_DUAL_MODE FALSE
diff --git a/testhal/STM32/multi/CRYPTO/cfg/stm32f756zg_nucleo144/mcuconf.h b/testhal/STM32/multi/CRYPTO/cfg/stm32f756zg_nucleo144/mcuconf.h index 6f3daab8d..58315d901 100644 --- a/testhal/STM32/multi/CRYPTO/cfg/stm32f756zg_nucleo144/mcuconf.h +++ b/testhal/STM32/multi/CRYPTO/cfg/stm32f756zg_nucleo144/mcuconf.h @@ -150,7 +150,7 @@ #define STM32_CRY_HASH1_IRQ_PRIORITY 9
#define STM32_CRY_HASH1_DMA_STREAM STM32_DMA_STREAM_ID(2, 7)
#define STM32_CRY_HASH1_DMA_PRIORITY 0
-#define STM32_CRY_HASH_SIZE_THRESHOLD 1
+#define STM32_CRY_HASH_SIZE_THRESHOLD 1024
#define STM32_CRY_HASH_DMA_ERROR_HOOK(cryp) osalSysHalt("DMA failure")
/*
diff --git a/testhal/STM32/multi/PAL/cfg/stm32f746_discovery/mcuconf.h b/testhal/STM32/multi/PAL/cfg/stm32f746_discovery/mcuconf.h index 73ca4e5d3..4688cd053 100644 --- a/testhal/STM32/multi/PAL/cfg/stm32f746_discovery/mcuconf.h +++ b/testhal/STM32/multi/PAL/cfg/stm32f746_discovery/mcuconf.h @@ -142,6 +142,18 @@ #define STM32_CAN_CAN3_IRQ_PRIORITY 11
/*
+ * CRY driver system settings.
+ */
+#define STM32_CRY_USE_CRYP1 FALSE
+#define STM32_CRY_USE_HASH1 FALSE
+#define STM32_CRY_CRYP1_IRQ_PRIORITY 9
+#define STM32_CRY_HASH1_IRQ_PRIORITY 9
+#define STM32_CRY_HASH1_DMA_STREAM STM32_DMA_STREAM_ID(2, 7)
+#define STM32_CRY_HASH1_DMA_PRIORITY 0
+#define STM32_CRY_HASH_SIZE_THRESHOLD 1024
+#define STM32_CRY_HASH_DMA_ERROR_HOOK(cryp) osalSysHalt("DMA failure")
+
+/*
* DAC driver system settings.
*/
#define STM32_DAC_DUAL_MODE FALSE
diff --git a/testhal/STM32/multi/UART/cfg/stm32f746_discovery/mcuconf.h b/testhal/STM32/multi/UART/cfg/stm32f746_discovery/mcuconf.h index 62a4a8d2e..63217ec11 100644 --- a/testhal/STM32/multi/UART/cfg/stm32f746_discovery/mcuconf.h +++ b/testhal/STM32/multi/UART/cfg/stm32f746_discovery/mcuconf.h @@ -142,6 +142,18 @@ #define STM32_CAN_CAN3_IRQ_PRIORITY 11
/*
+ * CRY driver system settings.
+ */
+#define STM32_CRY_USE_CRYP1 FALSE
+#define STM32_CRY_USE_HASH1 FALSE
+#define STM32_CRY_CRYP1_IRQ_PRIORITY 9
+#define STM32_CRY_HASH1_IRQ_PRIORITY 9
+#define STM32_CRY_HASH1_DMA_STREAM STM32_DMA_STREAM_ID(2, 7)
+#define STM32_CRY_HASH1_DMA_PRIORITY 0
+#define STM32_CRY_HASH_SIZE_THRESHOLD 1024
+#define STM32_CRY_HASH_DMA_ERROR_HOOK(cryp) osalSysHalt("DMA failure")
+
+/*
* DAC driver system settings.
*/
#define STM32_DAC_DUAL_MODE FALSE
diff --git a/testhal/STM32/multi/USB_CDC/cfg/stm32f746_discovery/mcuconf.h b/testhal/STM32/multi/USB_CDC/cfg/stm32f746_discovery/mcuconf.h index d7330f5e5..3f3e4b94d 100644 --- a/testhal/STM32/multi/USB_CDC/cfg/stm32f746_discovery/mcuconf.h +++ b/testhal/STM32/multi/USB_CDC/cfg/stm32f746_discovery/mcuconf.h @@ -142,6 +142,18 @@ #define STM32_CAN_CAN3_IRQ_PRIORITY 11
/*
+ * CRY driver system settings.
+ */
+#define STM32_CRY_USE_CRYP1 FALSE
+#define STM32_CRY_USE_HASH1 FALSE
+#define STM32_CRY_CRYP1_IRQ_PRIORITY 9
+#define STM32_CRY_HASH1_IRQ_PRIORITY 9
+#define STM32_CRY_HASH1_DMA_STREAM STM32_DMA_STREAM_ID(2, 7)
+#define STM32_CRY_HASH1_DMA_PRIORITY 0
+#define STM32_CRY_HASH_SIZE_THRESHOLD 1024
+#define STM32_CRY_HASH_DMA_ERROR_HOOK(cryp) osalSysHalt("DMA failure")
+
+/*
* DAC driver system settings.
*/
#define STM32_DAC_DUAL_MODE FALSE
|