[constants]
arch = 'avr'

[host_machine]
system = 'baremetal'
endian = 'little'
cpu_family = 'avr'
cpu = 'avr128db64'

[binaries]
c = arch + '-gcc'
cpp = arch + '-g++'
strip = arch + '-strip'
objcopy = arch + '-objcopy'
objdump = arch + '-objdump'
size = arch + '-size'

[built-in options]
c_args = ['-mrelax', '-ffunction-sections', '-fdata-sections']
cpp_args = ['-mrelax', '-ffunction-sections', '-fdata-sections']
c_link_args = ['-mrelax', '-Wl,--gc-sections']
cpp_link_args = ['-mrelax', '-Wl,--gc-sections']
