summaryrefslogtreecommitdiff
path: root/atmel-samd/main.c
diff options
context:
space:
mode:
authorScott Shawcroft <scott.shawcroft@gmail.com>2017-02-25 12:19:33 +0100
committerScott Shawcroft <scott.shawcroft@gmail.com>2017-02-26 01:00:33 +0100
commit062fac1d43d42b35e0ecdaaec124c29b65db7c68 (patch)
treeab2b653796caea6d368ae793e07e5382b0759bab /atmel-samd/main.c
parent3fd19c60ccd879ed676bae72d42b709b34eeaa23 (diff)
atmel-samd: Use link time optimization to reduce code size of builds which
share space with the file system. "Express" builds with SPI flash crash the compiler for some reason so its currently disabled for them.
Diffstat (limited to 'atmel-samd/main.c')
-rw-r--r--atmel-samd/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/atmel-samd/main.c b/atmel-samd/main.c
index 17be1123b..44c0e6494 100644
--- a/atmel-samd/main.c
+++ b/atmel-samd/main.c
@@ -500,7 +500,7 @@ void samd21_init(void) {
nvm_set_config(&config_nvm);
}
-int main(int argc, char **argv) {
+int main(void) {
// initialise the cpu and peripherals
samd21_init();