let's use the avr helper library instead
This commit is contained in:
parent
4ad293bd35
commit
21d1da0f03
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
build/
|
22
.vscode/c_cpp_properties.json
vendored
22
.vscode/c_cpp_properties.json
vendored
|
@ -1,21 +1,14 @@
|
||||||
{
|
{
|
||||||
"configurations": [
|
"configurations": [
|
||||||
{
|
|
||||||
"includePath": [
|
|
||||||
"/usr/avr/include"
|
|
||||||
],
|
|
||||||
"intelliSenseMode": "linux-gcc-x64",
|
|
||||||
"compilerPath": "/usr/lib64/ccache/clang",
|
|
||||||
"cStandard": "c17",
|
|
||||||
"cppStandard": "c++17"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "AVR",
|
"name": "AVR",
|
||||||
"intelliSenseMode": "${default}",
|
"intelliSenseMode": "${default}",
|
||||||
"compilerPath": "",
|
|
||||||
"cStandard": "${default}",
|
"cStandard": "${default}",
|
||||||
"cppStandard": "${default}",
|
"cppStandard": "${default}",
|
||||||
"includePath": [],
|
"includePath": [
|
||||||
|
"/usr/avr/lib/**",
|
||||||
|
"/usr/avr/include/**"
|
||||||
|
],
|
||||||
"compilerArgs": [
|
"compilerArgs": [
|
||||||
"-g",
|
"-g",
|
||||||
"-Os",
|
"-Os",
|
||||||
|
@ -24,8 +17,11 @@
|
||||||
"-fpermissive",
|
"-fpermissive",
|
||||||
"-fno-exceptions",
|
"-fno-exceptions",
|
||||||
"-fno-threadsafe-statics",
|
"-fno-threadsafe-statics",
|
||||||
"-pipe"
|
"-pipe",
|
||||||
]
|
"-mmcu=atmega2560",
|
||||||
|
"-DF_CPU=16000000UL"
|
||||||
|
],
|
||||||
|
"compilerPath": "/usr/bin/avr-gcc"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"version": 4
|
"version": 4
|
||||||
|
|
6
.vscode/extensions.json
vendored
Normal file
6
.vscode/extensions.json
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"recommendations": [
|
||||||
|
"alex079.vscode-avr-helper",
|
||||||
|
"ms-vscode.cpptools"
|
||||||
|
]
|
||||||
|
}
|
20
.vscode/settings.json
vendored
Normal file
20
.vscode/settings.json
vendored
Normal 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"
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in a new issue