浏览代码

Rename all Stm32f1 to STM32F1 (#12639)

Reece Kibble 6 年前
父节点
当前提交
7557f8d68c

+ 3
- 3
Marlin/src/HAL/HAL_STM32F1/HAL.h 查看文件

47
 #include "../shared/math_32bit.h"
47
 #include "../shared/math_32bit.h"
48
 #include "../shared/HAL_SPI.h"
48
 #include "../shared/HAL_SPI.h"
49
 
49
 
50
-#include "fastio_Stm32f1.h"
51
-#include "watchdog_Stm32f1.h"
50
+#include "fastio_STM32F1.h"
51
+#include "watchdog_STM32F1.h"
52
 
52
 
53
-#include "HAL_timers_Stm32f1.h"
53
+#include "HAL_timers_STM32F1.h"
54
 
54
 
55
 
55
 
56
 // --------------------------------------------------------------------------
56
 // --------------------------------------------------------------------------

Marlin/src/HAL/HAL_STM32F1/HAL_Servo_Stm32f1.cpp → Marlin/src/HAL/HAL_STM32F1/HAL_Servo_STM32F1.cpp 查看文件

29
 
29
 
30
 uint8_t ServoCount; //=0
30
 uint8_t ServoCount; //=0
31
 
31
 
32
-#include "HAL_Servo_Stm32f1.h"
32
+#include "HAL_Servo_STM32F1.h"
33
 
33
 
34
 //#include "Servo.h"
34
 //#include "Servo.h"
35
 
35
 

Marlin/src/HAL/HAL_STM32F1/HAL_Servo_Stm32f1.h → Marlin/src/HAL/HAL_STM32F1/HAL_Servo_STM32F1.h 查看文件


Marlin/src/HAL/HAL_STM32F1/HAL_spi_Stm32f1.cpp → Marlin/src/HAL/HAL_STM32F1/HAL_spi_STM32F1.cpp 查看文件


Marlin/src/HAL/HAL_STM32F1/HAL_timers_Stm32f1.cpp → Marlin/src/HAL/HAL_STM32F1/HAL_timers_STM32F1.cpp 查看文件

32
 
32
 
33
 #include "HAL.h"
33
 #include "HAL.h"
34
 
34
 
35
-#include "HAL_timers_Stm32f1.h"
35
+#include "HAL_timers_STM32F1.h"
36
 
36
 
37
 // --------------------------------------------------------------------------
37
 // --------------------------------------------------------------------------
38
 // Externals
38
 // Externals

Marlin/src/HAL/HAL_STM32F1/HAL_timers_Stm32f1.h → Marlin/src/HAL/HAL_STM32F1/HAL_timers_STM32F1.h 查看文件


Marlin/src/HAL/HAL_STM32F1/stm32f1_flag_script.py → Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py 查看文件


Marlin/src/HAL/HAL_STM32F1/fastio_Stm32f1.h → Marlin/src/HAL/HAL_STM32F1/fastio_STM32F1.h 查看文件


Marlin/src/HAL/HAL_STM32F1/watchdog_Stm32f1.cpp → Marlin/src/HAL/HAL_STM32F1/watchdog_STM32F1.cpp 查看文件

31
 #if ENABLED(USE_WATCHDOG)
31
 #if ENABLED(USE_WATCHDOG)
32
 
32
 
33
 #include <libmaple/iwdg.h>
33
 #include <libmaple/iwdg.h>
34
-#include "watchdog_Stm32f1.h"
34
+#include "watchdog_STM32F1.h"
35
 
35
 
36
 void watchdogSetup(void) {
36
 void watchdogSetup(void) {
37
   // do whatever. don't remove this function.
37
   // do whatever. don't remove this function.

Marlin/src/HAL/HAL_STM32F1/watchdog_Stm32f1.h → Marlin/src/HAL/HAL_STM32F1/watchdog_STM32F1.h 查看文件


+ 3
- 3
platformio.ini 查看文件

252
 platform      = ststm32@<4.4.0
252
 platform      = ststm32@<4.4.0
253
 framework     = arduino
253
 framework     = arduino
254
 board         = genericSTM32F103RE
254
 board         = genericSTM32F103RE
255
-build_flags   = !python Marlin/src/HAL/HAL_STM32F1/stm32f1_flag_script.py
255
+build_flags   = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
256
   ${common.build_flags}
256
   ${common.build_flags}
257
 lib_deps      = ${common.lib_deps}
257
 lib_deps      = ${common.lib_deps}
258
 lib_ignore    = U8glib-HAL
258
 lib_ignore    = U8glib-HAL
301
 framework     = arduino
301
 framework     = arduino
302
 board         = genericSTM32F103ZE
302
 board         = genericSTM32F103ZE
303
 extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin.py
303
 extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin.py
304
-build_flags   = !python Marlin/src/HAL/HAL_STM32F1/stm32f1_flag_script.py
304
+build_flags   = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
305
   ${common.build_flags}
305
   ${common.build_flags}
306
 src_filter    = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
306
 src_filter    = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
307
 lib_deps      = ${common.lib_deps}
307
 lib_deps      = ${common.lib_deps}
330
 platform    = ststm32
330
 platform    = ststm32
331
 framework   = arduino
331
 framework   = arduino
332
 board       = malyanM200
332
 board       = malyanM200
333
-build_flags = !python Marlin/src/HAL/HAL_STM32F1/stm32f1_flag_script.py -DMCU_STM32F103CB -D __STM32F1__=1 -std=c++1y -D MOTHERBOARD="BOARD_MALYAN_M200" -DSERIAL_USB -ffunction-sections -fdata-sections -Wl,--gc-sections
333
+build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py -DMCU_STM32F103CB -D __STM32F1__=1 -std=c++1y -D MOTHERBOARD="BOARD_MALYAN_M200" -DSERIAL_USB -ffunction-sections -fdata-sections -Wl,--gc-sections
334
 src_filter  = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
334
 src_filter  = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
335
 #-<frameworks>
335
 #-<frameworks>
336
 lib_ignore  =
336
 lib_ignore  =

正在加载...
取消
保存