|
From: | Hector Garcia de Marina |
Subject: | Re: [Paparazzi-devel] matek765 board files |
Date: | Wed, 26 May 2021 21:46:28 +0200 |
I bought a matek 765 wing board to get familiarized with Chibios
(something that initially looks very difficult with all those board
specific definitions)
and i found some initial problems.
There are some spi4 definitions (which i intend to use for the si4432 rc
modem) inside the matekF765-WING.h file like those below
// External SPI
#define SPI4_GPIO_AF AF_SPI4_INTERNAL_CLK
#define SPI4_GPIO_PORT_MISO PAL_PORT(LINE_SPI4_INTERNAL_MISO)
#define SPI4_GPIO_MISO PAL_PAD(LINE_SPI4_INTERNAL_MISO)
#define SPI4_GPIO_PORT_MOSI PAL_PORT(LINE_SPI4_INTERNAL_MOSI)
#define SPI4_GPIO_MOSI PAL_PAD(LINE_SPI4_INTERNAL_MOSI)
#define SPI4_GPIO_PORT_SCK PAL_PORT(LINE_SPI4_INTERNAL_CLK)
#define SPI4_GPIO_SCK PAL_PAD(LINE_SPI4_INTERNAL_CLK)
but there are not any LINE_SPI4_INTERNAL_MISO definitions inside the
matching board.h file.
Looking in other board.h files like the Tawaki.h file i found the
definitions.
Now i don't know what to do, add the definitions in the matek's board.h
file or modify those inside the matekF765-WING.h file
to match the relevant board.h file?
I hope i am not bothering you too much....
Chris
_______________________________________________
Paparazzi-devel mailing list
Paparazzi-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Instituto de Ciencias Matemáticas
Consejo Superior de Investigaciones Científicas[Prev in Thread] | Current Thread | [Next in Thread] |