sim- / tgy

tgy -- Open Source Firmware for ATmega-based Brushless ESCs
http://0x.ca/tgy/
689 stars 386 forks source link

remove needs to change Makefile and tgy.asm for a new board configuration #97

Open msperl opened 9 years ago

msperl commented 9 years ago

Enabled automatic discovery of board includes in Makefile (removing manual list) Removed the manually added board includes in tgy.asm (with a workarround for tgy.inc) Made it possible (in principle) to use a different m*def.inc inside the .inc Made some of the targets phony

msperl commented 9 years ago

This came up during a discussion in #96. This may ease the "integration needs" for forked repositories - upstreaming additional *.inc becomes trivial

ahalekelly commented 9 years ago

My makefile skills aren't good enough to fully understand your code, but this is a great idea

msperl commented 9 years ago

Give the patch a try and see if it works for you...