Revert "stm32cube: Update build system to support stm32f0xx"
This reverts commit 7e19c8a6ecbc29bb51dc02aa6c23a9040b50da06.
Change-Id: Ie3bd2596445a6b544db468bfa5c5cde13f2557c4
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
diff --git a/ext/hal/st/stm32cube/Kbuild b/ext/hal/st/stm32cube/Kbuild
index 1297f77..d7dbbae 100644
--- a/ext/hal/st/stm32cube/Kbuild
+++ b/ext/hal/st/stm32cube/Kbuild
@@ -1,10 +1,5 @@
ifdef CONFIG_HAS_STM32CUBE
-ifdef CONFIG_SOC_SERIES_STM32F0X
-obj-y += stm32f0xx/drivers/src/stm32f0xx_hal.o
-obj-y += stm32f0xx/soc/system_stm32f0xx.o
-endif
-
ifdef CONFIG_SOC_SERIES_STM32F1X
obj-y += stm32f1xx/drivers/src/stm32f1xx_hal.o
obj-y += stm32f1xx/soc/system_stm32f1xx.o
diff --git a/ext/hal/st/stm32cube/Makefile b/ext/hal/st/stm32cube/Makefile
index b72c805..12eef61 100644
--- a/ext/hal/st/stm32cube/Makefile
+++ b/ext/hal/st/stm32cube/Makefile
@@ -26,12 +26,6 @@
KBUILD_CFLAGS += -D$(STM32CUBE_CPU) -DUSE_HAL_DRIVER
-ifdef CONFIG_SOC_SERIES_STM32F0X
-ZEPHYRINCLUDE += -I$(srctree)/ext/hal/st/stm32cube/stm32f0xx/soc/
-ZEPHYRINCLUDE += -I$(srctree)/ext/hal/st/stm32cube/stm32f0xx/drivers/include/
-ZEPHYRINCLUDE += -I$(srctree)/ext/hal/st/stm32cube/stm32f0xx/drivers/include/Legacy/
-endif
-
ifdef CONFIG_SOC_SERIES_STM32F1X
ZEPHYRINCLUDE += -I$(srctree)/ext/hal/st/stm32cube/stm32f1xx/soc/
ZEPHYRINCLUDE += -I$(srctree)/ext/hal/st/stm32cube/stm32f1xx/drivers/include/