Large program fails; shows strange LED blink pattern

オープン
#1 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
arduino, raspberry-pi

調査の方向性

platformio.ini の [env:pico] 設定から始め、issue に記載されている Arduino IDE のビルドと PlatformIO のビルドを比較します。インストールされたプログラムがシリアルポートとして認識されず、LED が長く4回点滅した後に短く3回点滅する理由を調査します。PlatformIO でビルドしたときに Pico がプログラムを実行し、シリアルポートとして表示されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

MicroBlocks is a virtual machine (like MicroPython) that runs on a wide range of 32-bit microcontrollers. We use PlatformIO to build for all of them. MicroBlocks is a fairly large program.

I am porting MicroBlocks to the Raspberry Pi RP2040 chip, the Pico board in particular. It compiles and runs using Arduino IDE 1.8.13 (Mac OS) and Arduino's "Mbed OS RP2040" 2.0.0 board package this community supported package.

The same code compiles and installs with PlatformIO, but the program does not run on the board. The board does not appear as serial port (which it does when the program runs correctly), and the LED blinks in a strange pattern: four long blinks followed by three quick ones. The blink pattern could be an error code of some sort but I haven't been able to find any documentation that will help me decode it.

Here's the platformio.ini file entry I'm using:

[env:pico]
platform = https://github.com/platformio/platform-raspberrypi.git
framework = arduino
board = pico
lib_ignore = WiFi
build_flags = -D ARDUINO_RASPBERRY_PI_PICO

主要言語
Python
スター
96
フォーク
142
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

platformio/platform-raspberrypi のほかの issue

platformio/platform-raspberrypi の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。