Auto-generated Connectors

[no ci]
This commit is contained in:
GitHub git update Action 2024-07-30 03:50:20 +00:00
parent a4589be941
commit 4a814dc1b0
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,9 @@
//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::B14, // B14 Output
// "B14 Output",
}

View File

@ -0,0 +1,16 @@
//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::B14: return "B14 Output";
case Gpio::E2: return "VR/Hall 1 (E2)";
case Gpio::E3: return "VR/Hall 2 (E3)";
case Gpio::E4: return "VR/Hall 3 (E4)";
default: return nullptr;
}
return nullptr;
}