rusefi-1/firmware/config/stm32h7ems/efifeatures.h

54 lines
1.3 KiB
C
Raw Normal View History

#include "../stm32f7ems/efifeatures.h"
2021-02-05 19:10:59 -08:00
#pragma once
#undef EFI_USE_FAST_ADC
2021-10-03 12:45:26 -07:00
// 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."
#define EFI_USE_FAST_ADC FALSE
2021-02-05 20:57:28 -08:00
#undef EFI_MC33816
#define EFI_MC33816 FALSE
#undef EFI_CJ125
#define EFI_CJ125 FALSE
2021-02-05 19:10:59 -08:00
#undef BOARD_TLE6240_COUNT
#undef BOARD_MC33972_COUNT
#undef BOARD_TLE8888_COUNT
2022-01-10 16:15:04 -08:00
#undef BOARD_L9779_COUNT
2021-02-05 19:10:59 -08:00
#define BOARD_TLE6240_COUNT 0
#define BOARD_MC33972_COUNT 0
#define BOARD_TLE8888_COUNT 0
2022-01-10 16:15:04 -08:00
#define BOARD_L9779_COUNT 0
2021-02-05 19:10:59 -08:00
2021-02-05 19:29:23 -08:00
#undef EFI_MAX_31855
#define EFI_MAX_31855 FALSE
#define EFI_USE_COMPRESSED_INI_MSD
#undef EFI_EMBED_INI_MSD
#define EFI_EMBED_INI_MSD TRUE
// H7 has dual bank, so flash on its own (low priority) thread so as to not block any other operations
#define EFI_FLASH_WRITE_THREAD TRUE
#undef ENABLE_PERF_TRACE
#define ENABLE_PERF_TRACE TRUE
// H7 runs faster "slow" ADC to make up for reduced oversampling
#define SLOW_ADC_RATE 1000
#undef EFI_ICU_INPUTS
#define EFI_ICU_INPUTS FALSE
#undef HAL_TRIGGER_USE_PAL
#define HAL_TRIGGER_USE_PAL TRUE
#undef EFI_LOGIC_ANALYZER
#define EFI_LOGIC_ANALYZER FALSE
#undef LUA_USER_HEAP
#define LUA_USER_HEAP 100000
#undef LUA_SYSTEM_HEAP
#define LUA_SYSTEM_HEAP 100000