Changeset 465


Ignore:
Timestamp:
Jun 24, 2021, 10:24:09 AM (3 years ago)
Author:
coas-nagasima
Message:

デバッグ実行時にプログラムを書き込むよう変更

Location:
azure_iot_hub_f767zi/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • azure_iot_hub_f767zi/trunk/app_iothub_client/.vscode/launch.json

    r457 r465  
    55            "name": "Cortex Debug",
    66            "armToolchainPath": "C:\\Program Files (x86)\\GNU Tools ARM Embedded\\9 2019-q4-major\\bin",
    7             "serverpath": "C:\\Program Files\\GNU MCU Eclipse\\OpenOCD\\0.10.0-12-20190422-2015\\bin\\openocd.exe",
     7            "serverpath": "C:\\xpack-openocd-0.11.0-1\\bin\\openocd.exe",
    88            "cwd": "${workspaceFolder}\\Debug",
    99            "executable": "${workspaceFolder}\\Debug\\${workspaceFolderBasename}.elf",
     
    1818            ],
    1919            "openOCDLaunchCommands": [
    20                 "gdb_breakpoint_override hard",
    21                 "gdb_flash_program disable",
    22                 "gdb_memory_map disable"
     20                "gdb_breakpoint_override hard"
    2321            ],
    2422            "preLaunchCommands": [
     
    3129                "enable breakpoint"
    3230            ],
    33             //"preLaunchTask": "build app_iothub_client"
     31            "preLaunchTask": "build ${workspaceFolderBasename}"
    3432        }
    3533    ]
  • azure_iot_hub_f767zi/trunk/app_iothub_client/.vscode/tasks.json

    r457 r465  
    141141            },
    142142            "group": "build"
    143         },
    144         {
    145             "label": "write app",
    146             "linux": {
    147                 "command": "rsync",
    148                 "args": [
    149                     "-av",
    150                     "--progress",
    151                     "${workspaceFolder}/Debug/app_iothub_client.bin",
    152                     "/media/${env:USER}/NODE_F767ZI/"
    153                 ]
    154             },
    155             "osx": {
    156                 "command": "rsync",
    157                 "args": [
    158                     "-av",
    159                     "--progress",
    160                     "${workspaceFolder}/Debug/app_iothub_client.bin",
    161                     "/Volumes/NODE_F767ZI/"
    162                 ]
    163             },
    164             "windows": {
    165                 "command": "C:\\Windows\\System32\\robocopy.exe",
    166                 "args": [
    167                     "${workspaceFolder}\\Debug",
    168                     "G:\\",
    169                     "app_iothub_client.bin"
    170                 ],
    171                 "options": {
    172                     "shell": {
    173                         "executable": "C:\\Windows\\System32\\cmd.exe",
    174                         "args":["/D", "/C"]
    175                     }
    176                 }
    177             }
    178143        }
    179144    ]
  • azure_iot_hub_f767zi/trunk/asp_baseplatform/.vscode/launch.json

    r457 r465  
    55            "name": "Cortex Debug",
    66            "armToolchainPath": "C:\\Program Files (x86)\\GNU Tools ARM Embedded\\9 2019-q4-major\\bin",
    7             "serverpath": "C:\\Program Files\\GNU MCU Eclipse\\OpenOCD\\0.10.0-12-20190422-2015\\bin\\openocd.exe",
     7            "serverpath": "C:\\xpack-openocd-0.11.0-1\\bin\\openocd.exe",
    88            "cwd": "${workspaceFolder}\\OBJ\\STM32F767NUCLEO144_GCC\\MAC",
    99            "executable": "${workspaceFolder}\\OBJ\\STM32F767NUCLEO144_GCC\\MAC\\asp.exe",
     
    1111            "type": "cortex-debug",
    1212            "servertype": "openocd",
     13            "device": "STM32F767ZI",
     14            "interface": "swd",
     15            "svdFile": "${workspaceFolder}\\..\\STM32F7x7.svd",
    1316            "configFiles": [
    14                 "interface/stlink-v2-1.cfg",
    15                 "target/stm32f7x.cfg"
     17                "board/st_nucleo_f7.cfg"
    1618            ],
    1719            "openOCDLaunchCommands": [
    18                 "gdb_memory_map disable"
     20                "gdb_breakpoint_override hard"
     21            ],
     22            "preLaunchCommands": [
     23                "-environment-cd ${workspaceRoot}/Debug",
     24                "-gdb-set breakpoint pending on",
     25                "monitor reset init",
     26                "monitor halt",
     27                "monitor arm semihosting enable",
     28                "load ${workspaceFolderBasename}.elf",
     29                "enable breakpoint"
    1930            ],
    2031            "preLaunchTask": "build asp_baseplatform"
Note: See TracChangeset for help on using the changeset viewer.