File tree Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 9696 "name" : " simhub" ,
9797 "type" : " cppdbg" ,
9898 "request" : " launch" ,
99- "program" : " ${workspaceFolder}/bricks/simhub/build /firmware.elf" ,
99+ "program" : " ${workspaceFolder}/bricks/simhub/debug /firmware.elf" ,
100100 "args" : [
101101 " ${workspaceFolder}/tests/virtualhub/motor/car.py"
102102 ],
122122 "ignoreFailures" : false
123123 }
124124 ],
125- "preLaunchTask" : " build simhub"
125+ "preLaunchTask" : " build simhub (debug) "
126126 },
127127 {
128128 "name" : " test-pbio" ,
Original file line number Diff line number Diff line change 4545 "options" : {
4646 "cwd" : " ${workspaceFolder}/bricks/simhub"
4747 },
48- "label" : " build simhub" ,
48+ "label" : " build simhub (debug) " ,
4949 "type" : " shell" ,
50- "command" : " poetry run make DEBUG=1 COPT=-O0 -j" ,
50+ "command" : " poetry run make DEBUG=1 BUILD=debug COPT=-DPBDRV_CONFIG_CLOCK_LINUX -j" ,
5151 },
5252 {
5353 "label" : " build test-pbio" ,
Original file line number Diff line number Diff line change @@ -85,8 +85,9 @@ simhub: mpy-cross
8585 @$(MAKE ) -C bricks/simhub CROSS_COMPILE=
8686
8787clean-simhub : clean-mpy-cross
88- @$(MAKE ) -C bricks/simhub clean CROSS_COMPILE=
89- @$(MAKE ) -C bricks/simhub clean DEBUG=1
88+ @$(MAKE ) -C bricks/simhub clean
89+ @$(MAKE ) -C bricks/simhub clean
90+ @$(MAKE ) -C bricks/simhub clean BUILD=debug
9091
9192
9293mpy-cross :
Original file line number Diff line number Diff line change 1+ debug /
You can’t perform that action at this time.
0 commit comments