diff --git a/firmware/config/boards/proteus/mapping.yaml b/firmware/config/boards/proteus/mapping.yaml index e98c5c1bca..144d906d63 100644 --- a/firmware/config/boards/proteus/mapping.yaml +++ b/firmware/config/boards/proteus/mapping.yaml @@ -43,14 +43,14 @@ outputs: GPIOD_14: "Highside 4" # pin 14/black35 event_inputs: - GPIOC_6: "Digital 1" - GPIOE_11: "Digital 2" - GPIOE_12: "Digital 3" - GPIOE_13: "Digital 4" - GPIOE_14: "Digital 5" - GPIOE_15: "Digital 6" - GPIOE_7: "VR 1" - GPIOE_8: "VR 2" + GPIOC_6: "Digital 1" # pin 10/black23 + GPIOE_11: "Digital 2" # pin 1/black23 + GPIOE_12: "Digital 3" # pin 2/black23 + GPIOE_13: "Digital 4" # pin 3/black23 + GPIOE_14: "Digital 5" # pin 9/black23 + GPIOE_15: "Digital 6" # pin 11/black23 + GPIOE_7: "VR 1" # pin 5+13/black23 + GPIOE_8: "VR 2" # pin 4+12/black23 switch_inputs: GPIOC_6: "Digital 1" diff --git a/firmware/config/engines/mazda_miata_vvt.cpp b/firmware/config/engines/mazda_miata_vvt.cpp index 7c0ae5c7d7..925556d418 100644 --- a/firmware/config/engines/mazda_miata_vvt.cpp +++ b/firmware/config/engines/mazda_miata_vvt.cpp @@ -756,13 +756,13 @@ void setMiataNB2_Proteus_TCU(DECLARE_CONFIG_PARAMETER_SIGNATURE) { void setMiataNB2_ProteusEngineConfiguration(DECLARE_CONFIG_PARAMETER_SIGNATURE) { setMazdaMiataEngineNB2Defaults(PASS_CONFIG_PARAMETER_SIGNATURE); - engineConfiguration->triggerInputPins[0] = GPIOC_6; + engineConfiguration->triggerInputPins[0] = GPIOC_6; // pin 10/black23 engineConfiguration->triggerInputPins[1] = GPIO_UNASSIGNED; - engineConfiguration->camInputs[0] = GPIOE_11; + engineConfiguration->camInputs[0] = GPIOE_11; // pin 1/black23 - engineConfiguration->alternatorControlPin = GPIOA_8; + engineConfiguration->alternatorControlPin = GPIOA_8; // "Highside 2" # pin 1/black35 - engineConfiguration->auxPidPins[0] = GPIOB_5; // VVT solenoid control + engineConfiguration->auxPidPins[0] = GPIOB_5; // VVT solenoid control # pin 8/black35 // high-side driver with +12v VP jumper engineConfiguration->tachOutputPin = GPIOA_9; // tachometer @@ -779,10 +779,10 @@ void setMiataNB2_ProteusEngineConfiguration(DECLARE_CONFIG_PARAMETER_SIGNATURE) engineConfiguration->injectionMode = IM_SEQUENTIAL; - engineConfiguration->injectionPins[0] = GPIOD_7; // BLU - engineConfiguration->injectionPins[1] = GPIOG_9; // BLK - engineConfiguration->injectionPins[2] = GPIOG_10; // GRN - engineConfiguration->injectionPins[3] = GPIOG_11; // WHT + engineConfiguration->injectionPins[0] = GPIOD_7; // BLU # pin 3/black35 + engineConfiguration->injectionPins[1] = GPIOG_9; // BLK # pin 15/black35 + engineConfiguration->injectionPins[2] = GPIOG_10; // GRN # pin 4/black35 + engineConfiguration->injectionPins[3] = GPIOG_11; // WHT # pin 16/black35 engineConfiguration->injectionPinMode = OM_DEFAULT;