123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236 |
- {
- // See https://go.microsoft.com/fwlink/?LinkId=733558
- // for the documentation about the tasks.json format
- "version": "2.0.0",
- "tasks": [
- {
- "label": "make MAC=.. SERIAL=.. NETTRACE=..",
- "type": "shell",
- "command": "make",
- "group": {
- "kind": "build",
- "isDefault": true
- },
- "args": [
- "MAC=${input:mac}",
- "SERIAL=${input:serial}",
- "NETTRACE=${input:nettrace}"
- ],
- "runOptions": {
- "reevaluateOnRerun": false
- },
- "problemMatcher": {
- "base": "$gcc",
- "fileLocation": [
- "relative",
- "${workspaceFolder}/stm32fw"
- ]
- },
- "presentation": {
- "clear": true
- }
- },
- {
- "label": "make MAC=.. SERIAL=.. SWOTRACE=..",
- "type": "shell",
- "command": "make",
- "group": {
- "kind": "build",
- "isDefault": true
- },
- "args": [
- "MAC=${input:mac}",
- "SERIAL=${input:serial}",
- "SWOTRACE=${input:swotrace}"
- ],
- "runOptions": {
- "reevaluateOnRerun": false
- },
- "problemMatcher": {
- "base": "$gcc",
- "fileLocation": [
- "relative",
- "${workspaceFolder}/stm32fw"
- ]
- },
- "presentation": {
- "clear": true
- }
- },
- {
- "label": "make",
- "type": "shell",
- "command": "make",
- "group": {
- "kind": "build",
- "isDefault": true
- },
- "problemMatcher": {
- "base": "$gcc",
- "fileLocation": [
- "relative",
- "${workspaceFolder}/stm32fw"
- ]
- },
- "presentation": {
- "clear": true
- }
- },
- {
- "label": "make upper",
- "type": "shell",
- "command": "make stm32fw_upper",
- "group": {
- "kind": "build",
- "isDefault": true
- },
- "problemMatcher": {
- "base": "$gcc",
- "fileLocation": [
- "relative",
- "${workspaceFolder}/stm32fw_upper"
- ]
- },
- "presentation": {
- "clear": true
- }
- },
- {
- "label": "make tools",
- "type": "shell",
- "command": "make tools",
- "group": {
- "kind": "build",
- "isDefault": true
- },
- "problemMatcher": {
- "base": "$gcc",
- "fileLocation": [
- "relative",
- "${workspaceFolder}/tools"
- ]
- },
- "presentation": {
- "clear": true
- }
- },
- {
- "label": "make testall",
- "type": "shell",
- "command": "make testall",
- "group": {
- "kind": "build",
- "isDefault": true
- },
- "problemMatcher": {
- "base": "$gcc",
- "fileLocation": [
- "relative",
- "${workspaceFolder}/tests"
- ]
- },
- "presentation": {
- "clear": true
- }
- },
- {
- "label": "make TEST=test_alarm_manager_rectifier_alarms",
- "type": "shell",
- "command": "make test TEST=test_alarm_manager_rectifier_alarms",
- "group": {
- "kind": "build",
- "isDefault": true
- },
- "problemMatcher": {
- "base": "$gcc",
- "fileLocation": [
- "relative",
- "${workspaceFolder}/tests"
- ]
- },
- "presentation": {
- "clear": true
- }
- },
- {
- "label": "make clobber",
- "type": "shell",
- "command": "make clobber",
- "group": {
- "kind": "build",
- "isDefault": true
- },
- "problemMatcher": {
- "base": "$gcc",
- "fileLocation": [
- "relative",
- "${workspaceFolder}/tests"
- ]
- },
- "presentation": {
- "clear": true
- }
- },
- {
- "label": "make distclean",
- "type": "shell",
- "command": "make distclean",
- "group": {
- "kind": "build",
- "isDefault": true
- },
- "problemMatcher": {
- "base": "$gcc",
- "fileLocation": [
- "relative",
- "${workspaceFolder}/modules"
- ]
- },
- "presentation": {
- "clear": true
- }
- },
- ],
- "inputs": [
- {
- "id": "mac",
- "description": "Type default MAC",
- "default": "EC-4C-4D-00-C7-FF",
- "type": "promptString"
- },
- {
- "id": "serial",
- "description": "Type default S/N",
- "default": "5700000",
- "type": "promptString"
- },
- {
- "id": "buzzer",
- "description": "BUZZER=[0|1]",
- "default": "0",
- "type": "pickString",
- "options": ["0", "1"]
- },
- {
- "id": "debug",
- "description": "DEBUG=[0|1]",
- "default": "0",
- "type": "pickString",
- "options": ["0", "1"]
- },
- {
- "id": "swotrace",
- "description": "SWOTRACE=[0|1]",
- "default": "0",
- "type": "pickString",
- "options": ["0", "1"]
- },
- {
- "id": "nettrace",
- "description": "NETTRACE=[0|1]",
- "default": "0",
- "type": "pickString",
- "options": ["0", "1"]
- }
- ]
- }
|