build task
This commit is contained in:
		
							
								
								
									
										6
									
								
								.vscode/extensions.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								.vscode/extensions.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,6 @@ | ||||
| { | ||||
|     "recommendations": [ | ||||
|         "ms-vscode.cpptools", | ||||
|         "ms-vscode.cmake-tools" | ||||
|     ] | ||||
| } | ||||
							
								
								
									
										10
									
								
								.vscode/settings.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								.vscode/settings.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,10 @@ | ||||
| { | ||||
|     "cmake.generator": "Unix Makefiles", | ||||
|     "cmake.buildDirectory": "${workspaceFolder}/build", | ||||
|     "cmake.configureOnOpen": true, | ||||
|     "C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools", | ||||
|     "files.associations": { | ||||
|         "*.c": "c", | ||||
|         "*.h": "c" | ||||
|     } | ||||
| } | ||||
							
								
								
									
										21
									
								
								.vscode/tasks.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								.vscode/tasks.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,21 @@ | ||||
| { | ||||
|     "version": "2.0.0", | ||||
|     "tasks": [ | ||||
|         { | ||||
|             "label": "Build and Show Memory Info", | ||||
|             "type": "shell", | ||||
|             "command": "cmake --build build && avr-size --format=avr --mcu=attiny202 build/main.elf", | ||||
|             "group": { | ||||
|                 "kind": "build", | ||||
|                 "isDefault": true | ||||
|             }, | ||||
|             "problemMatcher": ["$gcc"], | ||||
|             "presentation": { | ||||
|                 "echo": true, | ||||
|                 "reveal": "always", | ||||
|                 "focus": false, | ||||
|                 "panel": "shared" | ||||
|             } | ||||
|         } | ||||
|     ] | ||||
| } | ||||
		Reference in New Issue
	
	Block a user