location / {
add_header Content-Type text/plain;
return 200 "Hello World!";
}
現在検証中
2020年7月現在、docker-composeのaarch64版バイナリは公開されていない。また、コンテナイメージもない。ビルドするならシングルバイナリが理想であるが、ビルド環境を整えるのが面倒である。docker-compose binaries for aarch64 を使うと、aarch64用のdocker-composeをビルドできる。ただ、こちらは2年間メンテされていないので、forkされたこちら を使う。誰が最新を追いかけているかはこちらをみるとよい。
以下の作業をx86_64のDockerが動作する環境で実行する。
$ git clone https://github.com/samip5/docker-compose-aarch64.git
$ cd docker-compose-aarch64
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
# 先頭がフィールドのTSVデータを読みやすい形に変換する | |
# 以下のようなTSVデータをKey:Valueの表示に変換する。 | |
# | |
# field1 field2 field3 | |
# data1 data2 data3 | |
# data1 data2 data3 | |
# | |
# 使い方 | |
# pbpaste | ./tsv-convert.pl |
Debian AmazonEC2Image https://wiki.debian.org/Cloud/AmazonEC2Image
Debian Buster
- debian-10-arm64-20200511-260
- debian-10-amd64-20200511-260
- STM32 Nucleo F401RE macOSでビルドとアップロードしてLチカ
- STM32 NucleoのUSART2はST-LinkのUARTと繋がっている。
- Linuxマシン(Raspberry Piなど)に接続すると、/dev/ttyACM0として認識される
- STM32CubeMXのF401REボードのデフォルト設定、Makefile用で初期コードを生成して開始する。
- 要screen、終了はCTRL+A, k → y
チップやボードを選んでライブラリと初期コードを生成してくれるツール。要JRE
コマンド