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。

 



转载于:https://www.cnblogs.com/LBBSevenYears/p/10785283.html

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值