2021-03-28 06:06:36 -07:00
# include "../stm32f7ems/efifeatures.h"
2021-02-05 19:10:59 -08:00
# pragma once
2021-02-28 04:30:19 -08:00
# 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."
2021-02-28 04:30:19 -08:00
# 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
2021-03-07 16:25:34 -08:00
# define EFI_USE_COMPRESSED_INI_MSD
2021-03-25 15:44:41 -07:00
2022-02-19 12:56:44 -08:00
# undef EFI_EMBED_INI_MSD
# define EFI_EMBED_INI_MSD TRUE
2021-03-25 15:44:41 -07:00
// 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
2021-04-28 19:41:25 -07:00
2021-05-20 13:05:18 -07:00
# undef ENABLE_PERF_TRACE
# define ENABLE_PERF_TRACE TRUE
2021-07-23 11:50:35 -07:00
// H7 runs faster "slow" ADC to make up for reduced oversampling
# define SLOW_ADC_RATE 1000
2021-10-09 06:02:30 -07:00
# undef LUA_USER_HEAP
# define LUA_USER_HEAP 100000