-
Notifications
You must be signed in to change notification settings - Fork 19
Home
talpachen edited this page Jan 8, 2020
·
12 revisions
- 安装msys2-x86_64
- MSYS2 MinGW 32-bit
- 参考清华Mirror修改软件源
- pacman -Syuu
- pacman -S autoconf automake pkg-config libtool binutils gcc git make mingw-w64-i686-toolchain mingw-w64-i686-libusb mingw-w64-i686-hidapi mingw-w64-i686-libftdi -y
- git clone https://github.com/vllogic/openocd_cmsis-dap_v2.git && cd openocd_cmsis-dap_v2
- ./bootstrap
- ./configure --build=i686-w64-mingw32 --host=i686-w64-mingw32
- make
异常情况:error: "__USE_MINGW_ANSI_STDIO" redefined [-Werror] 参考:https://github.com/kendryte/openocd-kendryte/wiki/Build-on-Windows#3-run-the-following-command-in-the-project-root-directory