## 初始化設定方式

下面是首次執行 `fwauto init` 的流程示例

```bash
alientek@alientek:~/kent/TI_am62x/projects/15_led$ fwauto init
🚀 Initializing FWAuto project in
/home/alientek/kent/TI_am62x/projects/15_led

=== FWAuto 專案初始化 ===

可用的 SDK Templates:

1. STM32F4 (Keil ARM SDK) - STM32F4 development using Keil ARM SDK
2. AM62x (ATK SDK) - TI AM62x development using ATK SDK

請選擇 SDK template [1/2]: 2

✓ 已選擇: AM62x (ATK SDK)

請輸入 am62x SDK 安裝路徑: /home/alientek/ATK-AM62x-SDK
SDK 版本 (可選，直接 Enter 跳過) (unknown):
✓ SDK 資訊已儲存至 ~/.fwauto/config.toml

=== 裝置設定 ===
裝置系列 (e.g., stm32f4, am62x): am62x
裝置型號 (e.g., STM32F407VGT6): ATK-DLAM62xB
✓ 裝置資訊已儲存至 ~/.fwauto/config.toml

=== Deployment 設定 ===
開發板 IP 地址 (192.168.50.170): 192.168.50.169
SSH 登入使用者 (root):
遠端部署目錄 (/home/root):
✓ Deployment 資訊已儲存至 ~/.fwauto/config.toml

=== 複製 Templates ===
✓ 已複製 build/ templates
✓ 已複製 flash/ templates

✓ Project config 已建立:
/home/alientek/kent/TI_am62x/projects/15_led/.fwauto/config.toml

✅ 初始化完成！

專案結構:

  .fwauto/
    ├── config.toml
    ├── build/
    ├── flash/
    └── logs/
```

## User config Sample

path: ~/.fwauto/config.toml

```init
[sdk.am62x]
type = "am62x"
path = "/home/alientek/ATK-AM62x-SDK"
version = "unknown"

[device.am62x]
family = "am62x"
model = "ATK-DLAM62xB"

[deployment.am62x]
board_ip = "192.168.50.169"
board_user = "root"
deploy_path = "/home/root"
ssh_options = "-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ConnectTimeout=5"
```

## 參數測試

`fwauto deploy --help` 可以查詢使用方式

```bash
 fwauto deploy --binary-args "on"
```

```bash
 fwauto deploy --binary-args "off"
```
