Move development efforts to Arduino Due
This commit is contained in:
parent
cb93e15a44
commit
a1f9984630
2 changed files with 55 additions and 5 deletions
58
.vscode/c_cpp_properties.json
vendored
58
.vscode/c_cpp_properties.json
vendored
|
@ -4,7 +4,8 @@
|
|||
"name": "atmega328p",
|
||||
"defines": [
|
||||
"DEBUG",
|
||||
"ARCH=atmega328p"
|
||||
"ARCH=atmega328p",
|
||||
"ARCH_ATMEGA328P"
|
||||
],
|
||||
"compilerPath": "/usr/bin/avr-gcc",
|
||||
"cStandard": "gnu11",
|
||||
|
@ -14,7 +15,6 @@
|
|||
],
|
||||
"compilerArgs": [
|
||||
"-mmcu=atmega328p",
|
||||
"-nostartfiles",
|
||||
"-nostdlib",
|
||||
"-nodefaultlibs",
|
||||
"-fno-builtin",
|
||||
|
@ -33,8 +33,58 @@
|
|||
"-Waggregate-return",
|
||||
"-Winline",
|
||||
"-Wcast-align"
|
||||
]
|
||||
],
|
||||
"browse": {
|
||||
"path": [
|
||||
"include",
|
||||
"${workspaceFolder}"
|
||||
],
|
||||
"limitSymbolsToIncludedHeaders": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "at91sam3x8e",
|
||||
"defines": [
|
||||
"DEBUG",
|
||||
"ARCH=at91sam3x8e",
|
||||
"ARCH_AT91SAM3X8E"
|
||||
],
|
||||
"compilerPath": "/usr/bin/avr-gcc",
|
||||
"cStandard": "c11",
|
||||
"cppStandard": "gnu++14",
|
||||
"intelliSenseMode": "gcc-arm",
|
||||
"includePath": [
|
||||
"./include"
|
||||
],
|
||||
"compilerArgs": [
|
||||
"-mmcu=at91sam3x8e",
|
||||
"-nostdlib",
|
||||
"-nodefaultlibs",
|
||||
"-fno-builtin",
|
||||
"-fpack-struct",
|
||||
"-Wall",
|
||||
"-Wstrict-prototypes",
|
||||
"-Wredundant-decls",
|
||||
"-Wnested-externs",
|
||||
"-Wbad-function-cast",
|
||||
"-Wshadow",
|
||||
"-Wsign-compare",
|
||||
"-Wfloat-equal",
|
||||
"-Wunreachable-code",
|
||||
"-Wwrite-strings",
|
||||
"-Wconversion",
|
||||
"-Waggregate-return",
|
||||
"-Winline",
|
||||
"-Wcast-align"
|
||||
],
|
||||
"browse": {
|
||||
"path": [
|
||||
"./include",
|
||||
"${workspaceFolder}"
|
||||
],
|
||||
"limitSymbolsToIncludedHeaders": true
|
||||
}
|
||||
}
|
||||
],
|
||||
"version": 4
|
||||
}
|
||||
}
|
|
@ -30,7 +30,7 @@ Right now, you have to manually define environment variables:
|
|||
- `AVR_OBJCOPY`: Full path to `avr-objcopy`. If unset, we will search for it in your PATH.
|
||||
- `ARCH`: Codename for the target architecture. This is mandatory.
|
||||
The following architectures are currently supported:
|
||||
* `atmega328p` (Arduino UNO)
|
||||
* `at91sam3x8e` (Arduino Due)
|
||||
- `EXTRA_CFLAGS`: Any additional arguments that should be passed to the compiler.
|
||||
- `EXTRA_LDFLAGS`: Any additional arguments that should be passed to the linker.
|
||||
|
||||
|
|
Loading…
Reference in a new issue