let's use the avr helper library instead

This commit is contained in:
Lea 2023-08-25 09:52:13 +02:00
parent 4ad293bd35
commit 21d1da0f03
Signed by: Lea
GPG key ID: 1BAFFE8347019C42
5 changed files with 36 additions and 13 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
build/

View file

@ -1,21 +1,14 @@
{
"configurations": [
{
"includePath": [
"/usr/avr/include"
],
"intelliSenseMode": "linux-gcc-x64",
"compilerPath": "/usr/lib64/ccache/clang",
"cStandard": "c17",
"cppStandard": "c++17"
},
{
"name": "AVR",
"intelliSenseMode": "${default}",
"compilerPath": "",
"cStandard": "${default}",
"cppStandard": "${default}",
"includePath": [],
"includePath": [
"/usr/avr/lib/**",
"/usr/avr/include/**"
],
"compilerArgs": [
"-g",
"-Os",
@ -24,8 +17,11 @@
"-fpermissive",
"-fno-exceptions",
"-fno-threadsafe-statics",
"-pipe"
]
"-pipe",
"-mmcu=atmega2560",
"-DF_CPU=16000000UL"
],
"compilerPath": "/usr/bin/avr-gcc"
}
],
"version": 4

6
.vscode/extensions.json vendored Normal file
View file

@ -0,0 +1,6 @@
{
"recommendations": [
"alex079.vscode-avr-helper",
"ms-vscode.cpptools"
]
}

20
.vscode/settings.json vendored Normal file
View file

@ -0,0 +1,20 @@
{
"AVR.reporter.arguments": [
"-C"
],
"AVR.source.compiler": "/usr/bin/avr-gcc",
"AVR.programmer.tool": "/usr/bin/avrdude",
"AVR.source.libraries": [
"/usr/avr/lib",
"/usr/avr/include"
],
"C_Cpp.default.compilerPath": "/usr/bin/avr-gcc",
"AVR.device.type": "atmega2560",
"AVR.device.frequency": 16000000,
"AVR.programmer.type": "wiring",
"AVR.programmer.port": "/dev/ttyACM0",
"AVR.programmer.rate": 115200,
"AVR.programmer.arguments": [
"-D"
]
}