summary refs log tree commit diff stats
path: root/tests/avr/nim.cfg
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2021-04-07 13:40:57 +0200
committerGitHub <noreply@github.com>2021-04-07 13:40:57 +0200
commit939df8cbdaf8b65966c60b4e368ba317cf4d194f (patch)
tree7003001c7e71780ae3f8d5799a4fd4650f626ba8 /tests/avr/nim.cfg
parentd3702a4dc3f4226ae601f503bc3f2244f9e1bdce (diff)
downloadNim-939df8cbdaf8b65966c60b4e368ba317cf4d194f.tar.gz
ensure the avr example keeps compiling (#17663)
* ensure the avr example keeps compiling

* Update tests/avr/thello.nim

* now compiles properly
Diffstat (limited to 'tests/avr/nim.cfg')
-rw-r--r--tests/avr/nim.cfg12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/avr/nim.cfg b/tests/avr/nim.cfg
new file mode 100644
index 000000000..d6eba8eda
--- /dev/null
+++ b/tests/avr/nim.cfg
@@ -0,0 +1,12 @@
+avr.standalone.gcc.path = "/usr/bin"
+avr.standalone.gcc.exe = "avr-gcc"
+avr.standalone.gcc.linkerexe = "avr-gcc"
+passC = "-Os"
+passC = "-DF_CPU=16000000UL"
+passC = "-mmcu=atmega328p"
+passL = "-mmcu=atmega328p"
+passC = "-flto"
+passL = "-flto"
+cpu = "avr"
+deadCodeElim = "on"
+gc = "arc"