only:cleaner defines

This commit is contained in:
rusefi 2023-11-05 18:12:27 -05:00
parent f22b77b570
commit 9a5ec27c54
3 changed files with 16 additions and 0 deletions

View File

@ -35,6 +35,14 @@
#define EFI_BACKUP_SRAM TRUE
#endif
#ifndef EFI_USE_OPENBLT
#define EFI_USE_OPENBLT FALSE
#endif
#ifndef EFI_ETHERNET
#define EFI_ETHERNET FALSE
#endif
#ifndef EFI_DFU_JUMP
#define EFI_DFU_JUMP TRUE
#endif
@ -353,7 +361,9 @@
#define EFI_SENSOR_CHART TRUE
#endif
#ifndef EFI_PERF_METRICS
#define EFI_PERF_METRICS FALSE
#endif
#ifndef DL_OUTPUT_BUFFER
#define DL_OUTPUT_BUFFER 6500

View File

@ -1,6 +1,8 @@
/* CHIBIOS FIX */
#include "ch.h"
#define _USE_LFN FALSE
/*---------------------------------------------------------------------------/
/ FatFs - Configuration file
/---------------------------------------------------------------------------*/

View File

@ -106,6 +106,10 @@ typedef enum
*/
#define __HAL_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = 0)
#ifndef USE_RTOS
#define USE_RTOS 0
#endif
#if (USE_RTOS == 1)
/* Reserved for future use */
#error <20>USE_RTOS should be 0 in the current HAL release<73>