mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-09 22:33:28 +09:00
![Patrick Delaunay](/assets/img/avatar_default.png)
Add CONFIG_CMD_STM32PROG_SERIAL and CONFIG_CMD_STM32PROG_USB to independently select the support of UART or USB communication for STM32CubeProgrammer. For serial boot over UART, user can deactivate CONFIG_CMD_STM32PROG_SERIAL to use U-Boot console of binary loaded by UART (for board bring-up for example). Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
10 lines
302 B
Makefile
10 lines
302 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# Copyright (C) 2020, STMicroelectronics - All Rights Reserved
|
|
#
|
|
|
|
obj-$(CONFIG_CMD_STM32PROG) += cmd_stm32prog.o
|
|
obj-$(CONFIG_CMD_STM32PROG) += stm32prog.o
|
|
obj-$(CONFIG_CMD_STM32PROG_SERIAL) += stm32prog_serial.o
|
|
obj-$(CONFIG_CMD_STM32PROG_USB) += stm32prog_usb.o
|