LoginSignup
1
0

More than 5 years have passed since last update.

linux:Ev3dev.ini

Last updated at Posted at 2018-08-29

覚書

webで見るにほとんど事例が見られないものが多いのでメモとして残しています
:10/4~ ubuntu

まずREADME.md読もうず

鉄則のようです
解凍直下(また細かいのはそれぞれのディレクトリ)にあるので読もう

現在

/ev3dev-c/source/ev3makeとかmake sharedとかしようとすると

arm-linux-gnueabi-gcc -I. -I../../3d_party -Iev3_link -O2 -std=gnu99 -W -Wall -Wno-comment -fPIC -c ../../3d_party/modp_numtoa.c -o ../../object/./modp_numtoa.o
In file included from ../../3d_party/modp_numtoa.h:37,
                 from ../../3d_party/modp_numtoa.c:4:
/usr/lib/gcc/arm-linux-gnueabi/8.1.0/include/stdint.h:9:16: fatal error: stdint.h: No such file or directory
 # include_next <stdint.h>
                ^~~~~~~~~~
compilation terminated.
make: *** [makefile:294: ../../object/./modp_numtoa.o] Error 1

というお叱りを受けたので探索中
ネット上の情報に寄るとarm-none-eabi-newlibをインストールするといいよと書いてありましたが、もうすでにインストール済みだった...

やったこと

yaourtのインストール
arm-linux-gnueabi-gccのインストール
手動
pgpエラー

$ yaourt -G arm-linux-gnueabi-gcc arm-linux-gnueabi-binutils

Arch Linuxとパッケージシステム
One or more PGP signatures could not be verified!
makepkg

makefileに追加

ev3dev-c/source/ev3/makefile
 50 ifeq ($(SKIP_PP),0)
 51 PP = python2 -u $(YUPP_HOME)/yup.py    #python -> python2
 52 else
 53 PP = @echo makefile: warning: preprocessing step is skipped,
 54 endif

左側は行数

dockerの起動(自分の場合)

$ docker run --rm -it -v ~/contener:/src -w /src ev3cc

Using Docker to Cross-Compile

SSH接続

Connecting to Ev3dev Using SSH

sshについても勉強

ssh robot@10.199.47.90

*robotはユーザ名
*IPアドレスのところはev3の画面左上に表示されたもの

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0