Hi All, Trying to enable SPI 5 for pixhawk 5 however getting build problem, can you help to fix it?
the config trying to add to
"# Enable SPI5 for RM3100 without DMA
PF7 SPI5_SCK SPI5 NODMA
PF8 SPI5_MISO SPI5 NODMA
PF9 SPI5_MOSI SPI5 NODMA
SPIDEV rm3100_spi5 SPI5 DEVID1 EXTERNAL1_CS1 MODE0 1MHZ 10MHZ
MAG RM3100 SPI:rm3100_spi5"
Getting error:
"
[9/108] ChibiOS: Compiling hal_crypto_lld.c
In file included from …/…/modules/ChibiOS/os/hal/include/hal_spi_v1.h:135,
from …/…/modules/ChibiOS/os/hal/include/hal_spi.h:35,
from …/…/modules/ChibiOS/os/hal/include/hal.h:331,
from …/…/modules/ChibiOS/os/hal/lib/streams/chscanf.c:32:
…/…/modules/ChibiOS/os/hal/ports/STM32/LLD/SPIv2/hal_spi_lld.h:327:2: error: #error “SPI5 DMA streams not defined”
327 | #error “SPI5 DMA streams not defined”
"