Hellen says efifeatures
This commit is contained in:
parent
e795da5498
commit
4e60dcdf00
|
@ -69,6 +69,10 @@
|
||||||
#define HAL_TRIGGER_USE_PAL FALSE
|
#define HAL_TRIGGER_USE_PAL FALSE
|
||||||
#endif /* HAL_TRIGGER_USE_PAL */
|
#endif /* HAL_TRIGGER_USE_PAL */
|
||||||
|
|
||||||
|
#ifndef HAL_TRIGGER_USE_ADC
|
||||||
|
#define HAL_TRIGGER_USE_ADC FALSE
|
||||||
|
#endif /* HAL_TRIGGER_USE_ADC */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TunerStudio support.
|
* TunerStudio support.
|
||||||
*/
|
*/
|
||||||
|
@ -144,8 +148,12 @@
|
||||||
#define BOARD_TLE8888_COUNT 1
|
#define BOARD_TLE8888_COUNT 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef BOARD_DRV8860_COUNT
|
||||||
|
#define BOARD_DRV8860_COUNT 0
|
||||||
|
#endif
|
||||||
|
|
||||||
// todo: move this outside of efifeatures.h
|
// todo: move this outside of efifeatures.h
|
||||||
#define BOARD_EXT_GPIOCHIPS (BOARD_TLE6240_COUNT + BOARD_MC33972_COUNT + BOARD_TLE8888_COUNT)
|
#define BOARD_EXT_GPIOCHIPS (BOARD_TLE6240_COUNT + BOARD_MC33972_COUNT + BOARD_TLE8888_COUNT + BOARD_DRV8860_COUNT)
|
||||||
|
|
||||||
// todo: move this outside of efifeatures.h
|
// todo: move this outside of efifeatures.h
|
||||||
#define BOARD_EXT_PINREPOPINS 24
|
#define BOARD_EXT_PINREPOPINS 24
|
||||||
|
@ -242,6 +250,8 @@
|
||||||
#define EFI_USB_SERIAL TRUE
|
#define EFI_USB_SERIAL TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define EFI_CONSOLE_USB_DEVICE (&SDU1)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* While we embed multiple PnP configurations into the same firmware binary, these marcoses give us control
|
* While we embed multiple PnP configurations into the same firmware binary, these marcoses give us control
|
||||||
* over which configurations go into the binary
|
* over which configurations go into the binary
|
||||||
|
@ -381,6 +391,9 @@
|
||||||
#ifndef LED_ERROR_BRAIN_PIN
|
#ifndef LED_ERROR_BRAIN_PIN
|
||||||
#define LED_ERROR_BRAIN_PIN GPIOD_14
|
#define LED_ERROR_BRAIN_PIN GPIOD_14
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef LED_ERROR_BRAIN_PIN_MODE
|
||||||
|
#define LED_ERROR_BRAIN_PIN_MODE DEFAULT_OUTPUT
|
||||||
|
#endif
|
||||||
|
|
||||||
// USART1 -> check defined STM32_SERIAL_USE_USART1
|
// USART1 -> check defined STM32_SERIAL_USE_USART1
|
||||||
// For GPS we have USART1. We can start with PB7 USART1_RX and PB6 USART1_TX
|
// For GPS we have USART1. We can start with PB7 USART1_RX and PB6 USART1_TX
|
||||||
|
|
|
@ -49,8 +49,12 @@
|
||||||
#define BOARD_TLE8888_COUNT 1
|
#define BOARD_TLE8888_COUNT 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef BOARD_DRV8860_COUNT
|
||||||
|
#define BOARD_DRV8860_COUNT 0
|
||||||
|
#endif
|
||||||
|
|
||||||
// todo: move this outside of efifeatures.h
|
// todo: move this outside of efifeatures.h
|
||||||
#define BOARD_EXT_GPIOCHIPS (BOARD_TLE6240_COUNT + BOARD_MC33972_COUNT + BOARD_TLE8888_COUNT)
|
#define BOARD_EXT_GPIOCHIPS (BOARD_TLE6240_COUNT + BOARD_MC33972_COUNT + BOARD_TLE8888_COUNT + BOARD_DRV8860_COUNT)
|
||||||
|
|
||||||
|
|
||||||
#undef EFI_CAN_SUPPORT
|
#undef EFI_CAN_SUPPORT
|
||||||
|
|
Loading…
Reference in New Issue