Add support for SKYSTARSF405V2
Vendor confirmed this target code works for them.
I've spoken to DusKing about a test sample.
- [x] Samples received
- [x] Flash firmware
- [x] Calibrate
- [x] Orientation matches
- [x] Gyro working
- [x] Accel working
- [x] Baro working
- [x] Voltage correct
- [x] Current correct
- [x] Analog RSSI
- [x] Mag I2C Bus
- [x] UART1
- [x] UART2
- [x] UART3
- [x] UART4
- [x] UART5
- [x] UART6
- [x] LEDs working
- [x] Buzzer working
- [x] Motor outputs
- [x] DShot support on m1-4
- [x] Servo outputs
- [x] Blackbox
- [x] Analog Camera working
- [x] Video Out working
- [x] OSD working
- [ ] PINIO1
- [x] PINIO2
I sent a PR to add one line to let the ADCs work. https://github.com/DusKing1/inav/pull/168
For the flash chip, I'm getting chip ID 0xFFFFFF Including after commenting out uart 3 since that shares a pin with the SPI flash.
Thanks. I'll check blackbox.
Just updated def for SPI3 according to SCH. Thanks for your feedback!
It looks good now. Just one question - what is PINIO1 supposed to do, please? I had guessed it would turn the 10V on and off, but it doesn't seem to do that.
PINIO2 switches cameras, I see, and that works fine.
It looks good now. Just one question - what is PINIO1 supposed to do, please? I had guessed it would turn the 10V on and off, but it doesn't seem to do that.
You are right, PINIO1 is to toggle the 10V on and off, I've fixed the pin def for PINIO1. Thanks for such a careful check!
I did some probing around the PINIO_1 circuit. It looks like there may be an issue there. Unless we hear some good news back from DusKing1, we may remove that from the target.
Awesome. We'll just want to adjust config.c to match on the PINIO. I don't actually know whether you can have PINIO 2 without having PINIO 1. I can test that later.
I tested after removing PINIO1 from config.c - It works fine. You CAN have pinio2 without having pinio1.
@sensei-hacker any update on merging procedure of this PR?