make: add missing header files and update build system

master
S.J.R. van Schaik 7 years ago
parent 8c8e7fc67c
commit ce71976939
  1. 3
      include/shell/buzzer.h
  2. 1
      include/shell/rtc.h
  3. 1
      source/platform/stm32f0/Makefile
  4. 1
      source/platform/stm32f1/Makefile
  5. 1
      source/shell/Makefile

@ -0,0 +1,3 @@
#pragma once
int shell_buzzer(struct console *con, size_t argc, const char **argv);

@ -5,3 +5,4 @@ struct console;
int shell_date(struct console *con, size_t argc, const char **argv);
int shell_time(struct console *con, size_t argc, const char **argv);
int shell_set_date(struct console *con, size_t argc, const char **argv);
int shell_set_time(struct console *con, size_t argc, const char **argv);

@ -2,6 +2,7 @@ obj-y += source/platform/spi_flash.o
obj-y += source/platform/usart.o
obj-y += source/platform/stm32f0/alarm.o
obj-y += source/platform/stm32f0/buzzer.o
obj-y += source/platform/stm32f0/gpio.o
obj-y += source/platform/stm32f0/rcc.o
obj-y += source/platform/stm32f0/rtc.o

@ -2,6 +2,7 @@ obj-y += source/platform/spi_flash.o
obj-y += source/platform/usart.o
obj-y += source/platform/stm32f1/alarm.o
obj-y += source/platform/stm32f1/buzzer.o
obj-y += source/platform/stm32f1/gpio.o
obj-y += source/platform/stm32f1/rcc.o
obj-y += source/platform/stm32f1/rtc.o

@ -1,5 +1,6 @@
obj-y += source/shell/args.o
obj-y += source/shell/boot.o
obj-y += source/shell/buzzer.o
obj-y += source/shell/cmd.o
obj-y += source/shell/echo.o
obj-y += source/shell/flash.o

Loading…
Cancel
Save