Closed travisgoodspeed closed 6 years ago
Last week's PR #84 disables all apps except the clock because of a Makefile bug that only applies the list to the last item of the build.
Makefile
x270% make clean all rm -rf *~ */*~ *.hex *.elf *.o */*.o goodwatch gittag.h html latex msp430-gcc -mmcu=cc430f6137 -Wall -I. -Os -c -o rtcasm.o rtcasm.S echo "#define GITTAG" 0x`git describe --always` >gittag.h msp430-gcc -mmcu=cc430f6137 -Wall -I. -Os -c -o main.o main.c msp430-gcc -mmcu=cc430f6137 -Wall -I. -Os -c -o lcd.o lcd.c msp430-gcc -mmcu=cc430f6137 -Wall -I. -Os -c -o lcdtext.o lcdtext.c msp430-gcc -mmcu=cc430f6137 -Wall -I. -Os -c -o rtc.o rtc.c msp430-gcc -mmcu=cc430f6137 -Wall -I. -Os -c -o keypad.o keypad.c msp430-gcc -mmcu=cc430f6137 -Wall -I. -Os -c -o apps.o apps.c msp430-gcc -mmcu=cc430f6137 -Wall -I. -Os -c -o applist.o applist.c msp430-gcc -mmcu=cc430f6137 -Wall -I. -Os -c -o sidebutton.o sidebutton.c msp430-gcc -mmcu=cc430f6137 -Wall -I. -Os -c -o power.o power.c msp430-gcc -mmcu=cc430f6137 -Wall -I. -Os -c -o uart.o uart.c msp430-gcc -mmcu=cc430f6137 -Wall -I. -Os -c -o monitor.o monitor.c msp430-gcc -mmcu=cc430f6137 -Wall -I. -Os -c -o ucs.o ucs.c msp430-gcc -mmcu=cc430f6137 -Wall -I. -Os -c -o buzz.o buzz.c msp430-gcc -mmcu=cc430f6137 -Wall -I. -Os -c -o radio.o radio.c msp430-gcc -mmcu=cc430f6137 -Wall -I. -Os -c -o packet.o packet.c msp430-gcc -mmcu=cc430f6137 -Wall -I. -Os -c -o dmesg.o dmesg.c msp430-gcc -mmcu=cc430f6137 -Wall -I. -Os -c -o codeplug.o codeplug.c msp430-gcc -mmcu=cc430f6137 -Wall -I. -Os -c -o rng.o rng.c msp430-gcc -mmcu=cc430f6137 -Wall -I. -Os -c -o libs/assembler.o libs/assembler.c msp430-gcc -mmcu=cc430f6137 -Wall -I. -Os -c -o libs/morse.o libs/morse.c msp430-gcc -mmcu=cc430f6137 -Wall -I. -Os -c -o apps/clock.o apps/clock.c msp430-gcc -mmcu=cc430f6137 -Wall -I. -Os -c -o apps/submenu.o apps/submenu.c msp430-gcc -mmcu=cc430f6137 -Wall -I. -Os -c -o apps/alarm.o apps/alarm.c msp430-gcc -mmcu=cc430f6137 -Wall -I. -Os -c -o apps/rpn.o apps/rpn.c msp430-gcc -mmcu=cc430f6137 -Wall -I. -Os -c -o apps/hex.o apps/hex.c msp430-gcc -mmcu=cc430f6137 -Wall -I. -Os -c -o apps/stopwatch.o apps/stopwatch.c msp430-gcc -mmcu=cc430f6137 -Wall -I. -Os -c -o apps/rngapp.o apps/rngapp.c msp430-gcc -mmcu=cc430f6137 -Wall -I. -Os -c -o apps/tuner.o apps/tuner.c msp430-gcc -mmcu=cc430f6137 -Wall -I. -Os -c -o apps/morse.o apps/morse.c msp430-gcc -mmcu=cc430f6137 -Wall -I. -Os -c -o apps/beacon.o apps/beacon.c msp430-gcc -mmcu=cc430f6137 -Wall -I. -Os -c -o apps/iclicker.o apps/iclicker.c msp430-gcc -mmcu=cc430f6137 -Wall -I. -Os -T msp430.x -o goodwatch rtcasm.o main.o lcd.o lcdtext.o rtc.o keypad.o apps.o applist.o sidebutton.o power.o uart.o monitor.o ucs.o buzz.o radio.o packet.o dmesg.o codeplug.o rng.o libs/assembler.o libs/morse.o apps/clock.o apps/submenu.o apps/alarm.o apps/rpn.o apps/hex.o apps/stopwatch.o apps/rngapp.o apps/tuner.o apps/morse.o apps/beacon.o apps/iclicker.o -DALARM_APP -DRPN_APP -DHEX_APP -DSTOWWATCH_APP -DRNG_APP -DTUNER_APP -DMORSE_APP -DBEACON_APP -DICLICKER_APP ../bin/printsizes.py goodwatch || echo "Please install python-pyelftools." 21254 bytes of .text (64 %) 32 bytes of .data, 504 bytes of .bss, 20 bytes of .noinit (13 %) msp430-objcopy -O ihex goodwatch goodwatch.hex x270%
Last week's PR #84 disables all apps except the clock because of a
Makefile
bug that only applies the list to the last item of the build.