From e950552b9fcef9fa19eb2ce1f5aa959674caabb5 Mon Sep 17 00:00:00 2001 From: sago35 Date: Tue, 12 Mar 2024 21:46:54 +0900 Subject: [PATCH] Update README.md and correct.md --- README.md | 5 +++++ correct.md | 3 +++ 2 files changed, 8 insertions(+) diff --git a/README.md b/README.md index 334d01c..49b2c2c 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,7 @@ $ git clone https://github.com/Seeed-Studio/ambd_flash_tool --branch JP | TinyGo | Go | 備考 | | --- | --- | --- | +| 0.31.0 | 1.21 - 1.22 | net package が大幅更新 (※2) | | 0.28.1 | 1.19 - 1.20 | Wio Terminal の動作について一部問題あり(※1) | | 0.27.0 | 1.19 - 1.20 | | | 0.26.0 | 1.18 - 1.19 | 書籍執筆時 Version (脱稿直前のリリース) | @@ -65,6 +66,10 @@ $ git clone https://github.com/Seeed-Studio/ambd_flash_tool --branch JP TinyGo 0.28.1 で Wio Terminal に搭載されている ATSAMD51 マイコンの Cache を有効化する変更が入り、 I2C などが一部動作不良となるケースがあります。 本件については [正誤表](./correct.md) に記載しています。 +※2 +TinyGo 0.31.0 で net や net/http package 関連が大幅更新されました。 +この辺りについては後日まとめる予定ですが、さしあたりは [正誤表](./correct.md) を確認してください。 + ## Demos diff --git a/correct.md b/correct.md index d84c173..3761fc9 100644 --- a/correct.md +++ b/correct.md @@ -21,6 +21,9 @@ - Chapter 5 - (TinyGo 0.28.1 以降) P.185, P.189 のソースコード内で `"machine/usb/midi"` を import している箇所で import エラーになる - package path を `"machine/usb/adc/midi"` に書き換えてください +- Chapter 7 + - (TinyGo 0.31.0 以降) 全体的な使い方が変更となったため基本的には以下のコードを参照してください + - https://github.com/tinygo-org/drivers/tree/v0.27.0/examples/net ## その他雑多な情報