Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- // See https://go.microsoft.com/fwlink/?LinkId=733558
- // for the documentation about the tasks.json format
- "version": "2.0.0",
- "VS_PROG_NAME" : "NUCLEO_F446RE",
- "tasks": [
- {
- "taskName": "build",
- "type": "shell",
- "command": "mbed compile -t GCC_ARM -m $VS_STM_ENV",
- "problemMatcher": []
- },
- {
- "taskName": "build clean",
- "type": "shell",
- "command": "mbed compile -c -t GCC_ARM -m $VS_STM_ENV --profile debug",
- "problemMatcher": []
- },
- {
- "taskName": "build debug",
- "type": "shell",
- "command": "mbed compile -t GCC_ARM -m $VS_STM_ENV --profile debug",
- "problemMatcher": []
- },
- {
- "taskName": "flash",
- "type": "shell",
- "command": "openocd -f interface/stlink-v2.cfg -f target/$VS_TARGET_NAME
- -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",
- "problemMatcher": []
- },
- {
- "taskName": "debug",
- "type": "shell",
- "command": "openocd -f \"interface/stlink-v2.cfg\" -f \"target/stm32f4x_stlink.cfg\" -c \"gdb_port 3333; log_output openocd.log\"",
- "problemMatcher": []
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement