diff --git a/README.md b/README.md index 112c9be45..76707dafc 100644 --- a/README.md +++ b/README.md @@ -36,3 +36,20 @@ 编译完可以按照步骤3.2进行打包。 +# 编译Linux版本 + +以ubuntu系统为例。 + +## 1.安装依赖 + +`sudo apt-get install autoconf automake pkg-config libtool libusb-dev libusb-1.0-0-dev libhidapi-dev` + +## 2.编译 + +``` +./bootstrap +./configure --enable-remote-bitbang --enable-cmsis-dap --enable-ftdi +make +``` + +编译完成后会在src/目录下生成openocd可执行文件。 \ No newline at end of file