Skip to content

Commit bd97c2e

Browse files
committed
Enable HAL MDMA by default
Some series require to have it defined by default (H7, MP1) Signed-off-by: Frederic Pillon <[email protected]>
1 parent 6ee462e commit bd97c2e

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

Diff for: cores/arduino/stm32/stm32yyxx_hal_conf.h

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#define HAL_GPIO_MODULE_ENABLED
1212
#define HAL_HSEM_MODULE_ENABLED
1313
#define HAL_IPCC_MODULE_ENABLED
14+
#define HAL_MDMA_MODULE_ENABLED /* Required by HAL QSPI module */
1415
#define HAL_PWR_MODULE_ENABLED
1516
#define HAL_RCC_MODULE_ENABLED
1617

Diff for: system/STM32MP1xx/stm32mp1xx_hal_conf_default.h

-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
#define HAL_RTC_MODULE_DISABLED /* RTC MODULE on Cortex-M side is not supported.
4141
Linux on Cortex-A will handle this. */
4242
#define HAL_ETH_MODULE_DISABLED /* ETH module is also not intended to be used */
43-
#define HAL_MDMA_MODULE_ENABLED /* Some other modules (e.g. USART) require this */
4443

4544
#if defined(ARDUINO_STM32MP157A_DK1) || defined(ARDUINO_STM32MP157C_DK2)
4645
// Cannot use them in this board, or define them in the kernel device tree.

0 commit comments

Comments
 (0)