sim- / tgy

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

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

Open msperl opened 8 years ago

msperl commented 8 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 8 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 8 years ago

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

msperl commented 8 years ago

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