# setyawan-dev/hawkeyef407 architecture

> Architecture diagram of the GitHub repository setyawan-dev/hawkeyef407, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-29). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/setyawan-dev/hawkeyef407
- Repository: https://github.com/setyawan-dev/hawkeyef407

## Overview

HawkeyeF407 is a custom STM32F407 flight-controller board definition for ArduPilot, intended for a hybrid VTOL UAV–Rover. Its documented workflow is to use the board hardware definition when configuring and building ArduPilot, then flash the resulting firmware using a supported tool. A separate bootloader hardware definition describes a bootloader build; the README documents bootloader responsibilities, but this tree contains no bootloader binary or implementation. The source excerpts are unavailable, so relationships below rely only on README statements; the roles of config.txt and defaults.parm are unclear and omitted.

Main entry points: [`build/bin/arducopter.apj`](https://github.com/setyawan-dev/hawkeyef407/blob/main/build/bin/arducopter.apj) (ArduPilot firmware), [`HawkeyeF407/hwdef.dat`](https://github.com/setyawan-dev/hawkeyef407/blob/main/HawkeyeF407/hwdef.dat) (Hardware definition), [`HawkeyeF407/hwdef-bl.dat`](https://github.com/setyawan-dev/hawkeyef407/blob/main/HawkeyeF407/hwdef-bl.dat) (Bootloader definition), [`build/bin/arducopter.bin`](https://github.com/setyawan-dev/hawkeyef407/blob/main/build/bin/arducopter.bin) (Firmware binary)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_board["Board configuration"]
  node_hwdef["Hardware definition<br/>[hwdef.dat]"]
  node_bootdef["Bootloader definition<br/>[hwdef-bl.dat]"]
end

subgraph group_firmware["Firmware outputs"]
  node_firmware["ArduPilot firmware<br/>[arducopter.apj]"]
  node_firmware_bin["Firmware binary<br/>[arducopter.bin]"]
end

subgraph group_boot["Boot and flashing"]
  node_bootloader["Bootloader stage"]
  node_flasher["Flashing tools"]
end

node_user(("Board developer"))
node_controller(("HawkeyeF407 controller"))

node_user -->|"configures board"| node_hwdef
node_hwdef -->|"configures firmware"| node_firmware
node_user -->|"builds bootloader"| node_bootdef
node_bootloader -->|"loads from flash"| node_firmware
node_flasher -->|"flashes firmware"| node_controller
node_firmware -->|"runs on"| node_controller
node_firmware -.->|"builds binary"| node_firmware_bin

click node_hwdef "https://github.com/setyawan-dev/hawkeyef407/blob/main/HawkeyeF407/hwdef.dat"
click node_bootdef "https://github.com/setyawan-dev/hawkeyef407/blob/main/HawkeyeF407/hwdef-bl.dat"
click node_firmware "https://github.com/setyawan-dev/hawkeyef407/blob/main/build/bin/arducopter.apj"
click node_firmware_bin "https://github.com/setyawan-dev/hawkeyef407/blob/main/build/bin/arducopter.bin"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_hwdef,node_bootdef toneBlue
class node_firmware,node_firmware_bin toneAmber
class node_bootloader,node_flasher toneMint
class node_user,node_controller toneIndigo
```

## Components

### Board configuration

- [Hardware definition](https://github.com/setyawan-dev/hawkeyef407/blob/main/HawkeyeF407/hwdef.dat): `HawkeyeF407/hwdef.dat`
- [Bootloader definition](https://github.com/setyawan-dev/hawkeyef407/blob/main/HawkeyeF407/hwdef-bl.dat): `HawkeyeF407/hwdef-bl.dat`

### Firmware outputs

- [ArduPilot firmware](https://github.com/setyawan-dev/hawkeyef407/blob/main/build/bin/arducopter.apj): `build/bin/arducopter.apj`
- [Firmware binary](https://github.com/setyawan-dev/hawkeyef407/blob/main/build/bin/arducopter.bin): `build/bin/arducopter.bin`

### Boot and flashing

- **Bootloader stage**
- **Flashing tools**

### Other components

- **Board developer**
- **HawkeyeF407 controller**

## Connections

- Board developer → Hardware definition: configures board (evidence: `README.md`)
- Hardware definition → ArduPilot firmware: configures firmware (evidence: `README.md`)
- Board developer → Bootloader definition: builds bootloader (evidence: `README.md`)
- Bootloader stage → ArduPilot firmware: loads from flash (evidence: `README.md`)
- Flashing tools → HawkeyeF407 controller: flashes firmware (evidence: `README.md`)
- ArduPilot firmware → HawkeyeF407 controller: runs on (evidence: `README.md`)
- ArduPilot firmware → Firmware binary: builds binary
