Commit 90b08712 authored by Wenxi Xu's avatar Wenxi Xu
Browse files

1. 完成达妙控制板设备树和支持

2. 添加gdb Plotter插件
3. 添加板级初始化函数
4. 修改VOFA协议的相关函数
parent c6b438d3
Loading
Loading
Loading
Loading
+13 −13
Original line number Diff line number Diff line
@@ -3,8 +3,8 @@
    "configurations": [

        {
            "name": "Launch",
            "device": "STM32F407IGHx",
            "name": "(gdb) 启动",
            "device": "STM32H723VGHx",
            "cwd": "${workspaceFolder}",
            "executable": "build/zephyr/zephyr.elf",
            "request": "launch",
@@ -12,24 +12,25 @@
            "runToEntryPoint": "main",
            "servertype": "openocd",
            "configFiles": [
                "interface/cmsis-dap.cfg",
                "target/stm32f4x.cfg"
                // "esp32dap.cfg"
				"boards/damiao/dm_mc02/support/openocd.cfg",
				"scripts/openocd.cfg"
            ],
            "svdFile": "${workspaceFolder}/boards/dji/robomaster_board_c/support/stm32f407.svd",
            "preRestartCommands": [
                // "monitor reset halt"
            "svdFile": "${workspaceFolder}/boards/damiao/dm_mc02/support/STM32H723.svd",
            "gdbPath": "/opt/homebrew/bin/arm-none-eabi-gdb",
			"overrideLaunchCommands": [
                "source ${workspaceFolder}/scripts/ares_gdb_plugin.py",
                "monitor reset halt",
                "-target-download",
            ],
            "gdbPath": "${userHome}/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gdb",
            "liveWatch": {
                "enabled": true,
                "samplesPerSecond": 1
            },
			"showDevDebugOutput": "raw"
			"showDevDebugOutput": "raw",
        },
        {
            "name": "Attach",
            "device": "STM32F407IGHx",
            "device": "STM32H723VGHx",
            "cwd": "${workspaceFolder}",
            "executable": "build/zephyr/zephyr.elf",
            "request": "attach",
@@ -37,8 +38,7 @@
            "runToEntryPoint": "main",
            "servertype": "openocd",
            "configFiles": [
                "interface/cmsis-dap.cfg",
                "target/stm32f4x.cfg"
                "boards/damiao/dm_mc02/support/openocd.cfg"
            ],
            "gdbPath": "${userHome}/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gdb"
        },
+46 −0
Original line number Diff line number Diff line
{
    "version": "0.2.0",
    "configurations": [

        {
            "name": "Launch",
            "device": "STM32F407IGHx",
            "cwd": "${workspaceFolder}",
            "executable": "build/zephyr/zephyr.elf",
            "request": "launch",
            "type": "cortex-debug",
            "runToEntryPoint": "main",
            "servertype": "openocd",
            "configFiles": [
                "interface/cmsis-dap.cfg",
                "target/stm32f4x.cfg"
                // "esp32dap.cfg"
            ],
            "svdFile": "${workspaceFolder}/boards/dji/robomaster_board_c/support/stm32f407.svd",
            "preRestartCommands": [
                // "monitor reset halt"
            ],
            "gdbPath": "${userHome}/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gdb",
            "liveWatch": {
                "enabled": true,
                "samplesPerSecond": 1
            },
			"showDevDebugOutput": "raw"
        },
        {
            "name": "Attach",
            "device": "STM32F407IGHx",
            "cwd": "${workspaceFolder}",
            "executable": "build/zephyr/zephyr.elf",
            "request": "attach",
            "type": "cortex-debug",
            "runToEntryPoint": "main",
            "servertype": "openocd",
            "configFiles": [
                "interface/cmsis-dap.cfg",
                "target/stm32f4x.cfg"
            ],
            "gdbPath": "${userHome}/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gdb"
        },
    ]
}
 No newline at end of file
+57675 −52975

File changed.

Preview size limit exceeded, changes collapsed.

+1 −1
Original line number Diff line number Diff line
@@ -2,4 +2,4 @@
# SPDX-License-Identifier: Apache-2.0

config BOARD_DM_MC02
	select SOC_STM32H723VG
	select SOC_STM32H723XX
+1 −1
Original line number Diff line number Diff line
@@ -2,4 +2,4 @@ board:
  name: dm_mc02
  vendor: damiao
  socs:
    - name: stm32h723vgt6
    - name: stm32h723xx
Loading