* add readme with comments on debugging

* add optional CFLAGS in Makefile for debugging
* fix _patternChangeColor function in pattern.c
* add debug variant for measure exec function
This commit is contained in:
2019-02-09 17:54:18 +01:00
parent 4e2a90e52f
commit 969f198084
7 changed files with 77 additions and 28 deletions

View File

@ -1,5 +1,11 @@
CC=msp430-gcc
CFLAGS=-O3 -g0 -Wall -mmcu=msp430g2553 -std=gnu99 -I hottislib
# regular
CFLAGS=-Wall -mmcu=msp430g2553 -std=gnu99 -I hottislib -O3 -g0
# for debugging
# CFLAGS=-Wall -mmcu=msp430g2553 -std=gnu99 -I hottislib -g3 -ggdb -gdwarf-2
LDFLAGS=-mmcu=msp430g2553
blinky1.elf: main.o led.o time.o pattern.o PontCoopScheduler.o myrand.o measure.o