Skip to content

Commit

Permalink
🔨 Servo Timer 1 with STM32F103RC_fysetc (MarlinFirmware#25741)
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead authored and Andy-Big committed Jul 14, 2023
1 parent 82898f5 commit 68fcf6b
Show file tree
Hide file tree
Showing 4 changed files with 90 additions and 56 deletions.
125 changes: 71 additions & 54 deletions .github/workflows/test-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,91 +33,108 @@ jobs:
strategy:
matrix:
test-platform:
# Base Environments

- DUE
- DUE_archim
- esp32
# Native
- linux_native

# AVR
- mega2560
- at90usb1286_dfu
- teensy31
- teensy35
- teensy41
- SAMD21_minitronics20
- SAMD51_grandcentral_m4
- PANDA_PI_V29

# Extended AVR Environments

# AVR Extended
- FYSETC_F6
- mega1280
- melzi_optiboot
- rambo
- sanguino1284p
- sanguino644p
- melzi_optiboot

# STM32F1 (Maple) Environments
# SAM3X8E
- DUE
- DUE_archim

#- STM32F103RC_btt_maple
- STM32F103RC_btt_USB_maple
- STM32F103RC_fysetc_maple
- STM32F103RC_meeb_maple
- jgaurora_a5s_a1_maple
- STM32F103VE_longer_maple
#- mks_robin_maple
- mks_robin_lite_maple
- mks_robin_pro_maple
#- mks_robin_nano_v1v2_maple
#- STM32F103RE_creality_maple
- STM32F103VE_ZM3E4V2_USB_maple
# SAMD21
- SAMD51_grandcentral_m4
- SAMD21_minitronics20

# STM32 (ST) Environments
# ESP32
- esp32
- mks_tinybee

# Teensy 2
#- at90usb1286_cdc

# Teensy MK20DX256
- teensy31

# Teensy MK64FX512, MK66FX1M0
- teensy35

# Teensy IMXRT1062DVx6A
- teensy41

# STM32F0
- malyan_M300
- STM32F070CB_malyan
- STM32F070RB_malyan

# STM32F1
- chitu_f103
- mks_robin
- mks_robin_nano_v1v2
- PANDA_PI_V29
- STM32F103RC_btt
#- STM32F103RC_btt_USB
- STM32F103RC_fysetc
- STM32F103RE_btt
- STM32F103RE_btt_USB
- STM32F103RE_creality
- STM32F401RC_creality
- STM32F103VE_longer
- STM32F407VE_black
#- mks_robin_mini
#- mks_robin_nano_v1_3_f4_usbmod
#- mks_robin_nano_v1v2_usbmod
#- STM32F103CB_malyan
#- STM32F103RC_btt_USB
#- STM32F103RE

# STM32F4
- ARMED
- BIGTREE_BTT002
- BIGTREE_SKR_PRO
- BIGTREE_GTR_V1_0
- mks_robin
- ARMED
- FYSETC_S6
- STM32F070CB_malyan
- STM32F070RB_malyan
- malyan_M300
- BIGTREE_SKR_PRO
- FLYF407ZG
- rumba32
- LERDGEX
- FYSETC_S6
- LERDGEK
- mks_robin_nano_v1v2
#- mks_robin_nano_v1v2_usbmod
#- mks_robin_nano_v1_3_f4_usbmod
- LERDGEX
- Opulo_Lumen_REV3
- rumba32
- STM32F401RC_creality
- STM32F407VE_black

# STM32F7
- NUCLEO_F767ZI
- REMRAM_V1
- BTT_SKR_SE_BX
- chitu_f103
- Opulo_Lumen_REV3

# ESP32 environments
- mks_tinybee
# STM32H7
- BTT_SKR_SE_BX

# Put lengthy tests last
# STM32F1 (Maple)
- jgaurora_a5s_a1_maple
- mks_robin_lite_maple
- mks_robin_pro_maple
- STM32F103RC_btt_USB_maple
- STM32F103RC_fysetc_maple
- STM32F103RC_meeb_maple
- STM32F103VE_longer_maple
- STM32F103VE_ZM3E4V2_USB_maple
#- mks_robin_maple
#- mks_robin_nano_v1v2_maple
#- STM32F103RC_btt_maple
#- STM32F103RE_creality_maple

# LPC176x - Lengthy tests
- LPC1768
- LPC1769

# Non-working environment tests
#- at90usb1286_cdc
#- STM32F103CB_malyan
#- STM32F103RE
#- mks_robin_mini

steps:

- name: Check out the PR
Expand Down
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 @@ -470,6 +470,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 68fcf6b

Please sign in to comment.