altos/lambdakey: Strip out unused code
authorKeith Packard <keithp@keithp.com>
Wed, 16 Nov 2016 04:24:33 +0000 (20:24 -0800)
committerKeith Packard <keithp@keithp.com>
Mon, 20 Feb 2017 19:16:51 +0000 (11:16 -0800)
Make space for more lisp bits!

Signed-off-by: Keith Packard <keithp@keithp.com>
src/lambdakey-v1.0/Makefile
src/lambdakey-v1.0/ao_lambdakey.c
src/lambdakey-v1.0/ao_pins.h

index feadfa91127393441db05108468f576df41e604e..a4d78736beff544e3e1ce4f43d036bda2ef43018 100644 (file)
@@ -30,11 +30,10 @@ ALTOS_SRC = \
        ao_led.c \
        ao_dma_stm.c \
        ao_stdio.c \
+       ao_mutex.c \
        ao_panic.c \
        ao_timer.c \
-       ao_mutex.c \
        ao_usb_stm.c \
-       ao_serial_stm.c \
        ao_flash_stm.c \
        ao_lisp_lex.c \
        ao_lisp_mem.c \
index 8353d81113288e70131edda1b3c53d8b0339d753..8bd344cf57139fe47f9264e7e2f6cf6514e34e2a 100644 (file)
@@ -33,7 +33,6 @@ void main(void)
        ao_timer_init();
        ao_dma_init();
        ao_usb_init();
-       ao_serial_init();
        ao_cmd_init();
        ao_cmd_register(blink_cmds);
        ao_start_scheduler();
index 167d08576583a398a6179a999020732d1fd3a40e..2ba79c018490d43910e3653b2a9e4963fc6e58b9 100644 (file)
 
 #define IS_FLASH_LOADER        0
 
-#define HAS_SERIAL_2           1
-#define SERIAL_2_PA2_PA15      1
-#define USE_SERIAL_2_FLOW      0
-#define USE_SERIAL_2_STDIN     1
-#define DELAY_SERIAL_2_STDIN   0
-
 #endif /* _AO_PINS_H_ */