diff --git a/bsp/stm32/stm32f103-dofly-M3S/.cproject b/bsp/stm32/stm32f103-dofly-M3S/.cproject
index 8cc4104435929e7beb591a2bb54ee2fe1ff0be58..eaeea747e7e1bfce5ecb2dec6d28d65c59bd4071 100644
--- a/bsp/stm32/stm32f103-dofly-M3S/.cproject
+++ b/bsp/stm32/stm32f103-dofly-M3S/.cproject
@@ -1,158 +1,155 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/bsp/stm32/stm32f103-dofly-M3S/rtconfig_preinc.h b/bsp/stm32/stm32f103-dofly-M3S/rtconfig_preinc.h
new file mode 100644
index 0000000000000000000000000000000000000000..eb33b182fe5174ce641385f7c417d0e5619cb575
--- /dev/null
+++ b/bsp/stm32/stm32f103-dofly-M3S/rtconfig_preinc.h
@@ -0,0 +1,13 @@
+
+#ifndef RTCONFIG_PREINC_H__
+#define RTCONFIG_PREINC_H__
+
+/* Automatically generated file; DO NOT EDIT. */
+/* RT-Thread pre-include file */
+
+#define HAVE_CCONFIG_H
+#define RT_USING_MINILIBC
+#define STM32F103xE
+#define USE_HAL_DRIVER
+
+#endif /*RTCONFIG_PREINC_H__*/
diff --git a/bsp/stm32/stm32f103-yf-ufun/.cproject b/bsp/stm32/stm32f103-yf-ufun/.cproject
index 641ac1d9dfd1fcce0d6a248b5ad21b1823f039ad..65010856476f19b32d4d2c0e5b91fc06f0b463b5 100644
--- a/bsp/stm32/stm32f103-yf-ufun/.cproject
+++ b/bsp/stm32/stm32f103-yf-ufun/.cproject
@@ -1,158 +1,155 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/bsp/stm32/stm32f103-yf-ufun/rtconfig_preinc.h b/bsp/stm32/stm32f103-yf-ufun/rtconfig_preinc.h
new file mode 100644
index 0000000000000000000000000000000000000000..eb33b182fe5174ce641385f7c417d0e5619cb575
--- /dev/null
+++ b/bsp/stm32/stm32f103-yf-ufun/rtconfig_preinc.h
@@ -0,0 +1,13 @@
+
+#ifndef RTCONFIG_PREINC_H__
+#define RTCONFIG_PREINC_H__
+
+/* Automatically generated file; DO NOT EDIT. */
+/* RT-Thread pre-include file */
+
+#define HAVE_CCONFIG_H
+#define RT_USING_MINILIBC
+#define STM32F103xE
+#define USE_HAL_DRIVER
+
+#endif /*RTCONFIG_PREINC_H__*/
diff --git a/bsp/stm32/stm32f401-st-nucleo/.cproject b/bsp/stm32/stm32f401-st-nucleo/.cproject
index 76ce3b79d5830d768ac8b2fb75d048335307833d..6fffea387cd1b08560a4dd80ec26fa246e429e70 100644
--- a/bsp/stm32/stm32f401-st-nucleo/.cproject
+++ b/bsp/stm32/stm32f401-st-nucleo/.cproject
@@ -1,159 +1,156 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/bsp/stm32/stm32f401-st-nucleo/rtconfig_preinc.h b/bsp/stm32/stm32f401-st-nucleo/rtconfig_preinc.h
new file mode 100644
index 0000000000000000000000000000000000000000..10fa4435224ed6691d33d09a85b47d7a662c6940
--- /dev/null
+++ b/bsp/stm32/stm32f401-st-nucleo/rtconfig_preinc.h
@@ -0,0 +1,13 @@
+
+#ifndef RTCONFIG_PREINC_H__
+#define RTCONFIG_PREINC_H__
+
+/* Automatically generated file; DO NOT EDIT. */
+/* RT-Thread pre-include file */
+
+#define HAVE_CCONFIG_H
+#define RT_USING_MINILIBC
+#define STM32F401xE
+#define USE_HAL_DRIVER
+
+#endif /*RTCONFIG_PREINC_H__*/
diff --git a/bsp/stm32/stm32f407-atk-explorer/.cproject b/bsp/stm32/stm32f407-atk-explorer/.cproject
index 04b0a5b7c9d219e56a9711faf26ef2062ce770fe..f162e4d0b6b90cf693d8cf47f1f8beb25c59534a 100644
--- a/bsp/stm32/stm32f407-atk-explorer/.cproject
+++ b/bsp/stm32/stm32f407-atk-explorer/.cproject
@@ -82,16 +82,13 @@
-
+
+
@@ -132,7 +129,7 @@
-
+
diff --git a/bsp/stm32/stm32f407-atk-explorer/rtconfig_preinc.h b/bsp/stm32/stm32f407-atk-explorer/rtconfig_preinc.h
new file mode 100644
index 0000000000000000000000000000000000000000..88d124c3e8a945f351e2112628223d317c911cd4
--- /dev/null
+++ b/bsp/stm32/stm32f407-atk-explorer/rtconfig_preinc.h
@@ -0,0 +1,13 @@
+
+#ifndef RTCONFIG_PREINC_H__
+#define RTCONFIG_PREINC_H__
+
+/* Automatically generated file; DO NOT EDIT. */
+/* RT-Thread pre-include file */
+
+#define HAVE_CCONFIG_H
+#define RT_USING_MINILIBC
+#define STM32F407xx
+#define USE_HAL_DRIVER
+
+#endif /*RTCONFIG_PREINC_H__*/
diff --git a/bsp/stm32/stm32f411-st-nucleo/.cproject b/bsp/stm32/stm32f411-st-nucleo/.cproject
index 27c7b28e071daf1d7baa8610c07b6aa66ba40478..61e218e54c390c9fe48859fcb8698d5857272a8f 100644
--- a/bsp/stm32/stm32f411-st-nucleo/.cproject
+++ b/bsp/stm32/stm32f411-st-nucleo/.cproject
@@ -1,160 +1,157 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/bsp/stm32/stm32f411-st-nucleo/rtconfig_preinc.h b/bsp/stm32/stm32f411-st-nucleo/rtconfig_preinc.h
new file mode 100644
index 0000000000000000000000000000000000000000..f25d19e00bf9fe5acf6c01c87ef6cf0c4db8e5c8
--- /dev/null
+++ b/bsp/stm32/stm32f411-st-nucleo/rtconfig_preinc.h
@@ -0,0 +1,13 @@
+
+#ifndef RTCONFIG_PREINC_H__
+#define RTCONFIG_PREINC_H__
+
+/* Automatically generated file; DO NOT EDIT. */
+/* RT-Thread pre-include file */
+
+#define HAVE_CCONFIG_H
+#define RT_USING_MINILIBC
+#define STM32F411xE
+#define USE_HAL_DRIVER
+
+#endif /*RTCONFIG_PREINC_H__*/
diff --git a/bsp/stm32/stm32f429-atk-apollo/.cproject b/bsp/stm32/stm32f429-atk-apollo/.cproject
index 8f5801fdb0203481d54c51943fbd7398c9b59969..f91e6f67823533836ebb009d0aacdba06f5acc4e 100644
--- a/bsp/stm32/stm32f429-atk-apollo/.cproject
+++ b/bsp/stm32/stm32f429-atk-apollo/.cproject
@@ -82,16 +82,13 @@
-
+
+
@@ -132,7 +129,7 @@
-
+
diff --git a/bsp/stm32/stm32f429-atk-apollo/rtconfig_preinc.h b/bsp/stm32/stm32f429-atk-apollo/rtconfig_preinc.h
new file mode 100644
index 0000000000000000000000000000000000000000..8f621897f869dd6c207c4ccf1165e4c10874703e
--- /dev/null
+++ b/bsp/stm32/stm32f429-atk-apollo/rtconfig_preinc.h
@@ -0,0 +1,13 @@
+
+#ifndef RTCONFIG_PREINC_H__
+#define RTCONFIG_PREINC_H__
+
+/* Automatically generated file; DO NOT EDIT. */
+/* RT-Thread pre-include file */
+
+#define HAVE_CCONFIG_H
+#define RT_USING_MINILIBC
+#define STM32F429xx
+#define USE_HAL_DRIVER
+
+#endif /*RTCONFIG_PREINC_H__*/
diff --git a/bsp/stm32/stm32f429-fire-challenger/.cproject b/bsp/stm32/stm32f429-fire-challenger/.cproject
index 63e7a0f3b6b8bde91627b16acd374ed492f86e7e..0139f0c6aa5b9ae07a241fedd1b88161be6f1918 100644
--- a/bsp/stm32/stm32f429-fire-challenger/.cproject
+++ b/bsp/stm32/stm32f429-fire-challenger/.cproject
@@ -82,16 +82,13 @@
-
+
+
@@ -132,7 +129,7 @@
-
+
diff --git a/bsp/stm32/stm32f429-fire-challenger/rtconfig_preinc.h b/bsp/stm32/stm32f429-fire-challenger/rtconfig_preinc.h
new file mode 100644
index 0000000000000000000000000000000000000000..8f621897f869dd6c207c4ccf1165e4c10874703e
--- /dev/null
+++ b/bsp/stm32/stm32f429-fire-challenger/rtconfig_preinc.h
@@ -0,0 +1,13 @@
+
+#ifndef RTCONFIG_PREINC_H__
+#define RTCONFIG_PREINC_H__
+
+/* Automatically generated file; DO NOT EDIT. */
+/* RT-Thread pre-include file */
+
+#define HAVE_CCONFIG_H
+#define RT_USING_MINILIBC
+#define STM32F429xx
+#define USE_HAL_DRIVER
+
+#endif /*RTCONFIG_PREINC_H__*/
diff --git a/bsp/stm32/stm32f767-atk-apollo/.cproject b/bsp/stm32/stm32f767-atk-apollo/.cproject
index 396673e171ed57e8b2573f9388a5ff91fb1ecb9d..ffe0b49011f1d1f27056cb7072395fd8b0887a83 100644
--- a/bsp/stm32/stm32f767-atk-apollo/.cproject
+++ b/bsp/stm32/stm32f767-atk-apollo/.cproject
@@ -82,16 +82,13 @@
-
+
+
@@ -132,7 +129,7 @@
-
+
diff --git a/bsp/stm32/stm32f767-atk-apollo/rtconfig_preinc.h b/bsp/stm32/stm32f767-atk-apollo/rtconfig_preinc.h
new file mode 100644
index 0000000000000000000000000000000000000000..23d24d1273548826e8156e2cceaa911555c9f493
--- /dev/null
+++ b/bsp/stm32/stm32f767-atk-apollo/rtconfig_preinc.h
@@ -0,0 +1,13 @@
+
+#ifndef RTCONFIG_PREINC_H__
+#define RTCONFIG_PREINC_H__
+
+/* Automatically generated file; DO NOT EDIT. */
+/* RT-Thread pre-include file */
+
+#define HAVE_CCONFIG_H
+#define RT_USING_MINILIBC
+#define STM32F767xx
+#define USE_HAL_DRIVER
+
+#endif /*RTCONFIG_PREINC_H__*/
diff --git a/bsp/stm32/stm32l475-atk-pandora/.cproject b/bsp/stm32/stm32l475-atk-pandora/.cproject
index c8e4fd306f6891d765be6591c9bd6cc832ad1830..ad720c7dbe43d304d324b7630e8681a466fab7a6 100644
--- a/bsp/stm32/stm32l475-atk-pandora/.cproject
+++ b/bsp/stm32/stm32l475-atk-pandora/.cproject
@@ -81,16 +81,13 @@
-
+
+
@@ -131,7 +128,7 @@
-
+
diff --git a/bsp/stm32/stm32l475-atk-pandora/rtconfig_preinc.h b/bsp/stm32/stm32l475-atk-pandora/rtconfig_preinc.h
new file mode 100644
index 0000000000000000000000000000000000000000..1088d9d36c36df46efc0a70758d415872f1ca219
--- /dev/null
+++ b/bsp/stm32/stm32l475-atk-pandora/rtconfig_preinc.h
@@ -0,0 +1,13 @@
+
+#ifndef RTCONFIG_PREINC_H__
+#define RTCONFIG_PREINC_H__
+
+/* Automatically generated file; DO NOT EDIT. */
+/* RT-Thread pre-include file */
+
+#define HAVE_CCONFIG_H
+#define RT_USING_MINILIBC
+#define STM32L475xx
+#define USE_HAL_DRIVER
+
+#endif /*RTCONFIG_PREINC_H__*/