Auto-generated Connectors

[no ci]
This commit is contained in:
GitHub git update Action 2024-07-29 21:14:15 +00:00
parent fff648dc56
commit 8dffac9a63
2 changed files with 116 additions and 0 deletions

View File

@ -0,0 +1,69 @@
//DO NOT EDIT MANUALLY, let automation work hard.
// auto-generated by PinoutLogic.java based on ../../../connectors/custom_firmware.yaml
#pragma once
Gpio GENERATED_OUTPUTS = {
Gpio::A8, // Ignition 1
Gpio::C9, // Ignition 2
Gpio::A10, // Ignition 3
Gpio::C8, // Ignition 4
Gpio::E0, // Injector 1
Gpio::E6, // Injector 2
Gpio::D9, // Injector 3
Gpio::E3, // Injector 4
Gpio::E4, // Fuel Pump (PE4)
Gpio::E5, // NOS (PE5)
Gpio::B8, // Tach (PB8)
Gpio::B9, // Boost (PB9)
Gpio::B14, // ETB_DIS/StepDir
Gpio::B15, // ETB_DIR/StepStep
Gpio::C5, // PPS2 (PC5)
Gpio::C6, // ETB PWM
Gpio::C10, // VVT1 (C10)
Gpio::C11, // VVT2 (C11)
Gpio::C13, // Fan (PC13)
Gpio::D4, // I/O PD4
Gpio::D2, // Ignition 7 (PD2)
Gpio::D3, // Ignition 8 (PD3)
Gpio::D10, // Injector 5 (PD10)
Gpio::D11, // Injector 6 (PD11)
Gpio::D12, // Injector 7 (PD12)
Gpio::D13, // Injector 8 (PD13)
Gpio::D14, // Threshold (PD14)
Gpio::E11, // Ignition 5 (PE11)
Gpio::E12, // Ignition 5 (PE12)
Gpio::E14, // Extra I/O PE14
Gpio::E15, // Idle (PE15)
// "Ignition 1",
// "Ignition 2",
// "Ignition 3",
// "Ignition 4",
// "Injector 1",
// "Injector 2",
// "Injector 3",
// "Injector 4",
// "Fuel Pump (PE4)",
// "NOS (PE5)",
// "Tach (PB8)",
// "Boost (PB9)",
// "ETB_DIS/StepDir",
// "ETB_DIR/StepStep",
// "PPS2 (PC5)",
// "ETB PWM",
// "VVT1 (C10)",
// "VVT2 (C11)",
// "Fan (PC13)",
// "I/O PD4",
// "Ignition 7 (PD2)",
// "Ignition 8 (PD3)",
// "Injector 5 (PD10)",
// "Injector 6 (PD11)",
// "Injector 7 (PD12)",
// "Injector 8 (PD13)",
// "Threshold (PD14)",
// "Ignition 5 (PE11)",
// "Ignition 5 (PE12)",
// "Extra I/O PE14",
// "Idle (PE15)",
}

View File

@ -0,0 +1,47 @@
//DO NOT EDIT MANUALLY, let automation work hard.
// auto-generated by PinoutLogic.java based on ../../../connectors/custom_firmware.yaml
#include "pch.h"
// see comments at declaration in pin_repository.h
const char * getBoardSpecificPinName(brain_pin_e brainPin) {
switch(brainPin) {
case Gpio::A10: return "Ignition 3";
case Gpio::A6: return "CMP";
case Gpio::A7: return "FlexFuel";
case Gpio::A8: return "Ignition 1";
case Gpio::B1: return "CKP";
case Gpio::B14: return "ETB_DIS/StepDir";
case Gpio::B15: return "ETB_DIR/StepStep";
case Gpio::B8: return "Tach (PB8)";
case Gpio::B9: return "Boost (PB9)";
case Gpio::C10: return "VVT1 (C10)";
case Gpio::C11: return "VVT2 (C11)";
case Gpio::C13: return "Fan (PC13)";
case Gpio::C5: return "PPS2 (PC5)";
case Gpio::C6: return "ETB PWM";
case Gpio::C8: return "Ignition 4";
case Gpio::C9: return "Ignition 2";
case Gpio::D10: return "Injector 5 (PD10)";
case Gpio::D11: return "Injector 6 (PD11)";
case Gpio::D12: return "Injector 7 (PD12)";
case Gpio::D13: return "Injector 8 (PD13)";
case Gpio::D14: return "Threshold (PD14)";
case Gpio::D2: return "Ignition 7 (PD2)";
case Gpio::D3: return "Ignition 8 (PD3)";
case Gpio::D4: return "I/O PD4";
case Gpio::D9: return "Injector 3";
case Gpio::E0: return "Injector 1";
case Gpio::E11: return "Ignition 5 (PE11)";
case Gpio::E12: return "Ignition 5 (PE12)";
case Gpio::E14: return "Extra I/O PE14";
case Gpio::E15: return "Idle (PE15)";
case Gpio::E2: return "Clutch";
case Gpio::E3: return "Injector 4";
case Gpio::E4: return "Fuel Pump (PE4)";
case Gpio::E5: return "NOS (PE5)";
case Gpio::E6: return "Injector 2";
default: return nullptr;
}
return nullptr;
}