Hellen is the way
This commit is contained in:
parent
ec72c6950e
commit
e50d18cea4
|
@ -1,14 +0,0 @@
|
|||
rem
|
||||
rem VAG-ME7 version of the firmware for F767ZI chip NOT on Red board, with a real oscilattor
|
||||
rem
|
||||
|
||||
cd ../../..
|
||||
set PROJECT_BOARD=me7_pnp
|
||||
set PROJECT_CPU=ARCH_STM32F7
|
||||
set EXTRA_PARAMS=-DDUMMY -DSTM32F767xx ^
|
||||
-DEFI_ENABLE_ASSERTS=FALSE ^
|
||||
-DEFI_USE_OSC=TRUE ^
|
||||
-DCH_DBG_ENABLE_CHECKS=FALSE -DCH_DBG_ENABLE_ASSERTS=FALSE -DCH_DBG_ENABLE_STACK_CHECK=FALSE -DCH_DBG_FILL_THREADS=FALSE -DCH_DBG_THREADS_PROFILING=FALSE
|
||||
set DEBUG_LEVEL_OPT="-O2"
|
||||
|
||||
call config/boards/common_make.bat
|
|
@ -1,10 +0,0 @@
|
|||
# List of all the board related files.
|
||||
BOARDCPPSRC = $(PROJECT_DIR)/config/boards/me7_pnp/board_configuration.cpp
|
||||
|
||||
# Override DEFAULT_ENGINE_TYPE
|
||||
DDEFS += -DDEFAULT_ENGINE_TYPE=VAG_18_TURBO -DSTM32F767xx
|
||||
|
||||
# Shared variables
|
||||
ALLCSRC += $(BOARDSRC)
|
||||
ALLCPPSRC += $(BOARDCPPSRC)
|
||||
ALLINC += $(BOARDINC)
|
|
@ -1,62 +0,0 @@
|
|||
/**
|
||||
* @file boards/ME7_PNP/board_configuration.cpp
|
||||
*
|
||||
* @brief In this file we can override engine_configuration.cpp.
|
||||
*
|
||||
* @author Andrey Belomutskiy, (c) 2012-2020
|
||||
*/
|
||||
#include "global.h"
|
||||
#include "engine.h"
|
||||
#include "engine_math.h"
|
||||
#include "allsensors.h"
|
||||
#include "fsio_impl.h"
|
||||
#include "engine_configuration.h"
|
||||
#include "smart_gpio.h"
|
||||
|
||||
EXTERN_ENGINE;
|
||||
|
||||
static void vag_18_Turbo(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
||||
}
|
||||
void setSerialConfigurationOverrides(void) {
|
||||
engineConfiguration->useSerialPort = true;
|
||||
|
||||
//UART
|
||||
|
||||
engineConfiguration->binarySerialTxPin = GPIOB_10;
|
||||
engineConfiguration->binarySerialRxPin = GPIOB_11;
|
||||
// engineConfiguration->consoleSerialTxPin = GPIOB_10;
|
||||
// engineConfiguration->consoleSerialRxPin = GPIOB_11;
|
||||
|
||||
}
|
||||
|
||||
void setPinConfigurationOverrides(void) {
|
||||
|
||||
//NOT USED
|
||||
|
||||
engineConfiguration->ignitionPins[8] = GPIO_UNASSIGNED;
|
||||
engineConfiguration->ignitionPins[9] = GPIO_UNASSIGNED;
|
||||
engineConfiguration->mainRelayPin = GPIO_UNASSIGNED;
|
||||
engineConfiguration->idle.solenoidPin = GPIO_UNASSIGNED;
|
||||
engineConfiguration->fanPin = GPIO_UNASSIGNED;
|
||||
|
||||
}
|
||||
void setBoardDefaultConfiguration(void) {
|
||||
|
||||
// NOT USED
|
||||
engineConfiguration->externalKnockSenseAdc = EFI_ADC_NONE;
|
||||
for (int i = 0; i < DIGIPOT_COUNT; i++) {
|
||||
engineConfiguration->digitalPotentiometerChipSelect[i] = GPIO_UNASSIGNED;
|
||||
}
|
||||
engineConfiguration->warningLedPin = GPIO_UNASSIGNED;
|
||||
engineConfiguration->runningLedPin = GPIO_UNASSIGNED;
|
||||
engineConfiguration->useStepperIdle = false;
|
||||
engineConfiguration->idle.stepperDirectionPin = GPIO_UNASSIGNED;
|
||||
engineConfiguration->idle.stepperStepPin = GPIO_UNASSIGNED;
|
||||
engineConfiguration->stepperEnablePin = GPIO_UNASSIGNED;
|
||||
engineConfiguration->stepperEnablePinMode = OM_DEFAULT;
|
||||
engineConfiguration->isHip9011Enabled = false;
|
||||
|
||||
}
|
||||
|
||||
void setSdCardConfigurationOverrides(void) {
|
||||
}
|
Loading…
Reference in New Issue