File tree 2 files changed +17
-1
lines changed
2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 19
19
*
20
20
*
21
21
******************************************************************************
22
- */
22
+ */
23
23
24
24
/* Define to prevent recursive inclusion -------------------------------------*/
25
25
#ifndef __STM32MP1xx_HAL_CONF_DEFAULT_H
37
37
* @brief Include the default list of modules to be used in the HAL driver
38
38
* and manage module deactivation
39
39
*/
40
+
41
+ #define HAL_RTC_MODULE_DISABLED /* RTC MODULE on Cortex-M side is not supported.
42
+ Linux on Cortex-A will handle this. */
43
+ #define HAL_ETH_MODULE_DISABLED /* ETH module is also not intended to be used */
44
+ #define HAL_MDMA_MODULE_ENABLED /* Some other modules (e.g. USART) require this */
45
+
46
+ #if defined(ARDUINO_STM32MP157A_DK1 ) || defined(ARDUINO_STM32MP157C_DK2 )
47
+ // Cannot use them in this board, or define them in the kernel device tree.
48
+ #define HAL_QSPI_MODULE_DISABLED
49
+ #define HAL_FDCAN_MODULE_DISABLED
50
+ #endif // defined(ARDUINO_STM32MP157A_DK1) && defined(ARDUINO_STM32MP157C_DK2)
51
+
40
52
#include "stm32yyxx_hal_conf.h"
41
53
#if 0
42
54
/**
Original file line number Diff line number Diff line change 58
58
#define HSI_VALUE ((uint32_t)64000000) /*!< Value of the Internal oscillator in Hz*/
59
59
#endif /* HSI_VALUE */
60
60
61
+ #if !defined (CSI_VALUE )
62
+ #define CSI_VALUE 4000000U /*!< Value of the Internal oscillator in Hz*/
63
+ #endif /* CSI_VALUE */
64
+
61
65
/**
62
66
* @}
63
67
*/
You can’t perform that action at this time.
0 commit comments