File tree Expand file tree Collapse file tree 5 files changed +6427
-4
lines changed
third-party/STM32MP13x_HAL_Driver/Src Expand file tree Collapse file tree 5 files changed +6427
-4
lines changed Original file line number Diff line number Diff line change @@ -50,10 +50,11 @@ INCLUDES = -I. \
5050
5151ifeq ($(SERIES ) ,stm32mp13x)
5252 SOURCES += $(HALDIR)/Src/stm32mp13xx_hal_ddr.c
53-
53+ SOURCES += $(HALDIR)/Src/stm32mp13xx_hal_rcc.c
54+ SOURCES += $(HALDIR)/Src/stm32mp13xx_hal_rcc_ex.c # Required only for HAL_SD_InitCard to get SDMMC clock speed
5455else
55- SOURCES += $(SRCDIR)/drivers/mp15x /drivers/ddr/stm32mp1_ddr.cc \
56- $(SRCDIR)/drivers/mp15x /drivers/ddr/stm32mp1_ram.cc
56+ SOURCES += $(SERIESDIR) /drivers/ddr/stm32mp1_ddr.cc \
57+ $(SERIESDIR) /drivers/ddr/stm32mp1_ram.cc
5758endif
5859
5960
@@ -147,6 +148,8 @@ OBJDIR = $(BUILDDIR)/obj/obj
147148all : Makefile $(ELF ) $(UIMAGENAME ) image
148149 @:
149150
151+ mp13x :
152+ $(MAKE ) SERIES=stm32mp13x BOARD_CONF=brainboard-mp13_conf.hh
150153
151154$(OBJDIR ) /% .o : % .s
152155 @mkdir -p $(dir $@ )
Original file line number Diff line number Diff line change @@ -27,11 +27,13 @@ extern "C" {
2727
2828/* Exported types ------------------------------------------------------------*/
2929/* Exported constants --------------------------------------------------------*/
30+ #define DDR_TYPE_DDR3_4Gb
3031
3132/* ########################## Module Selection ############################## */
3233/**
3334 * @brief This is the list of modules to be used in the HAL driver
3435 */
36+
3537#define HAL_MODULE_ENABLED
3638// #define HAL_ADC_MODULE_ENABLED
3739// #define HAL_BSEC_MODULE_ENABLED
@@ -58,7 +60,7 @@ extern "C" {
5860// #define HAL_PKA_MODULE_ENABLED
5961// #define HAL_PWR_MODULE_ENABLED
6062// #define HAL_XSPI_MODULE_ENABLED
61- // #define HAL_RCC_MODULE_ENABLED
63+ #define HAL_RCC_MODULE_ENABLED
6264// #define HAL_RNG_MODULE_ENABLED
6365// #define HAL_RTC_MODULE_ENABLED
6466// #define HAL_SAI_MODULE_ENABLED
File renamed without changes.
You can’t perform that action at this time.
0 commit comments