mirror of
				https://github.com/halleysfifthinc/Toyota-AVC-LAN
				synced 2025-10-27 08:27:16 +00:00 
			
		
		
		
	Setup Dev Containers for VS Code (easy toolchain/build setup)
This commit is contained in:
		
							parent
							
								
									522fb41290
								
							
						
					
					
						commit
						5559f38a51
					
				
							
								
								
									
										29
									
								
								.devcontainer/devcontainer.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								.devcontainer/devcontainer.json
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,29 @@ | ||||
| // For format details, see https://aka.ms/devcontainer.json. For config options, see the | ||||
| // README at: https://github.com/devcontainers/templates/tree/main/src/alpine | ||||
| { | ||||
| 	"name": "AVR toolchain", | ||||
| 	// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile | ||||
| 	"image": "mcr.microsoft.com/devcontainers/base:alpine-3.18", | ||||
| 	"features": {}, | ||||
| 	// Features to add to the dev container. More info: https://containers.dev/features. | ||||
| 	// "features": {}, | ||||
| 	// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||||
| 	// "forwardPorts": [], | ||||
| 	// Use 'postCreateCommand' to run commands after the container is created. | ||||
| 	"postCreateCommand": "bash scripts/install-toolchain.sh", | ||||
| 	// Configure tool-specific properties. | ||||
| 	"customizations": { | ||||
| 		"vscode": { | ||||
| 			"extensions": [ | ||||
| 				"ms-vscode.cpptools", | ||||
| 				"ms-vscode.cmake-tools", | ||||
| 				"ms-vscode.makefile-tools" | ||||
| 			] | ||||
| 		} | ||||
| 	} | ||||
| 	// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. | ||||
| 	// "remoteUser": "root" | ||||
| 	// "runArgs": [ | ||||
| 	// 	"--device='class/86E0D1E0-8089-11D0-9CE4-08003E301F73'" | ||||
| 	// ] | ||||
| } | ||||
							
								
								
									
										1
									
								
								scripts/install-toolchain.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								scripts/install-toolchain.sh
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1 @@ | ||||
| sudo apk --no-cache add make cmake avrdude avr-libc gcc-avr | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user