Instead of splitting the changes across Makefile and ao_pins.h, put
them both in Makefile to simplify enabling profiling.
Signed-off-by: Keith Packard <keithp@keithp.com>
+#PROFILE_DEF=-DAO_PROFILE=1
PRODUCT_DEF=-DMEGAMETRUM
IDPRODUCT=0x0023
PRODUCT_DEF=-DMEGAMETRUM
IDPRODUCT=0x0023
-CFLAGS = $(PRODUCT_DEF) $(STM_CFLAGS) -Os -g
+CFLAGS = $(PRODUCT_DEF) $(STM_CFLAGS) $(PROFILE_DEF) -Os -g
PROG=megametrum-v0.1-$(VERSION).elf
PROG=megametrum-v0.1-$(VERSION).elf
* Profiling Viterbi decoding
*/
* Profiling Viterbi decoding
*/