Skip to content

Add AXISFLYINGECOF4 target#11692

Open
sensei-hacker wants to merge 2 commits into
iNavFlight:release/9.1from
sensei-hacker:feature-axisflyingecof4-target
Open

Add AXISFLYINGECOF4 target#11692
sensei-hacker wants to merge 2 commits into
iNavFlight:release/9.1from
sensei-hacker:feature-axisflyingecof4-target

Conversation

@sensei-hacker

Copy link
Copy Markdown
Member

Summary

Adds a new INAV target for the AxisFlying ECO F4 flight controller, based on the manufacturer's public unified-target configuration.

  • STM32F405 MCU
  • ICM42688P gyro/acc, registered via the shared USE_IMU_ICM42605 driver (that driver's WHO_AM_I detection covers ICM42605/ICM42686P/ICM42688P — this is the correct macro for this chip, not a typo)
  • BMP280 + DPS310 baro (both enabled for auto-detect)
  • MAX7456 OSD
  • M25P16 flash
  • 4 motors, 2 servos, 1 PINIO pin, camera control pin (no consuming driver until a planned PWM-capable PINIO feature lands)

Changes

  • New src/main/target/AXISFLYINGECOF4/ directory: target.h, target.c, config.c, CMakeLists.txt
  • ADC instance set to ADC1 (INAV's F4 ADC driver only supports ADC1)
  • Motor timer/DMA assignment (TIM8 CH1-4) matches the already-shipping AIKONF4V3 target's identical configuration for the same pins

Testing

  • Hardware target build succeeds cleanly: FLASH 67% (614,876 / 896 KB), RAM 85% (111,416 / 128 KB), no warnings
  • Not flight-tested — no physical unit available to the author

STM32F405 board with ICM42688P gyro (registered via the shared
USE_IMU_ICM42605 driver, which detects ICM42605/ICM42686P/ICM42688P via
WHO_AM_I), BMP280 and DPS310 baro auto-detect, MAX7456 OSD, M25P16 flash,
4 motors, 2 servos, and a single PINIO pin.

ADC instance corrected to ADC1 (INAV's F4 ADC driver only supports ADC1).
Motor timer/DMA assignments (TIM8 CH1-4) match the already-shipping
AIKONF4V3 target's identical configuration for the same pins.
@sensei-hacker sensei-hacker added this to the 9.1 milestone Jul 6, 2026
@sensei-hacker sensei-hacker added Testing Required New target This PR adds a new target hardware needed Blocked by lack of hardware to reproduce issue labels Jul 6, 2026
@qodo-code-review

Copy link
Copy Markdown
Contributor

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown

Test firmware build ready — commit 9536868

Download firmware for PR #11692

1 targets built. Find your board's .hex file by name on that page (e.g. MATEKF405SE.hex). Files are individually downloadable — no GitHub login required.

Development build for testing only. Use Full Chip Erase when flashing.

@sensei-hacker sensei-hacker removed the hardware needed Blocked by lack of hardware to reproduce issue label Jul 6, 2026
@sensei-hacker

sensei-hacker commented Jul 6, 2026

Copy link
Copy Markdown
Member Author

Hardware bring-up checklist

For use once physical units are available for testing:

  • Samples received
  • Flash firmware
  • Calibrate
  • Orientation matches
  • Gyro working
  • Accel working
  • Baro working
  • Blackbox
  • UART1
  • UART2
  • UART3
  • UART4
  • UART5
  • Buzzer working
  • DShot support on m1-4
  • Additional motor / servo outputs
  • Voltage sensor
  • Current sensor
  • I2C Bus
  • Video Out working
  • OSD working
  • LEDs working
  • PINIO1

Matches the same-manufacturer sibling AXISFLYINGF7PRO's convention.
@sensei-hacker sensei-hacker modified the milestones: 9.1, 10.0 Jul 7, 2026
@sensei-hacker sensei-hacker added the hardware needed Blocked by lack of hardware to reproduce issue label Jul 7, 2026
@sensei-hacker

Copy link
Copy Markdown
Member Author

Awaiting correct hardware. There was a mistake in the packaging and shipment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Don't merge hardware needed Blocked by lack of hardware to reproduce issue New target This PR adds a new target Testing Required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant