rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
board_configuration.cpp
Go to the documentation of this file.
1/**
2 * @file boards/hellen/hellen64_miataNA6_94/board_configuration.cpp
3 *
4 *
5 * @brief Configuration defaults for the hellen64_miataNA6_94 board
6 *
7 * See https://rusefi.com/s/hellenNA6
8 *
9 * @author andreika <prometheus.pcb@gmail.com>
10 * @author Andrey Belomutskiy, (c) 2012-2020
11 */
12
13#include "pch.h"
14#include "hellen_all_meta.h"
15#include "board_overrides.h"
16
28
29static void setIgnitionPins() {
30 engineConfiguration->ignitionPins[0] = Gpio::I8; // 3F - IGN_1 (1&4)
32 engineConfiguration->ignitionPins[2] = Gpio::E5; // 3I - IGN_2 (2&3)
34}
35
53
54#include "hellen_leds_176.cpp"
55
65
66/**
67 * @brief Board-specific configuration defaults.
68 *
69 * See also setDefaultEngineConfiguration
70 *
71
72 */
76
78
79 // these stm32 pins do not match hellen_meta, is that because hellenNA6 is not using latest MCU version?
80 engineConfiguration->acRelayPin = Gpio::H15; // 1J - AC Relay
87
89
90 // "required" hardware is done - set some reasonable defaults
92
94 engineConfiguration->firingOrder = FO_1_3_4_2;
95
96 engineConfiguration->ignitionMode = IM_INDIVIDUAL_COILS; // IM_WASTED_SPARK
97
98
99}
100
void setup_custom_board_overrides()
@ Unassigned
std::optional< setup_custom_board_overrides_type > custom_board_ConfigOverrides
std::optional< setup_custom_board_overrides_type > custom_board_DefaultConfiguration
static constexpr engine_configuration_s * engineConfiguration
static void setupDefaultSensorInputs()
static void setIgnitionPins()
static void setInjectorPins()
static void hellen_MiataNA6_boardConfigOverrides()
static void hellen_MiataNA6_boardDefaultConfiguration()
Board-specific configuration defaults.
void setHellenCan()
void setHellenVbatt()
void setHellenSdCardSpi2()
void setDefaultHellenAtPullUps(float pullup=HELLEN_DEFAULT_AT_PULLUP)
brain_input_pin_e triggerInputPins[TRIGGER_INPUT_PIN_COUNT]