Difference between revisions of "User:NeoFromMatrix"

From PaparazziUAV
Jump to navigation Jump to search
(created personal page, eclipse setup, cheap bird copter started)
 
 
Line 31: Line 31:
#* Vendor (e.g. STMico)
#* Vendor (e.g. STMico)
#* Chip (e.g. STM32F10X_HD)
#* Chip (e.g. STM32F10X_HD)
# Coding style help [http://docs.paparazziuav.org/latest/styleguide.html Paparazzi Code Style]
## Window -> Preferences -> General -> Editors -> Text editors
##* Set "Displayed Tab width" to 2
##* Enable "Show whitespace characters"
## Window -> Preferences -> C/C++ -> Code Style -> Formatter
##* Create a new profile (K&R as template)
##* Set Tab policy to Spaces only
##* Set Indentation and Tab size to 2


Notes:
Notes:
Line 36: Line 45:
** These are also disabled in ChibiStudio.
** These are also disabled in ChibiStudio.
* Make sure to use the matching debug config or the elf from another project will be loaded....
* Make sure to use the matching debug config or the elf from another project will be loaded....


== Airframes ==
== Airframes ==

Latest revision as of 14:44, 28 August 2015

Eclipse ChibiOS/RT J-Link

Dependencies:

How to set up:

  1. Download Eclipse CDT (bit version must match Java RE version)
  2. Install Eclipse Plugins
    • "C/C++ GDB Hardware Debugging" Plugin (required for e.g. Blackmagic Probe)
    • "GNU ARM J-Link Debugging Support" Plugin (makes J-Link config very easy)
  3. Optional Plugins
  4. SEGGER J-Link setup
    • Run -> Debug Configurations... -> "New launch configuration" in the "GDB SEGGER J-Link Debugging" section
    • Main tab
    • Enter new name for the debug configuration
    • Set the Project
    • Set the C/C++ Application (*.elf file of the project)
    1. Debugger tab
    • Set Device name (e.g. "STM32F103RE")
  5. Embedded Systems Register View setup
    • Window -> Preferences -> C/C++ -> Debug -> EmbSys Register View
    • Architecture (e.g. cortex-m3)
    • Vendor (e.g. STMico)
    • Chip (e.g. STM32F10X_HD)
  6. Coding style help Paparazzi Code Style
    1. Window -> Preferences -> General -> Editors -> Text editors
      • Set "Displayed Tab width" to 2
      • Enable "Show whitespace characters"
    2. Window -> Preferences -> C/C++ -> Code Style -> Formatter
      • Create a new profile (K&R as template)
      • Set Tab policy to Spaces only
      • Set Indentation and Tab size to 2


Notes:

  • Window -> Preferences -> -C/C++ -> Code Analysis, Unchecked "Field cannot be resolved" "Symbol is not resolved" since they produced useless errors
    • These are also disabled in ChibiStudio.
  • Make sure to use the matching debug config or the elf from another project will be loaded....

Airframes

Cheap Bird

Hardware

  • Frame:Cheap Bird V1
  • Motors: Hobbyking Donkey ST2204 1550 kV
  • Props:
  • ESC:

Electronics

  • Autopilot: STM32F4 Discovery Daughterboard THT V1.0
  • GPS: Hobbyking Ulox Neo-6M
  • IMU: Drotek 10dof
  • Modem: Laird RM024

Config:

  • Airframe:
  • Flight Plan:
  • Settings:
  • Radio:
  • Telemetry: