Move development efforts to Arduino Due

This commit is contained in:
Felix Kopp 2020-06-10 16:51:55 +02:00
parent cb93e15a44
commit a1f9984630
No known key found for this signature in database
GPG key ID: C478BA0A85F75728
2 changed files with 55 additions and 5 deletions

View file

@ -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
}
}

View file

@ -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.