EachiWhoop icon indicating copy to clipboard operation
EachiWhoop copied to clipboard

Support OSD to work with smart audio

Open jack113113 opened this issue 6 years ago • 2 comments

Hello i building FC from your project , i want to use Smartaudio and See infor on OSD . Can you support SPI OSD ?

jack113113 avatar Mar 08 '18 01:03 jack113113

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.

  1. Add "drivers/max7456.c" to "TARGET_SRC" in the file "target.mk"
  2. 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)

  1. Rebuild firmware

vladisenko avatar Mar 12 '18 18:03 vladisenko

yeah . thank your help

jack113113 avatar Mar 15 '18 01:03 jack113113