Skip to content

Commit

Permalink
🔨 Servo Timer 1 with STM32F103RC_fysetc (#25741)
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed May 17, 2023
1 parent a9c476c commit f48467b
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
16 changes: 16 additions & 0 deletions buildroot/tests/STM32F103RC_fysetc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env bash
#
# Build tests for STM32F103RC_fysetc
#

# exit on first failure
set -e

#
# Build with the default configurations
#
use_example_configs "Creality/Ender-3/FYSETC Cheetah 1.2/BLTouch"
exec_test $1 $2 "Ender-3 with Cheetah 1.2 | BLTouch" "$3"

# clean up
restore_configs
4 changes: 2 additions & 2 deletions buildroot/tests/STM32F103RC_fysetc_maple
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
#
# Build tests for STM32F103RC FYSETC
# Build tests for STM32F103RC_fysetc_maple
#

# exit on first failure
Expand All @@ -10,7 +10,7 @@ set -e
# Build with the default configurations
#
use_example_configs "Creality/Ender-3/FYSETC Cheetah 1.2/base"
exec_test $1 $2 "Cheetah 1.2 Configuration" "$3"
exec_test $1 $2 "Maple build of Cheetah 1.2 Configuration" "$3"

# clean up
restore_configs
1 change: 1 addition & 0 deletions ini/stm32f1.ini
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,7 @@ extra_scripts = ${stm32_variant.extra_scripts}
extends = common_STM32F103RC_variant
extra_scripts = ${common_STM32F103RC_variant.extra_scripts}
buildroot/share/PlatformIO/scripts/STM32F103RC_fysetc.py
build_flags = ${common_STM32F103RC_variant.build_flags} -DTIMER_SERVO=TIM1
lib_ldf_mode = chain
debug_tool = stlink
upload_protocol = serial
Expand Down

0 comments on commit f48467b

Please sign in to comment.