Browse Source

Rename all Stm32f1 to STM32F1 (#12639)

pull/1/head
Reece Kibble 6 years ago
committed by Scott Lahteine
parent
commit
7557f8d68c
  1. 6
      Marlin/src/HAL/HAL_STM32F1/HAL.h
  2. 2
      Marlin/src/HAL/HAL_STM32F1/HAL_Servo_STM32F1.cpp
  3. 0
      Marlin/src/HAL/HAL_STM32F1/HAL_Servo_STM32F1.h
  4. 0
      Marlin/src/HAL/HAL_STM32F1/HAL_spi_STM32F1.cpp
  5. 2
      Marlin/src/HAL/HAL_STM32F1/HAL_timers_STM32F1.cpp
  6. 0
      Marlin/src/HAL/HAL_STM32F1/HAL_timers_STM32F1.h
  7. 0
      Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
  8. 0
      Marlin/src/HAL/HAL_STM32F1/fastio_STM32F1.h
  9. 2
      Marlin/src/HAL/HAL_STM32F1/watchdog_STM32F1.cpp
  10. 0
      Marlin/src/HAL/HAL_STM32F1/watchdog_STM32F1.h
  11. 6
      platformio.ini

6
Marlin/src/HAL/HAL_STM32F1/HAL.h

@ -47,10 +47,10 @@
#include "../shared/math_32bit.h"
#include "../shared/HAL_SPI.h"
#include "fastio_Stm32f1.h"
#include "watchdog_Stm32f1.h"
#include "fastio_STM32F1.h"
#include "watchdog_STM32F1.h"
#include "HAL_timers_Stm32f1.h"
#include "HAL_timers_STM32F1.h"
// --------------------------------------------------------------------------

2
Marlin/src/HAL/HAL_STM32F1/HAL_Servo_Stm32f1.cpp → Marlin/src/HAL/HAL_STM32F1/HAL_Servo_STM32F1.cpp

@ -29,7 +29,7 @@
uint8_t ServoCount; //=0
#include "HAL_Servo_Stm32f1.h"
#include "HAL_Servo_STM32F1.h"
//#include "Servo.h"

0
Marlin/src/HAL/HAL_STM32F1/HAL_Servo_Stm32f1.h → Marlin/src/HAL/HAL_STM32F1/HAL_Servo_STM32F1.h

0
Marlin/src/HAL/HAL_STM32F1/HAL_spi_Stm32f1.cpp → Marlin/src/HAL/HAL_STM32F1/HAL_spi_STM32F1.cpp

2
Marlin/src/HAL/HAL_STM32F1/HAL_timers_Stm32f1.cpp → Marlin/src/HAL/HAL_STM32F1/HAL_timers_STM32F1.cpp

@ -32,7 +32,7 @@
#include "HAL.h"
#include "HAL_timers_Stm32f1.h"
#include "HAL_timers_STM32F1.h"
// --------------------------------------------------------------------------
// Externals

0
Marlin/src/HAL/HAL_STM32F1/HAL_timers_Stm32f1.h → Marlin/src/HAL/HAL_STM32F1/HAL_timers_STM32F1.h

0
Marlin/src/HAL/HAL_STM32F1/stm32f1_flag_script.py → Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py

0
Marlin/src/HAL/HAL_STM32F1/fastio_Stm32f1.h → Marlin/src/HAL/HAL_STM32F1/fastio_STM32F1.h

2
Marlin/src/HAL/HAL_STM32F1/watchdog_Stm32f1.cpp → Marlin/src/HAL/HAL_STM32F1/watchdog_STM32F1.cpp

@ -31,7 +31,7 @@
#if ENABLED(USE_WATCHDOG)
#include <libmaple/iwdg.h>
#include "watchdog_Stm32f1.h"
#include "watchdog_STM32F1.h"
void watchdogSetup(void) {
// do whatever. don't remove this function.

0
Marlin/src/HAL/HAL_STM32F1/watchdog_Stm32f1.h → Marlin/src/HAL/HAL_STM32F1/watchdog_STM32F1.h

6
platformio.ini

@ -252,7 +252,7 @@ monitor_speed = 250000
platform = ststm32@<4.4.0
framework = arduino
board = genericSTM32F103RE
build_flags = !python Marlin/src/HAL/HAL_STM32F1/stm32f1_flag_script.py
build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
${common.build_flags}
lib_deps = ${common.lib_deps}
lib_ignore = U8glib-HAL
@ -301,7 +301,7 @@ platform = ststm32
framework = arduino
board = genericSTM32F103ZE
extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin.py
build_flags = !python Marlin/src/HAL/HAL_STM32F1/stm32f1_flag_script.py
build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
${common.build_flags}
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
lib_deps = ${common.lib_deps}
@ -330,7 +330,7 @@ monitor_speed = 250000
platform = ststm32
framework = arduino
board = malyanM200
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
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
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
#-<frameworks>
lib_ignore =

Loading…
Cancel
Save