sources = 'main,stm32ld'

if WINDOWS then
  sources = sources..",serial_win32"
else
  sources = sources..",serial_posix"
end

c.program{'stm32ld', src=sources}
