few pt2001 bits
This commit is contained in:
parent
112b0ec766
commit
14e7993439
4
Makefile
4
Makefile
|
@ -8,10 +8,12 @@ PROJECT_DIR = .
|
||||||
# Imported source files and paths
|
# Imported source files and paths
|
||||||
RUSEFI_LIB = .
|
RUSEFI_LIB = .
|
||||||
include $(RUSEFI_LIB)/util/util.mk
|
include $(RUSEFI_LIB)/util/util.mk
|
||||||
|
include $(RUSEFI_LIB)/pt2001/pt2001.mk
|
||||||
|
|
||||||
# C sources that can be compiled in ARM or THUMB mode depending on the global
|
# C sources that can be compiled in ARM or THUMB mode depending on the global
|
||||||
# setting.
|
# setting.
|
||||||
CSRC +=
|
CSRC += \
|
||||||
|
$(RUSEFI_LIB_C) \
|
||||||
|
|
||||||
# C++ sources that can be compiled in ARM or THUMB mode depending on the global
|
# C++ sources that can be compiled in ARM or THUMB mode depending on the global
|
||||||
# setting.
|
# setting.
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
RUSEFI_LIB_INC += \
|
||||||
|
$(RUSEFI_LIB)/pt2001/include \
|
||||||
|
$(RUSEFI_LIB)/pt2001/project/rusefi/sample_code \
|
||||||
|
|
||||||
|
RUSEFI_LIB_C += \
|
||||||
|
# $(RUSEFI_LIB)/pt2001/project/rusefi/sample_code/PT2001_LoadData.c \
|
||||||
|
|
||||||
|
RUSEFI_LIB_CPP += \
|
||||||
|
# $(RUSEFI_LIB)/pt2001/src/pt2001.cpp \
|
|
@ -0,0 +1,30 @@
|
||||||
|
/**
|
||||||
|
* see mc33816/rusefi/readme.md
|
||||||
|
*/
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include <PT2001_dram.h>
|
||||||
|
|
||||||
|
enum class MC33816Mem {
|
||||||
|
// see dram1.def values
|
||||||
|
Iboost = PT2001_D1_Iboost,
|
||||||
|
Ipeak = PT2001_D1_Ipeak,
|
||||||
|
Ihold = PT2001_D1_Ihold,
|
||||||
|
Tpeak_off = PT2001_D1_Tpeak_off,
|
||||||
|
Tpeak_tot = PT2001_D1_Tpeak_tot,
|
||||||
|
Tbypass = PT2001_D1_Tbypass,
|
||||||
|
Thold_off = PT2001_D1_Thold_off,
|
||||||
|
Thold_tot = PT2001_D1_Thold_tot,
|
||||||
|
Tboost_min = PT2001_D1_Tboost_min,
|
||||||
|
Tboost_max = PT2001_D1_Tboost_max,
|
||||||
|
// see dram2.def values, base 64 for channel 2
|
||||||
|
Vboost_high = PT2001_D2_Vboost_high,
|
||||||
|
Vboost_low = PT2001_D2_Vboost_low,
|
||||||
|
Isense4_high = PT2001_D2_Isense4_high,
|
||||||
|
Isense4_low = PT2001_D2_Isense4_low,
|
||||||
|
HPFP_Ipeak = PT2001_D2_PCV_Ipeak,
|
||||||
|
HPFP_Ihold = PT2001_D2_PCV_Ihold,
|
||||||
|
HPFP_Thold_off = PT2001_D2_PCV_Thold_off,
|
||||||
|
HPFP_Thold_tot = PT2001_D2_PCV_Thold_tot,
|
||||||
|
};
|
Loading…
Reference in New Issue