Skip to content

Conversation

@murataslan1
Copy link

Summary

This PR adds significant new features and improvements to the FlightControl project.

New Features

🧭 AK8963 Magnetometer Driver

  • I2C bypass mode access through MPU9250
  • Hard/soft iron calibration support
  • Tilt-compensated heading calculation

📡 WiFi Manager + OTA Update

  • AP/STA mode support
  • NVS credential storage
  • Web-based firmware upload at /update
  • Rollback support

🎮 SBUS RC Receiver

  • 100kbaud inverted UART protocol
  • 16 channels, 11-bit resolution
  • Failsafe detection
  • Normalized RC output (-1 to +1)

🌐 Web Dashboard

  • Modern glassmorphism UI
  • Real-time telemetry API
  • PID tuning interface
  • ARM/DISARM control

Bug Fixes

  • Fixed VLA (Variable Length Array) in i2c_driver.c - stack overflow risk
  • Added buffer size validation

Code Quality Improvements

  • Added centralized error codes (fc_error.h)
  • Created comprehensive README.md

…board

New Features:
- AK8963 magnetometer driver with tilt-compensated heading
- WiFi manager with AP/STA mode and NVS credential storage
- OTA firmware update with web interface
- SBUS RC receiver with failsafe detection
- Web dashboard with real-time telemetry and PID tuning

Improvements:
- Fixed VLA (variable length array) in i2c_driver.c (stack overflow risk)
- Added centralized error codes (fc_error.h)
- Created comprehensive README.md

Files Added:
- ak8963.h/c - Magnetometer driver
- wifi_manager.h/c - WiFi management
- ota_update.h/c - OTA update system
- sbus_receiver.h/c - SBUS RC input
- web_server.h/c - Web dashboard
- fc_error.h/c - Error codes
- README.md - Documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant