New radio, new calibration values.

Oh, and code to make the calibration easier/possible.
This commit is contained in:
2013-04-07 00:17:31 +00:00
parent 17a2289eff
commit 2fa58944fa
2 changed files with 46 additions and 13 deletions

View File

@@ -7,7 +7,7 @@ CSRCS=main.c i2c.c wmp.c timer.c interrupt.c uart.c event.c matrix.c dcm.c
CSRCS+=fisqrt.c stick.c trig.c motor.c led.c watchdog.c panic.c status.c
CSRCS+=thrust.c
#PROJOPTS=-DUSE_UART -DSEND_DCM
#PROJOPTS=-DUSE_UART -DSEND_DCM -DSTICK_DEBUG_CALIBRATE
COPTIM?=-O1
CFLAGS=-march=armv4t -msoft-float $(COPTIM) -Wall -Werror -Wextra $(PROJOPTS)
@@ -37,6 +37,8 @@ OBJS=$(SOBJS) $(COBJS)
.SUFFIXES: .elf .hex .bin
$(OBJS): Makefile
$(NAME).elf: $(OBJS)
$(CC) $(CFLAGS) -nostdlib -nostartfiles -T $(LDSCRIPT) -Wl,-Map -Wl,$(NAME).map -o $(NAME).elf $(OBJS) -lgcc