@ -23,7 +23,6 @@ STLINK_PORT ?= :4242
obj-y += source/core/spi.o
obj-y += source/drivers/spi_flash.o
obj-y += source/drivers/usart_console.o
$(OPENCM3_DIR)/lib/lib$(OPENCM3_LIBNAME).a:
@if [ ! -e libopencm3/.git ]; then \
@ -51,8 +51,8 @@ int main(void)
gpio_init();
rtc_init(NULL);
user_con = console_init(0);
admin_con = console_init(1);
user_con = console_init(1);
admin_con = console_init(0);
flash = flash_probe();
flash = ftl_mount(flash);
@ -2,3 +2,4 @@ obj-y += source/platform/stm32f0/gpio.o
obj-y += source/platform/stm32f0/rcc.o
obj-y += source/platform/stm32f0/rtc.o
obj-y += source/platform/stm32f0/spi.o
obj-y += source/platform/stm32f0/usart.o