lua script to turn a rusEFI into an IO-BOX for another rusEFI #7075

only:alphax-4k-gdi
This commit is contained in:
rusefillc 2024-11-15 09:47:27 -05:00 committed by rusefi
parent 9d93142ee5
commit b38277111b
4 changed files with 51 additions and 8 deletions

View File

@ -0,0 +1,21 @@
pins:
- pin: 9
id: MSIOBOX_0_OUT_1
class: outputs
ts_name: MS IO-Box 0 OUT 1
- pin: 10
id: MSIOBOX_0_OUT_2
class: outputs
ts_name: MS IO-Box 0 OUT 2
- pin: 7
id: MSIOBOX_0_OUT_3
class: outputs
ts_name: MS IO-Box 0 OUT 3
- pin: 8
id: MSIOBOX_0_OUT_4
class: outputs
ts_name: MS IO-Box 0 OUT 4

View File

@ -0,0 +1,21 @@
pins:
- pin: 9
id: MSIOBOX_0_OUT_1
class: outputs
ts_name: MS IO-Box 0 OUT 1
- pin: 10
id: MSIOBOX_0_OUT_2
class: outputs
ts_name: MS IO-Box 0 OUT 2
- pin: 7
id: MSIOBOX_0_OUT_3
class: outputs
ts_name: MS IO-Box 0 OUT 3
- pin: 8
id: MSIOBOX_0_OUT_4
class: outputs
ts_name: MS IO-Box 0 OUT 4

View File

@ -43,7 +43,7 @@ pins:
function: low side, mid current
ts_name: MS IO-Box 0 OUT 7
# MSIOBOX_0_OUT_8 is not exist
# MSIOBOX_0_OUT_8 does not exist
- pin: 32
id: [MSIOBOX_0_VSS_1, MSIOBOX_0_VSS_1]

View File

@ -1,5 +1,13 @@
/**
* can_gpio_msiobox.cpp
*
* - discrete output works
* - PWM output works
*
* TODO list:
* - implement input reading
* - support PWM out mode
* - support VSS capture
*/
#include "pch.h"
@ -12,13 +20,6 @@
#include "can_msg_tx.h"
#include <rusefi/endian.h>
/*
* TODO list:
* - implement input reading
* - support PWM out mode
* - support VSS capture
*/
/*==========================================================================*/
/* Driver local definitions. */
/*==========================================================================*/