Speeding up decoder development
Posted: Mon Mar 14, 2011 2:03 am
Very soon there is going to be a dramatic rise in the number of decoders built during a full FreeEMS firmware build. This doesn't take long at all, but is wasted time if you only want to work on one and not touch the rest of the code base. So, below is a method of only building the one that you want to build:
Obviously replace DecoderDecoder with which ever decoder you are actually working on...
Unfortunately the last line only works if the rest is pre-built, I think I know why that is, and may fix it soon and update this thread, but until then, just build all at first, and don't clean between builds.
Enjoy!
Fred.
Code: Select all
make clean
make s19
<develop DecoderDecoder.c>
make firmware/freeems-0.1.2-SNAPSHOT-DecoderDecoder.s19
Unfortunately the last line only works if the rest is pre-built, I think I know why that is, and may fix it soon and update this thread, but until then, just build all at first, and don't clean between builds.
Enjoy!
Fred.