EachiWhoop
EachiWhoop copied to clipboard
Support OSD to work with smart audio
Hello i building FC from your project , i want to use Smartaudio and See infor on OSD . Can you support SPI OSD ?
Hi. In my published version of the hardware there is no OSD chip. So, it's will not be supported in the firmware. But you can add it yourself.
- Add "drivers/max7456.c" to "TARGET_SRC" in the file "target.mk"
- Add defines for max7456 driver in the file "target.h":
#define USE_MAX7456 #define MAX7456_SPI_INSTANCE SPI1 // or other SPI instance #define MAX7456_SPI_CS_PIN PB1 // or other pin which connected to the CS of MAX7456 #define MAX7456_SPI_CLK (SPI_CLOCK_STANDARD) // 10MHz #define MAX7456_RESTORE_CLK (SPI_CLOCK_FAST)
- Rebuild firmware
yeah . thank your help