main: swap around USART1 and USART2 to be compatible with tbm-schematics
This commit is contained in:
parent
0ee4779e5c
commit
33373dd250
4 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue