From 5a27eec5a3ac53fcd9f85b4f04dd7f6271725573 Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Wed, 21 Dec 2022 17:33:37 -0800 Subject: [PATCH] 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 --- .github/workflows/hardware-ci.yaml | 19 +++++++++---------- .github/workflows/openocd_ci_f4_discovery.cfg | 2 +- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/workflows/hardware-ci.yaml b/.github/workflows/hardware-ci.yaml index a50cf87978..a3c3bce114 100644 --- a/.github/workflows/hardware-ci.yaml +++ b/.github/workflows/hardware-ci.yaml @@ -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 diff --git a/.github/workflows/openocd_ci_f4_discovery.cfg b/.github/workflows/openocd_ci_f4_discovery.cfg index 1fe66a4c70..54f042df58 100644 --- a/.github/workflows/openocd_ci_f4_discovery.cfg +++ b/.github/workflows/openocd_ci_f4_discovery.cfg @@ -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