From aab06239568cdbc7b7fba34a38ec21c49b944dac Mon Sep 17 00:00:00 2001 From: rusefillc Date: Tue, 7 Jun 2022 17:21:51 -0400 Subject: [PATCH] H_SPI3 --- .../connectors/gm-e67-black.yaml | 28 +++++++++++++++++++ firmware/config/boards/hellen_meta.h | 5 ++++ 2 files changed, 33 insertions(+) diff --git a/firmware/config/boards/hellen/hellen-gm-e67/connectors/gm-e67-black.yaml b/firmware/config/boards/hellen/hellen-gm-e67/connectors/gm-e67-black.yaml index 1d85941419..398d6b76d1 100644 --- a/firmware/config/boards/hellen/hellen-gm-e67/connectors/gm-e67-black.yaml +++ b/firmware/config/boards/hellen/hellen-gm-e67/connectors/gm-e67-black.yaml @@ -1,4 +1,32 @@ pins: + - pin: J7_1 + # H_SPI3_MOSI + id: C12 + class: outputs + ts_name: J7_1 AUX + function: J7_1 AUX + + - pin: J7_2 + # H_SPI3_MISO + id: C11 + class: outputs + ts_name: J7_2 AUX + function: J7_2 AUX + + - pin: J7_3 + # H_SPI3_SCK + id: C10 + class: outputs + ts_name: J7_3 AUX + function: J7_3 AUX + + - pin: J7_1 + # H_SPI3_CS + id: A15 + class: outputs + ts_name: J7_4 AUX + function: J7_4 AUX + - pin: 1 # H144_IGN_1 id: C13 diff --git a/firmware/config/boards/hellen_meta.h b/firmware/config/boards/hellen_meta.h index 360b973a31..9b71bac15d 100644 --- a/firmware/config/boards/hellen_meta.h +++ b/firmware/config/boards/hellen_meta.h @@ -182,3 +182,8 @@ void detectHellenBoardType(); #define H_SPI2_MISO Gpio::B14 #define H_SPI2_SCK Gpio::B13 #define H_SPI2_CS Gpio::B12 + +#define H_SPI3_MOSI Gpio::C12 +#define H_SPI3_MISO Gpio::C11 +#define H_SPI3_SCK Gpio::C10 +#define H_SPI3_CS Gpio::A15