11 lines
280 B
Plaintext
11 lines
280 B
Plaintext
{1}\begin{2}{lstlisting}{8}[language=make]
|
|
# If no BOARD is found in the environment, use this default:
|
|
BOARD ?= bluepill
|
|
|
|
# To use chinese st-link v2 and ch340 dongle with bluepill
|
|
ifeq ($(BOARD),bluepill)
|
|
STLINK_VERSION=2
|
|
PORT_LINUX=/dev/ttyUSB0
|
|
endif
|
|
{1}\end{5}{lstlisting}{0}
|