tasks.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. "options": {
  6. "env": {
  7. "PATH": "${workspaceFolder}@UFBT_VSCODE_PATH_SEP@${env:PATH}@UFBT_VSCODE_PATH_SEP@@UFBT_ROOT_DIR@"
  8. }
  9. },
  10. "tasks": [
  11. {
  12. "label": "Launch App on Flipper",
  13. "group": "build",
  14. "type": "shell",
  15. "command": "ufbt launch"
  16. },
  17. {
  18. "label": "Build",
  19. "group": "build",
  20. "type": "shell",
  21. "command": "ufbt"
  22. },
  23. {
  24. "label": "Flash FW (ST-Link)",
  25. "group": "build",
  26. "type": "shell",
  27. "command": "ufbt FORCE=1 flash"
  28. },
  29. // {
  30. // "label": "[NOTIMPL] Flash FW (blackmagic)",
  31. // "group": "build",
  32. // "type": "shell",
  33. // "command": "ufbt flash_blackmagic"
  34. // },
  35. // {
  36. // "label": "[NOTIMPL] Flash FW (JLink)",
  37. // "group": "build",
  38. // "type": "shell",
  39. // "command": "ufbt FORCE=1 jflash"
  40. // },
  41. {
  42. "label": "Flash FW (USB, with resources)",
  43. "group": "build",
  44. "type": "shell",
  45. "command": "ufbt FORCE=1 flash_usb"
  46. },
  47. {
  48. "label": "Update uFBT SDK",
  49. "group": "build",
  50. "type": "shell",
  51. "command": "ufbt update"
  52. }
  53. ]
  54. }