Eachine H8 mini acro firmware with arm-none-eabi-gcc
This is a simple port from https://github.com/silver13/h8mini-acro to compile with GCC in Linux.
This is an acro firmware for the Eachine H8mini quadcopter.
Do not flash the H8 firmware to the H101
Do not flash the H8 firmware to the H8S
H8 mini hardware:
- GigaDevice GD32F130G6 cortex M3 32k flash 72Mhz CPU
- Invensense gyro + accelerometer, MPU-6050 compatible mostly ( responds 0x78 to who am I)
- actually the unknown gyro is more similar to MPU-6500
- older version board has MPU-6050 gyro, everything else the same
- XN297 transceiver, not directly nrf24 compatible but emulated by nrf24 in deviation tx and nrf24_multipro
GD32F130 datasheet (hardware): GD32F130 (hw) (software) : GD32F130 .pdf (soft)
The firmware needs Keil.GD32F1xx_DFP.1.1.0.pack which adds support for the cpu to Keil (5.15 used).
config.h - rates, other options pid.c - pids ( tuned for standard H8 mini)
Thanks to goebish, victzh for bayang protocol reverse engineering and nrf emulation.
Firmware thread featuring flashing info: rcgroups.com
#####Stock tx: On the stock tx only the rate (expert) button works. Trims are not functional on the stock tx.
#####Devo tx: Channels work as intended except the rate/expert channel which is always on. Dynamic trims are not used, and trims should not be required.
###31.10.15 changes
- fixed loop time interaction with pid d term
- increased rx sensitivity by setting xn297 HCURR_LNA bit
- optimizations
- pwm frequency in drv_pwm.c
###older changes not shown