From: Bdale Garbee Date: Thu, 27 Jun 2024 06:16:58 +0000 (-0600) Subject: quantimotor: update copyright year, get it all compiling again X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=f04a48a2d05837076551ea296d44e8577de48187;p=fw%2Faltos quantimotor: update copyright year, get it all compiling again --- diff --git a/src/quantimotor-v1/Makefile b/src/quantimotor-v1/Makefile new file mode 100644 index 00000000..c5e56dce --- /dev/null +++ b/src/quantimotor-v1/Makefile @@ -0,0 +1,68 @@ +# +# AltOS build +# +# + +include ../lpc/Makefile.defs + +INC = \ + ao.h \ + ao_arch.h \ + ao_arch_funcs.h \ + ao_pins.h \ + ao_product.h \ + lpc.h + +# +# Common AltOS sources +# + +ALTOS_SRC = \ + ao_interrupt.c \ + ao_boot_chain.c \ + ao_product.c \ + ao_mutex.c \ + ao_panic.c \ + ao_stdio.c \ + ao_storage.c \ + ao_data.c \ + ao_convert_volt.c \ + ao_task.c \ + ao_cmd.c \ + ao_config.c \ + ao_timer_lpc.c \ + ao_exti_lpc.c \ + ao_romconfig.c \ + ao_adc_lpc.c \ + ao_serial_lpc.c \ + ao_usb_lpc.c + +PRODUCT=QuantiMotor-v1 +PRODUCT_DEF=-DQUANTIMOTOR_V_1 +IDPRODUCT=0x002d + +CFLAGS = $(PRODUCT_DEF) $(LPC_CFLAGS) + +PROGNAME=quantimotor-v3 +PROG=$(PROGNAME)-$(VERSION).elf +HEX=$(PROGNAME)-$(VERSION).ihx + +SRC=$(ALTOS_SRC) ao_quantimotor.c +OBJ=$(SRC:.c=.o) + +all: $(PROG) $(HEX) + +$(PROG): Makefile $(OBJ) + $(call quiet,CC) $(LDFLAGS) -o $(PROG) $(OBJ) $(LIBS) + +$(OBJ): $(INC) + +distclean: clean + +clean: + rm -f *.o $(PROGNAME)-*.elf $(PROGNAME)-*.ihx $(PROGNAME)-*.map + rm -f ao_product.h ao_serial_lpc.h + +install: + +uninstall: diff --git a/src/quantimotor-v1/ao_pins.h b/src/quantimotor-v1/ao_pins.h index 00dfb19b..963908e1 100644 --- a/src/quantimotor-v1/ao_pins.h +++ b/src/quantimotor-v1/ao_pins.h @@ -1,5 +1,5 @@ /* - * Copyright © 2022 Bdale Garbee + * Copyright © 2024 Bdale Garbee * GPLv3 */ #include #include +#include int main(void) diff --git a/src/quantimotor-v1/flash-loader/ao_pins.h b/src/quantimotor-v1/flash-loader/ao_pins.h index 3a69cd6c..092b7201 100644 --- a/src/quantimotor-v1/flash-loader/ao_pins.h +++ b/src/quantimotor-v1/flash-loader/ao_pins.h @@ -1,5 +1,5 @@ /* - * Copyright © 2022 Bdale Garbee + * Copyright © 2024 Bdale Garbee * GPLv3 */