Skip to content

Commit

Permalink
Enable HAL MDMA by default
Browse files Browse the repository at this point in the history
Some series require to have it defined by default (H7, MP1)

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
  • Loading branch information
fpistm committed Apr 8, 2021
1 parent dd2d0c8 commit 57598d6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions cores/arduino/stm32/stm32yyxx_hal_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#define HAL_GPIO_MODULE_ENABLED
#define HAL_HSEM_MODULE_ENABLED
#define HAL_IPCC_MODULE_ENABLED
#define HAL_MDMA_MODULE_ENABLED /* Required by HAL QSPI module */
#define HAL_PWR_MODULE_ENABLED
#define HAL_RCC_MODULE_ENABLED

Expand Down
1 change: 0 additions & 1 deletion system/STM32MP1xx/stm32mp1xx_hal_conf_default.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
#define HAL_RTC_MODULE_DISABLED /* RTC MODULE on Cortex-M side is not supported.
Linux on Cortex-A will handle this. */
#define HAL_ETH_MODULE_DISABLED /* ETH module is also not intended to be used */
#define HAL_MDMA_MODULE_ENABLED /* Some other modules (e.g. USART) require this */

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

0 comments on commit 57598d6

Please sign in to comment.