2016-11-02 18:55:39 +08:00
|
|
|
ifdef CONFIG_HAS_STM32CUBE
|
|
|
|
|
|
|
|
ifdef CONFIG_SOC_SERIES_STM32F1X
|
|
|
|
obj-y += stm32f1xx/drivers/src/stm32f1xx_hal.o
|
2016-11-14 18:53:52 +08:00
|
|
|
obj-y += stm32f1xx/drivers/src/stm32f1xx_hal_rcc.o
|
2017-05-29 20:52:19 +08:00
|
|
|
obj-$(CONFIG_CLOCK_CONTROL_STM32_CUBE) += stm32f1xx/drivers/src/stm32f1xx_ll_utils.o
|
2016-11-26 00:21:26 +08:00
|
|
|
obj-$(CONFIG_PWM) += stm32f1xx/drivers/src/stm32f1xx_hal_tim.o
|
2016-11-14 18:53:52 +08:00
|
|
|
obj-$(CONFIG_SERIAL_HAS_DRIVER) += stm32f1xx/drivers/src/stm32f1xx_hal_uart.o
|
2017-06-23 17:27:17 +08:00
|
|
|
obj-$(CONFIG_I2C) += stm32f1xx/drivers/src/stm32f1xx_ll_i2c.o
|
2016-11-02 18:55:39 +08:00
|
|
|
obj-y += stm32f1xx/soc/system_stm32f1xx.o
|
|
|
|
endif
|
|
|
|
|
2016-11-04 19:07:09 +08:00
|
|
|
ifdef CONFIG_SOC_SERIES_STM32F3X
|
|
|
|
obj-y += stm32f3xx/drivers/src/stm32f3xx_hal.o
|
2017-01-11 21:38:52 +08:00
|
|
|
obj-y += stm32f3xx/drivers/src/stm32f3xx_hal_rcc.o
|
2017-01-24 00:45:42 +08:00
|
|
|
obj-$(CONFIG_CLOCK_CONTROL_STM32_CUBE) += stm32f3xx/drivers/src/stm32f3xx_ll_utils.o
|
2017-01-11 21:38:52 +08:00
|
|
|
obj-$(CONFIG_SERIAL_HAS_DRIVER) += stm32f3xx/drivers/src/stm32f3xx_hal_uart.o
|
2017-05-24 20:56:48 +08:00
|
|
|
obj-$(CONFIG_SPI_STM32) += stm32f3xx/drivers/src/stm32f3xx_ll_spi.o
|
2016-11-04 19:07:09 +08:00
|
|
|
obj-y += stm32f3xx/soc/system_stm32f3xx.o
|
|
|
|
endif
|
|
|
|
|
2016-11-02 18:58:31 +08:00
|
|
|
ifdef CONFIG_SOC_SERIES_STM32F4X
|
|
|
|
obj-y += stm32f4xx/drivers/src/stm32f4xx_hal.o
|
2016-11-14 18:53:52 +08:00
|
|
|
obj-y += stm32f4xx/drivers/src/stm32f4xx_hal_rcc.o
|
2017-04-18 20:24:04 +08:00
|
|
|
obj-$(CONFIG_CLOCK_CONTROL_STM32_CUBE) += stm32f4xx/drivers/src/stm32f4xx_ll_utils.o
|
2016-11-26 00:21:26 +08:00
|
|
|
obj-$(CONFIG_PWM) += stm32f4xx/drivers/src/stm32f4xx_hal_tim.o
|
2016-11-14 18:53:52 +08:00
|
|
|
obj-$(CONFIG_SERIAL_HAS_DRIVER) += stm32f4xx/drivers/src/stm32f4xx_hal_uart.o
|
2017-06-23 17:27:17 +08:00
|
|
|
obj-$(CONFIG_I2C) += stm32f4xx/drivers/src/stm32f4xx_ll_i2c.o
|
2017-05-24 20:56:48 +08:00
|
|
|
obj-$(CONFIG_SPI_STM32) += stm32f4xx/drivers/src/stm32f4xx_ll_spi.o
|
2016-11-02 18:58:31 +08:00
|
|
|
obj-y += stm32f4xx/soc/system_stm32f4xx.o
|
|
|
|
endif
|
|
|
|
|
2016-11-04 18:57:18 +08:00
|
|
|
ifdef CONFIG_SOC_SERIES_STM32F7X
|
|
|
|
obj-y += stm32f7xx/drivers/src/stm32f7xx_hal.o
|
|
|
|
obj-y += stm32f7xx/soc/system_stm32f7xx.o
|
|
|
|
endif
|
|
|
|
|
2016-10-18 18:58:18 +08:00
|
|
|
ifdef CONFIG_SOC_SERIES_STM32L4X
|
|
|
|
obj-y += stm32l4xx/drivers/src/stm32l4xx_hal.o
|
2016-10-03 21:51:32 +08:00
|
|
|
obj-y += stm32l4xx/drivers/src/stm32l4xx_hal_rcc.o
|
2017-01-24 00:45:42 +08:00
|
|
|
obj-$(CONFIG_CLOCK_CONTROL_STM32_CUBE) += stm32l4xx/drivers/src/stm32l4xx_ll_utils.o
|
2016-11-26 00:21:26 +08:00
|
|
|
obj-$(CONFIG_PWM) += stm32l4xx/drivers/src/stm32l4xx_hal_tim.o
|
2016-10-03 21:51:32 +08:00
|
|
|
obj-$(CONFIG_SERIAL_HAS_DRIVER) += stm32l4xx/drivers/src/stm32l4xx_hal_uart.o
|
2017-06-23 17:27:17 +08:00
|
|
|
obj-$(CONFIG_I2C) += stm32l4xx/drivers/src/stm32l4xx_ll_i2c.o
|
2017-05-24 20:56:48 +08:00
|
|
|
obj-$(CONFIG_SPI_STM32) += stm32l4xx/drivers/src/stm32l4xx_ll_spi.o
|
2016-10-18 18:58:18 +08:00
|
|
|
obj-y += stm32l4xx/soc/system_stm32l4xx.o
|
|
|
|
endif
|
|
|
|
|
2016-11-02 18:55:39 +08:00
|
|
|
endif
|