你的浏览器版本过低,可能导致网站不能正常访问!为了你能正常使用网站功能,请使用这些浏览器。
ataudio 发表于 2015-10-30 13:41 * j6 G7 Y/ D+ c* @我是从github下载的zip包,在ubuntu下unzip解压,然后直接配置编译的,没有改过。。请你发一个编好的给我吧 ...
QianFan 发表于 2015-10-30 13:56: a. ~2 ?8 h, r" C1 @ 已发。。。
ataudio 发表于 2015-11-3 10:42, r' P! D) r; \8 [ ]7 p- K% o0 N 换成ubuntu 15.10桌面版,gcc版本是5.2,编译stlink成功。 $ a8 W! e8 U |8 ~checking for sys/mman.h... yes & x8 b& s+ u: I) h& l1 Tchecking sys/p ...
Mandelbrot_Set 发表于 2015-11-5 17:342 p0 E8 A- g/ W( u) R% ?% B st-info , c& A7 j$ v% I$ t& Q- T% Zst-term0 m+ [( I8 ^) V/ M) ~& P% g" i% { 是干什么的
Mandelbrot_Set 发表于 2015-11-5 17:34 K; e7 k# z" j) ?+ P' h& s* ]+ q a st-info/ R5 Z- g3 G' V1 g& y+ P st-term/ Q! C( X& L' @- J6 N. W: m+ I 是干什么的
意法半导体微控制器和微处理器拥有广泛的产品线,包含低成本的8位单片机和基于ARM® Cortex®-M0、M0+、M3、M4、M33、M7及A7内核并具备丰富外设选择的32位微控制器及微处理器。关注该话题即可发布文章!
已发。。。
收到,多谢。
checking for sys/mman.h... yes8 z7 n2 E0 T& q/ j3 ?: U3 v! ^: J# B
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes% x# Y/ |( O. g5 T' P
checking for mmap... yes
checking for pkg-config... /usr/bin/pkg-config7 U/ Q M9 Y" e- x. @
checking pkg-config is at least version 0.9.0... yes5 T M6 d3 m$ l* L4 [
checking for USB... yes; Q A2 C+ _% \& }, A( Z& R
checking for usb_path2devnum in -lusbpath... no3 L8 g9 R; Z, s1 f) M7 @4 @
checking that generated files are newer than configure... done" ^) c7 [7 k- b+ P# _1 B8 z
configure: creating ./config.status
config.status: creating Makefile0 a9 ^0 ^, W5 ~$ Y L' C0 e5 X
config.status: executing depfiles commands5 I. {" R8 [3 Y( H$ b' h
aoems@ubuntu:~/stlink-master$ gcc --version
gcc (Ubuntu 5.2.1-22ubuntu2) 5.2.1 20151010& E5 `: i& p5 T/ P" Q
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO* S: [+ w8 ^2 C8 A
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
. T' C1 d8 M5 [9 Z$ v/ y- j
aoems@ubuntu:~/stlink-master$ sudo make install
...
make[2]: Entering directory '/home/aoems/stlink-master'
/bin/mkdir -p '/usr/local/bin'
/usr/bin/install -c st-flash st-util st-term st-info '/usr/local/bin'
make[2]: Nothing to be done for 'install-data-am'.+ d) h& r' U7 e8 b0 p$ b
make[2]: Leaving directory '/home/aoems/stlink-master'" F0 @* u; Q8 x
make[1]: Leaving directory '/home/aoems/stlink-master'
aoems@ubuntu:~/stlink-master$
. b2 Y8 V5 D# V
安装时,显示没做任何事情,不明白安装是否成功。
你有没有安装过之前我的那个包?如果安装过的话,这次就不需要使用了。可以试试st-flash。如果有提示,那就是安装成功了。
st-term
是干什么的
st-info是用来获取芯片的内存大小和FLASH大小的。不过我的st-info并不输出任何内容。st-term不知道是干啥的。3 w: s8 j5 V# j+ K n5 i
我只会用st-flash和st-util。
这两个程序可能有bug。连--help都不会进行提示。