Ubuntu18.04下STM32开发工具安装 Stopping at filesystem boundary或configure: error: jimtcl not found

前言

之前一直在windows上开发STM32的单片机,用的工具是IAR,调试工具是J-link。但是之前用过一段linux,不想荒废linux的使用,所以在开发上转到Ubuntu试试。

问题

首先是参照前人的帖子进行环境搭建帖子如下:《Ubuntu+Stm32cubeMX+vscode+stlink开发》

https://blog.csdn.net/lanqilovezs/article/details/80657911

但是在安装过程第二步安装openocd时出现了问题 git://git.code.sf.net/p/openocd/code 无法从git 仓库下载,便从github上将openocd-master的包下载下来。

将软件包解压后,进入openocd-master目录, 执行:./bootstrap

结果出现了stopping at filesystem boundary...

我没去理会它,继续下一步:./configure

结果出现了configure:error:jimtcl not found...

jimtcl目录下是空的。

解决

在readme文档中,我看到了:

You can download the current GIT version with a GIT client of your
choice from the main repository:

    git://git.code.sf.net/p/openocd/code

You may prefer to use a mirror:

    http://repo.or.cz/r/openocd.git
    git://repo.or.cz/openocd.git

所以我执行:git clong git://repo.or.cz/openocd.git

这样就把openocd的包git下来了。

然后执行:make & sudo make install

安装完成。

编辑日期:2019.4.28 在ubuntu18.04。

 



posted @ 2019-04-28 17:26  SevenYears  阅读(1227)  评论(0编辑  收藏  举报