summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2024-11-30 22:51:41 +1100
committerGitHub <noreply@github.com>2024-11-30 22:51:41 +1100
commitdf9bf9efa1bb0844f01c1c2fcc4ad7da78b30ac4 (patch)
tree3650943f35e3b2e7d9ead99605f2230db220dc1a
parent5b827356bbbf6c2fbfbf660d35ac6df5a1457572 (diff)
Update ChibiOS to latest stable branch. (#24651)
m---------lib/chibios0
m---------lib/chibios-contrib0
-rw-r--r--platforms/chibios/boards/GENERIC_STM32_H723XG/configs/mcuconf.h2
-rw-r--r--platforms/chibios/boards/QMK_PROTON_C/configs/chconf.h23
-rw-r--r--platforms/chibios/boards/common/configs/chconf.h23
5 files changed, 48 insertions, 0 deletions
diff --git a/lib/chibios b/lib/chibios
Subproject be44b3305f9a9fe5f2f49a4e7b978db322dc463 Subproject 9dd6eaf669e83eb9d5aaabe736ecfdf2f790a9f
diff --git a/lib/chibios-contrib b/lib/chibios-contrib
Subproject 77cb0a4f7589f89e724f5e6ecb1d76d514dd121 Subproject b643aad980d061021565c55745925c2cde4a3c6
diff --git a/platforms/chibios/boards/GENERIC_STM32_H723XG/configs/mcuconf.h b/platforms/chibios/boards/GENERIC_STM32_H723XG/configs/mcuconf.h
index 0239ec5273..09096c3977 100644
--- a/platforms/chibios/boards/GENERIC_STM32_H723XG/configs/mcuconf.h
+++ b/platforms/chibios/boards/GENERIC_STM32_H723XG/configs/mcuconf.h
@@ -182,6 +182,7 @@
182 182
183#define STM32_IRQ_FDCAN1_PRIORITY 10 183#define STM32_IRQ_FDCAN1_PRIORITY 10
184#define STM32_IRQ_FDCAN2_PRIORITY 10 184#define STM32_IRQ_FDCAN2_PRIORITY 10
185#define STM32_IRQ_FDCAN3_PRIORITY 10
185 186
186#define STM32_IRQ_MDMA_PRIORITY 9 187#define STM32_IRQ_MDMA_PRIORITY 9
187 188
@@ -235,6 +236,7 @@
235 */ 236 */
236#define STM32_CAN_USE_FDCAN1 FALSE 237#define STM32_CAN_USE_FDCAN1 FALSE
237#define STM32_CAN_USE_FDCAN2 FALSE 238#define STM32_CAN_USE_FDCAN2 FALSE
239#define STM32_CAN_USE_FDCAN3 FALSE
238 240
239/* 241/*
240 * DAC driver system settings. 242 * DAC driver system settings.
diff --git a/platforms/chibios/boards/QMK_PROTON_C/configs/chconf.h b/platforms/chibios/boards/QMK_PROTON_C/configs/chconf.h
index cc10304a3f..e92b7aeb98 100644
--- a/platforms/chibios/boards/QMK_PROTON_C/configs/chconf.h
+++ b/platforms/chibios/boards/QMK_PROTON_C/configs/chconf.h
@@ -49,6 +49,19 @@
49#define CH_CFG_SMP_MODE FALSE 49#define CH_CFG_SMP_MODE FALSE
50#endif 50#endif
51 51
52/**
53 * @brief Kernel hardening level.
54 * @details This option is the level of functional-safety checks enabled
55 * in the kerkel. The meaning is:
56 * - 0: No checks, maximum performance.
57 * - 1: Reasonable checks.
58 * - 2: All checks.
59 * .
60 */
61#if !defined(CH_CFG_HARDENING_LEVEL)
62#define CH_CFG_HARDENING_LEVEL 0
63#endif
64
52/** @} */ 65/** @} */
53 66
54/*===========================================================================*/ 67/*===========================================================================*/
@@ -361,6 +374,16 @@
361#endif 374#endif
362 375
363/** 376/**
377 * @brief Memory checks APIs.
378 * @details If enabled then the memory checks APIs are included in the kernel.
379 *
380 * @note The default is @p TRUE.
381 */
382#if !defined(CH_CFG_USE_MEMCHECKS)
383#define CH_CFG_USE_MEMCHECKS TRUE
384#endif
385
386/**
364 * @brief Core Memory Manager APIs. 387 * @brief Core Memory Manager APIs.
365 * @details If enabled then the core memory manager APIs are included 388 * @details If enabled then the core memory manager APIs are included
366 * in the kernel. 389 * in the kernel.
diff --git a/platforms/chibios/boards/common/configs/chconf.h b/platforms/chibios/boards/common/configs/chconf.h
index 5db836e37c..6381298ef7 100644
--- a/platforms/chibios/boards/common/configs/chconf.h
+++ b/platforms/chibios/boards/common/configs/chconf.h
@@ -49,6 +49,19 @@
49#define CH_CFG_SMP_MODE FALSE 49#define CH_CFG_SMP_MODE FALSE
50#endif 50#endif
51 51
52/**
53 * @brief Kernel hardening level.
54 * @details This option is the level of functional-safety checks enabled
55 * in the kerkel. The meaning is:
56 * - 0: No checks, maximum performance.
57 * - 1: Reasonable checks.
58 * - 2: All checks.
59 * .
60 */
61#if !defined(CH_CFG_HARDENING_LEVEL)
62#define CH_CFG_HARDENING_LEVEL 0
63#endif
64
52/** @} */ 65/** @} */
53 66
54/*===========================================================================*/ 67/*===========================================================================*/
@@ -361,6 +374,16 @@
361#endif 374#endif
362 375
363/** 376/**
377 * @brief Memory checks APIs.
378 * @details If enabled then the memory checks APIs are included in the kernel.
379 *
380 * @note The default is @p TRUE.
381 */
382#if !defined(CH_CFG_USE_MEMCHECKS)
383#define CH_CFG_USE_MEMCHECKS TRUE
384#endif
385
386/**
364 * @brief Core Memory Manager APIs. 387 * @brief Core Memory Manager APIs.
365 * @details If enabled then the core memory manager APIs are included 388 * @details If enabled then the core memory manager APIs are included
366 * in the kernel. 389 * in the kernel.