tasks.json 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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": "Clean",
  25. "group": "build",
  26. "type": "shell",
  27. "command": "ufbt -c"
  28. },
  29. {
  30. "label": "Flash FW (ST-Link)",
  31. "group": "build",
  32. "type": "shell",
  33. "command": "ufbt FORCE=1 flash"
  34. },
  35. {
  36. "label": "Flash FW (blackmagic)",
  37. "group": "build",
  38. "type": "shell",
  39. "command": "ufbt flash_blackmagic"
  40. },
  41. {
  42. "label": "Flash FW (JLink)",
  43. "group": "build",
  44. "type": "shell",
  45. "command": "ufbt FORCE=1 jflash"
  46. },
  47. {
  48. "label": "Flash FW (USB, with resources)",
  49. "group": "build",
  50. "type": "shell",
  51. "command": "ufbt FORCE=1 flash_usb"
  52. },
  53. {
  54. "label": "Update uFBT SDK",
  55. "group": "build",
  56. "type": "shell",
  57. "command": "ufbt update"
  58. },
  59. {
  60. "label": "Update VSCode config for current SDK",
  61. "group": "build",
  62. "type": "shell",
  63. "command": "ufbt vscode_dist"
  64. }
  65. ]
  66. }