paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Paparazzi-devel] matek765 board files


From: Chris
Subject: [Paparazzi-devel] matek765 board files
Date: Wed, 26 May 2021 19:09:24 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]