ensure the avr example keeps compiling (#17663)
* ensure the avr example keeps compiling * Update tests/avr/thello.nim * now compiles properly
This commit is contained in:
parent
d3702a4dc3
commit
939df8cbda
4 changed files with 35 additions and 0 deletions
12
tests/avr/nim.cfg
Normal file
12
tests/avr/nim.cfg
Normal file
|
|
@ -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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue