tasks.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. "tasks": [
  3. {
  4. "type": "cppbuild",
  5. "label": "C/C++: gcc.exe build active file",
  6. "command": "D:\\envionmentgcc\\arm-none-linux-gnueabi\\bin\\gcc.exe",
  7. "args": [
  8. "-g",
  9. "${file}",
  10. "-o",
  11. "${fileDirname}\\${fileBasenameNoExtension}.exe"
  12. ],
  13. "options": {
  14. "cwd": "D:\\envionmentgcc\\arm-none-linux-gnueabi\\bin"
  15. },
  16. "problemMatcher": [
  17. "$gcc"
  18. ],
  19. "group": "build",
  20. "detail": "Task generated by Debugger."
  21. },
  22. {
  23. "type": "cppbuild",
  24. "label": "C/C++: arm-none-eabi-gcc.exe build active file",
  25. "command": "C:/Users/Administrator/Desktop/envionment/gcc-arm/gcc-arm/bin/arm-none-eabi-gcc.exe",
  26. "args": [
  27. "-g",
  28. "${file}",
  29. "-o",
  30. "${fileDirname}\\${fileBasenameNoExtension}.exe",
  31. "-mcpu=cortex-m3",
  32. "-mthumb",
  33. "-Wall",
  34. "-fdata-sections",
  35. "-ffunction-sections"
  36. ],
  37. "options": {
  38. "cwd": "C:/Users/Administrator/Desktop/envionment/gcc-arm/gcc-arm/bin"
  39. },
  40. "problemMatcher": [
  41. "$gcc"
  42. ],
  43. "group": {
  44. "kind": "build",
  45. "isDefault": true
  46. },
  47. "detail": "Task generated by Debugger."
  48. }
  49. ],
  50. "version": "2.0.0"
  51. }