Skip to content

Commit e23c474

Browse files
committed
Move CRC config. some changes on demo and test HAL
1 parent 5d63474 commit e23c474

File tree

30 files changed

+120
-80
lines changed

30 files changed

+120
-80
lines changed

demos/AT32/RT-AT-START-F415/cfg/config.h

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/*
2-
ChibiOS - Copyright (C) 2006..2020 Giovanni Di Sirio
32
ChibiOS - Copyright (C) 2023..2024 HorrorTroll
43
ChibiOS - Copyright (C) 2023..2024 Zhaqian
54
@@ -16,6 +15,16 @@
1615
limitations under the License.
1716
*/
1817

18+
/*
19+
* CRC driver system settings.
20+
*/
21+
#define AT32_CRC_USE_CRC1 FALSE
22+
23+
#define CRC_USE_DMA FALSE
24+
#define AT32_CRC_CRC1_DMA_PRIORITY 2
25+
#define AT32_CRC_CRC1_IRQ_PRIORITY 5
26+
#define AT32_CRC_CRC1_DMA_STREAM AT32_DMA1_STREAM2
27+
1928
/*
2029
* I2C fallback driver system settings.
2130
*/

demos/AT32/RT-AT-START-F415/cfg/halconf_community.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
ChibiOS - Copyright (C) 2014 Uladzimir Pylinsky aka barthess
3+
ChibiOS - Copyright (C) 2023..2024 HorrorTroll
4+
ChibiOS - Copyright (C) 2023..2024 Zhaqian
35
46
Licensed under the Apache License, Version 2.0 (the "License");
57
you may not use this file except in compliance with the License.

demos/AT32/RT-AT-START-F415/cfg/mcuconf.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,6 @@
113113
#define AT32_CAN_USE_CAN1 FALSE
114114
#define AT32_CAN_CAN1_IRQ_PRIORITY 11
115115

116-
/*
117-
* CRC driver system settings.
118-
*/
119-
#define AT32_CRC_USE_CRC1 FALSE
120-
#define AT32_CRC_CRC1_DMA_PRIORITY 2
121-
#define AT32_CRC_CRC1_IRQ_PRIORITY 1
122-
123116
/*
124117
* DMA driver system settings.
125118
*/

testhal/AT32/multi/ERTC/cfg/at-start-f415/config.h

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/*
2-
ChibiOS - Copyright (C) 2006..2020 Giovanni Di Sirio
32
ChibiOS - Copyright (C) 2023..2024 HorrorTroll
43
ChibiOS - Copyright (C) 2023..2024 Zhaqian
54
@@ -16,6 +15,16 @@
1615
limitations under the License.
1716
*/
1817

18+
/*
19+
* CRC driver system settings.
20+
*/
21+
#define AT32_CRC_USE_CRC1 FALSE
22+
23+
#define CRC_USE_DMA FALSE
24+
#define AT32_CRC_CRC1_DMA_PRIORITY 2
25+
#define AT32_CRC_CRC1_IRQ_PRIORITY 5
26+
#define AT32_CRC_CRC1_DMA_STREAM AT32_DMA1_STREAM2
27+
1928
/*
2029
* I2C fallback driver system settings.
2130
*/

testhal/AT32/multi/ERTC/cfg/at-start-f415/halconf_community.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
ChibiOS - Copyright (C) 2014 Uladzimir Pylinsky aka barthess
3+
ChibiOS - Copyright (C) 2023..2024 HorrorTroll
4+
ChibiOS - Copyright (C) 2023..2024 Zhaqian
35
46
Licensed under the Apache License, Version 2.0 (the "License");
57
you may not use this file except in compliance with the License.

testhal/AT32/multi/ERTC/cfg/at-start-f415/mcuconf.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,6 @@
113113
#define AT32_CAN_USE_CAN1 FALSE
114114
#define AT32_CAN_CAN1_IRQ_PRIORITY 11
115115

116-
/*
117-
* CRC driver system settings.
118-
*/
119-
#define AT32_CRC_USE_CRC1 FALSE
120-
#define AT32_CRC_CRC1_DMA_PRIORITY 2
121-
#define AT32_CRC_CRC1_IRQ_PRIORITY 1
122-
123116
/*
124117
* DMA driver system settings.
125118
*/

testhal/AT32/multi/I2C_HW/cfg/at-start-f415/config.h

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/*
2-
ChibiOS - Copyright (C) 2006..2020 Giovanni Di Sirio
32
ChibiOS - Copyright (C) 2023..2024 HorrorTroll
43
ChibiOS - Copyright (C) 2023..2024 Zhaqian
54
@@ -16,6 +15,16 @@
1615
limitations under the License.
1716
*/
1817

18+
/*
19+
* CRC driver system settings.
20+
*/
21+
#define AT32_CRC_USE_CRC1 FALSE
22+
23+
#define CRC_USE_DMA FALSE
24+
#define AT32_CRC_CRC1_DMA_PRIORITY 2
25+
#define AT32_CRC_CRC1_IRQ_PRIORITY 5
26+
#define AT32_CRC_CRC1_DMA_STREAM AT32_DMA1_STREAM2
27+
1928
/*
2029
* I2C fallback driver system settings.
2130
*/

testhal/AT32/multi/I2C_HW/cfg/at-start-f415/halconf_community.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
ChibiOS - Copyright (C) 2014 Uladzimir Pylinsky aka barthess
3+
ChibiOS - Copyright (C) 2023..2024 HorrorTroll
4+
ChibiOS - Copyright (C) 2023..2024 Zhaqian
35
46
Licensed under the Apache License, Version 2.0 (the "License");
57
you may not use this file except in compliance with the License.

testhal/AT32/multi/I2C_HW/cfg/at-start-f415/mcuconf.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,6 @@
113113
#define AT32_CAN_USE_CAN1 FALSE
114114
#define AT32_CAN_CAN1_IRQ_PRIORITY 11
115115

116-
/*
117-
* CRC driver system settings.
118-
*/
119-
#define AT32_CRC_USE_CRC1 FALSE
120-
#define AT32_CRC_CRC1_DMA_PRIORITY 2
121-
#define AT32_CRC_CRC1_IRQ_PRIORITY 1
122-
123116
/*
124117
* DMA driver system settings.
125118
*/

testhal/AT32/multi/I2C_SW/cfg/at-start-f415/config.h

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/*
2-
ChibiOS - Copyright (C) 2006..2020 Giovanni Di Sirio
32
ChibiOS - Copyright (C) 2023..2024 HorrorTroll
43
ChibiOS - Copyright (C) 2023..2024 Zhaqian
54
@@ -16,6 +15,16 @@
1615
limitations under the License.
1716
*/
1817

18+
/*
19+
* CRC driver system settings.
20+
*/
21+
#define AT32_CRC_USE_CRC1 FALSE
22+
23+
#define CRC_USE_DMA FALSE
24+
#define AT32_CRC_CRC1_DMA_PRIORITY 2
25+
#define AT32_CRC_CRC1_IRQ_PRIORITY 5
26+
#define AT32_CRC_CRC1_DMA_STREAM AT32_DMA1_STREAM2
27+
1928
/*
2029
* I2C fallback driver system settings.
2130
*/

0 commit comments

Comments
 (0)