ao_interrupt.c \
ao_product.c \
ao_cmd.c \
+ ao_led.c \
ao_notask.c \
ao_stdio.c \
ao_stdio_newlib.c \
ao_product.h: ao-make-product.5c ../Version
$(call quiet,NICKLE,$<) $< -m altusmetrum.org -i $(IDPRODUCT) -p $(PRODUCT) -v $(VERSION) > $@
-ao_scheme_const.h: ao_scheme_make_const ao_scheme_basic_syntax.scheme ao_scheme_finish.scheme
- $^ -o $@ -d GPIO,FLOAT,VECTOR,QUASI,BIGINT,POSIX,PORT,SAVE,UNDEF
+ao_scheme_const.h: ao_scheme_make_const ao_scheme_basic_syntax.scheme
+ $^ -o $@ -d FLOAT,VECTOR,QUASI,BIGINT,POSIX,PORT,SAVE,UNDEF
load: $(PROG)
stm-load $(PROG)
#define fprintf(file, ...) ({ (void) (file); printf(__VA_ARGS__); })
#undef putc
#define putc(c,file) ({ (void) (file); putchar(c); })
-#define fputs(s,file) ({ (void) (file); printf("%s", s); })
-#define puts(s) ({ printf("%s\n", s); })
+#define fputs(s,file) ({ (void) (file); ao_put_string(s); })
#undef getc
#define getc(file) ({ (void) (file); getchar(); })
+#define fflush(file) ({ (void) (file); flush(); })
#define HAS_TASK 0
#define HAS_AO_DELAY 1
-#if 0
+#if 1
#define LED_PORT_ENABLE STM_RCC_AHBENR_IOPBEN
#define LED_PORT (&stm_gpiob)
#define LED_PIN_RED 4