only:EPIC: Improve toolset for default tune canned tune generation #4871

This commit is contained in:
Andrey 2023-11-25 22:32:08 -05:00
parent 52dfe10b02
commit 523f9dad02
2 changed files with 5 additions and 1 deletions

View File

@ -60,6 +60,10 @@ void setHondaK() {
gppwm_channel *vtsControl = &engineConfiguration->gppwm[0];
vtsControl->pwmFrequency = 0;
#if EFI_SIMULATOR
// simulator canned config XML toolset cares to see perfect empty memory region
memset(engineConfiguration->gpPwmNote[0], 0, sizeof(gppwm_note_t));
#endif
strcpy(engineConfiguration->gpPwmNote[0], "VTS");
/**

View File

@ -44,7 +44,7 @@ endif
# Compiler options here.
ifeq ($(USE_OPT),)
USE_OPT = -Wall -Wno-error=implicit-fallthrough -Wno-error=write-strings -Wno-error=strict-aliasing
USE_OPT = -Wall -Wno-error=implicit-fallthrough -Wno-error=write-strings -Wno-error=strict-aliasing -Werror=nonnull
ifeq ($(OS),Windows_NT)
USE_OPT += -DEFI_SIM_IS_WINDOWS=1