Skip to content

Commit 68fcf6b

Browse files
thinkyheadAndy-Big
authored andcommitted
🔨 Servo Timer 1 with STM32F103RC_fysetc (MarlinFirmware#25741)
1 parent 82898f5 commit 68fcf6b

File tree

4 files changed

+90
-56
lines changed

4 files changed

+90
-56
lines changed

.github/workflows/test-builds.yml

+71-54
Original file line numberDiff line numberDiff line change
@@ -33,91 +33,108 @@ jobs:
3333
strategy:
3434
matrix:
3535
test-platform:
36-
# Base Environments
3736

38-
- DUE
39-
- DUE_archim
40-
- esp32
37+
# Native
4138
- linux_native
39+
40+
# AVR
4241
- mega2560
4342
- at90usb1286_dfu
44-
- teensy31
45-
- teensy35
46-
- teensy41
47-
- SAMD21_minitronics20
48-
- SAMD51_grandcentral_m4
49-
- PANDA_PI_V29
50-
51-
# Extended AVR Environments
5243

44+
# AVR Extended
5345
- FYSETC_F6
5446
- mega1280
47+
- melzi_optiboot
5548
- rambo
5649
- sanguino1284p
5750
- sanguino644p
58-
- melzi_optiboot
5951

60-
# STM32F1 (Maple) Environments
52+
# SAM3X8E
53+
- DUE
54+
- DUE_archim
6155

62-
#- STM32F103RC_btt_maple
63-
- STM32F103RC_btt_USB_maple
64-
- STM32F103RC_fysetc_maple
65-
- STM32F103RC_meeb_maple
66-
- jgaurora_a5s_a1_maple
67-
- STM32F103VE_longer_maple
68-
#- mks_robin_maple
69-
- mks_robin_lite_maple
70-
- mks_robin_pro_maple
71-
#- mks_robin_nano_v1v2_maple
72-
#- STM32F103RE_creality_maple
73-
- STM32F103VE_ZM3E4V2_USB_maple
56+
# SAMD21
57+
- SAMD51_grandcentral_m4
58+
- SAMD21_minitronics20
7459

75-
# STM32 (ST) Environments
60+
# ESP32
61+
- esp32
62+
- mks_tinybee
7663

64+
# Teensy 2
65+
#- at90usb1286_cdc
66+
67+
# Teensy MK20DX256
68+
- teensy31
69+
70+
# Teensy MK64FX512, MK66FX1M0
71+
- teensy35
72+
73+
# Teensy IMXRT1062DVx6A
74+
- teensy41
75+
76+
# STM32F0
77+
- malyan_M300
78+
- STM32F070CB_malyan
79+
- STM32F070RB_malyan
80+
81+
# STM32F1
82+
- chitu_f103
83+
- mks_robin
84+
- mks_robin_nano_v1v2
85+
- PANDA_PI_V29
7786
- STM32F103RC_btt
78-
#- STM32F103RC_btt_USB
87+
- STM32F103RC_fysetc
7988
- STM32F103RE_btt
8089
- STM32F103RE_btt_USB
8190
- STM32F103RE_creality
82-
- STM32F401RC_creality
8391
- STM32F103VE_longer
84-
- STM32F407VE_black
92+
#- mks_robin_mini
93+
#- mks_robin_nano_v1_3_f4_usbmod
94+
#- mks_robin_nano_v1v2_usbmod
95+
#- STM32F103CB_malyan
96+
#- STM32F103RC_btt_USB
97+
#- STM32F103RE
98+
99+
# STM32F4
100+
- ARMED
85101
- BIGTREE_BTT002
86-
- BIGTREE_SKR_PRO
87102
- BIGTREE_GTR_V1_0
88-
- mks_robin
89-
- ARMED
90-
- FYSETC_S6
91-
- STM32F070CB_malyan
92-
- STM32F070RB_malyan
93-
- malyan_M300
103+
- BIGTREE_SKR_PRO
94104
- FLYF407ZG
95-
- rumba32
96-
- LERDGEX
105+
- FYSETC_S6
97106
- LERDGEK
98-
- mks_robin_nano_v1v2
99-
#- mks_robin_nano_v1v2_usbmod
100-
#- mks_robin_nano_v1_3_f4_usbmod
107+
- LERDGEX
108+
- Opulo_Lumen_REV3
109+
- rumba32
110+
- STM32F401RC_creality
111+
- STM32F407VE_black
112+
113+
# STM32F7
101114
- NUCLEO_F767ZI
102115
- REMRAM_V1
103-
- BTT_SKR_SE_BX
104-
- chitu_f103
105-
- Opulo_Lumen_REV3
106116

107-
# ESP32 environments
108-
- mks_tinybee
117+
# STM32H7
118+
- BTT_SKR_SE_BX
109119

110-
# Put lengthy tests last
120+
# STM32F1 (Maple)
121+
- jgaurora_a5s_a1_maple
122+
- mks_robin_lite_maple
123+
- mks_robin_pro_maple
124+
- STM32F103RC_btt_USB_maple
125+
- STM32F103RC_fysetc_maple
126+
- STM32F103RC_meeb_maple
127+
- STM32F103VE_longer_maple
128+
- STM32F103VE_ZM3E4V2_USB_maple
129+
#- mks_robin_maple
130+
#- mks_robin_nano_v1v2_maple
131+
#- STM32F103RC_btt_maple
132+
#- STM32F103RE_creality_maple
111133

134+
# LPC176x - Lengthy tests
112135
- LPC1768
113136
- LPC1769
114137

115-
# Non-working environment tests
116-
#- at90usb1286_cdc
117-
#- STM32F103CB_malyan
118-
#- STM32F103RE
119-
#- mks_robin_mini
120-
121138
steps:
122139

123140
- name: Check out the PR

buildroot/tests/STM32F103RC_fysetc

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/usr/bin/env bash
2+
#
3+
# Build tests for STM32F103RC_fysetc
4+
#
5+
6+
# exit on first failure
7+
set -e
8+
9+
#
10+
# Build with the default configurations
11+
#
12+
use_example_configs "Creality/Ender-3/FYSETC Cheetah 1.2/BLTouch"
13+
exec_test $1 $2 "Ender-3 with Cheetah 1.2 | BLTouch" "$3"
14+
15+
# clean up
16+
restore_configs
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22
#
3-
# Build tests for STM32F103RC FYSETC
3+
# Build tests for STM32F103RC_fysetc_maple
44
#
55

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

1515
# clean up
1616
restore_configs

ini/stm32f1.ini

+1
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,7 @@ extra_scripts = ${stm32_variant.extra_scripts}
470470
extends = common_STM32F103RC_variant
471471
extra_scripts = ${common_STM32F103RC_variant.extra_scripts}
472472
buildroot/share/PlatformIO/scripts/STM32F103RC_fysetc.py
473+
build_flags = ${common_STM32F103RC_variant.build_flags} -DTIMER_SERVO=TIM1
473474
lib_ldf_mode = chain
474475
debug_tool = stlink
475476
upload_protocol = serial

0 commit comments

Comments
 (0)