Im trying to port PX4 to HAKRCF405V2. I have made some progress, I have working bootloader and almost MVP firmware. But now im stack at SPI init. When Im connecting to QGC - SPI does not initialize. Pinout is absolutely correct because the same pinout is working on my Ardupilot port to HAKRCF405V2. I would be grateful if someone look at the configs and tell me what the error might be.
Here is links on my github:
-
My PX4 fork
https://github.com/Jafarabat2025/PX4/tree/main/boards/hackrc/f405_v2 -
My PX4 Bootloader fork
https://github.com/Jafarabat2025/PX4B/blob/43bf037bac4de61155b445d0fede1351e7fa03f9/hw_config.h
811 line -
My Working port Ardupilot ro HAKRCF405V2
https://github.com/Jafarabat2025/AP/blob/221251fa69896d8f0d3ecb4d7b0bc6901bbd2074/libraries/AP_HAL_ChibiOS/hwdef/HAKRCF405V2/hwdef.dat