New radio, new calibration values.
Oh, and code to make the calibration easier/possible.
This commit is contained in:
4
Makefile
4
Makefile
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user