diff options
Diffstat (limited to 'testhal/STM32/STM32F7xx')
-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 |
5 files changed, 60 insertions, 0 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
|