rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
efifeatures.h
Go to the documentation of this file.
1/**
2 * @file efifeatures.h
3 *
4 * @brief In this header we can configure which firmware modules are used.
5 *
6 * STM32H7 config is inherited from STM32F7 and then from STM32F4.
7 * This file contains only differences between F7 and H7.
8 * This is more consistent way to maintain these config 'branches' and add new features.
9 *
10 * @date Aug 29, 2013
11 * @author Andrey Belomutskiy, (c) 2012-2024
12 */
13
14#pragma once
15
16#ifndef EFI_USE_COMPRESSED_INI_MSD
17#define EFI_USE_COMPRESSED_INI_MSD TRUE
18#endif
19
20// note order of include - first we set H7 defaults (above) and only later we apply F4 defaults
21#include "../stm32f7ems/efifeatures.h"
22
23#undef EFI_USE_FAST_ADC
24// https://github.com/rusefi/rusefi/issues/3301 "H7 is currently actually using fast ADC exclusively - it just needs a bit of plumbing to make it work."
25#define EFI_USE_FAST_ADC FALSE
26
27#undef EFI_MC33816
28#define EFI_MC33816 FALSE
29
30#undef BOARD_TLE6240_COUNT
31#undef BOARD_MC33972_COUNT
32#undef BOARD_TLE8888_COUNT
33#undef BOARD_L9779_COUNT
34#define BOARD_TLE6240_COUNT 0
35#define BOARD_MC33972_COUNT 0
36#define BOARD_TLE8888_COUNT 0
37#define BOARD_L9779_COUNT 0
38
39#undef EFI_MAX_31855
40#define EFI_MAX_31855 FALSE
41
42#undef EFI_EMBED_INI_MSD
43#define EFI_EMBED_INI_MSD TRUE
44
45#undef ENABLE_PERF_TRACE
46#define ENABLE_PERF_TRACE TRUE
47
48// H7 runs faster "slow" ADC to make up for reduced oversampling
49#define SLOW_ADC_RATE 1000