SHARE
TWEET

Untitled

a guest Aug 20th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.     // See https://go.microsoft.com/fwlink/?LinkId=733558
  3.     // for the documentation about the tasks.json format
  4.     "version": "2.0.0",
  5.     "VS_PROG_NAME" : "NUCLEO_F446RE",
  6.     "tasks": [
  7.         {
  8.             "taskName": "build",
  9.             "type": "shell",
  10.             "command": "mbed compile -t GCC_ARM -m $VS_STM_ENV",
  11.             "problemMatcher": []
  12.         },
  13.         {
  14.             "taskName": "build clean",
  15.             "type": "shell",
  16.             "command": "mbed compile -c -t GCC_ARM -m $VS_STM_ENV --profile debug",
  17.             "problemMatcher": []
  18.         },
  19.         {
  20.             "taskName": "build debug",
  21.             "type": "shell",
  22.             "command": "mbed compile -t GCC_ARM -m $VS_STM_ENV --profile debug",
  23.             "problemMatcher": []
  24.         },
  25.         {
  26.             "taskName": "flash",
  27.             "type": "shell",
  28.             "command": "openocd -f interface/stlink-v2.cfg -f target/$VS_TARGET_NAME
  29.              -c init -c \"reset halt\" -c \"flash write_image erase BUILD/$VS_STM_ENV/GCC_ARM-DEBUG/$VS_PROG_NAME.elf\" -c \"reset run\" -c exit",
  30.             "problemMatcher": []
  31.         },
  32.         {
  33.             "taskName": "debug",
  34.             "type": "shell",
  35.             "command": "openocd -f \"interface/stlink-v2.cfg\" -f \"target/stm32f4x_stlink.cfg\" -c \"gdb_port 3333; log_output openocd.log\"",
  36.             "problemMatcher": []
  37.         }
  38.     ]
  39. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top