Enable f4 discovery (#4913)

* scripts specify exact hardware CI device

* proteus serial number

* dropped this: |

* read envionment variable for correct port

* it's lowercase for whatever reason

* d'oh

* uncomment

* s

* f4 discovery serial numbers

* s

* debug mode openocd

* is that really the serial number?

* tolerate no SPI device

* remove debug flag

* kick to make sure machine still alive after move
This commit is contained in:
Matthew Kennedy 2022-12-21 17:33:37 -08:00 committed by GitHub
parent 1f83047ddd
commit 5a27eec5a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 11 deletions

View File

@ -8,18 +8,17 @@ jobs:
# Let all builds finish even if one fails early
fail-fast: false
matrix:
# build-target: [f407-discovery, proteus_f4]
build-target: [proteus_f4]
build-target: [f407-discovery, proteus_f4]
include:
# - build-target: f407-discovery
# script: hardware_ci_f4_discovery
# runs-on: hw-ci-f4-discovery
# folder: f407-discovery
# config-name: all
# ini-file: rusefi_f4-disco.ini
# openocd-script: ../.github/workflows/openocd_ci_f4_discovery.cfg
# serial-device: /dev/serial/by-id/TODO
- build-target: f407-discovery
script: hardware_ci_f4_discovery
runs-on: hw-ci-f4-discovery
folder: f407-discovery
config-name: all
ini-file: rusefi_f4-disco.ini
openocd-script: ../.github/workflows/openocd_ci_f4_discovery.cfg
serial-device: /dev/serial/by-id/usb-rusEFI_LLC_rusEFI_Engine_Management_ECU_2B003B000A51343033393930-if01
- build-target: proteus_f4
script: hardware_ci_proteus

View File

@ -1,6 +1,6 @@
# Openocd script for STM32F4 Discovery Hardware CI
source [find interface/stlink.cfg]
hla_serial wrong_serial
hla_serial H?ugeVQ2Sg
transport select hla_swd