microgui / microgui/MicroGUI-Embedded

Large documents in persistant memory

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

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

help wanted
主要言語
C++
スター
5
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

After implementing #12 it was discovered that larger GUI documents could not be stored in the persistant flash memory. This is due to a known limitation:

String values are currently limited to 4000 bytes. This includes the null terminator. Blob values are limited to 508,000 bytes or 97.6% of the partition size - 4000 bytes, whichever is lower.

This means that larger GUI documents than 4000 bytes are not going to be able to be stored upon uploading remotely.
The workaround for this is to hard-code the large GUI when compiling a sketch, and passing it to mgui_init().

This limitation is not necessarily a big issue that needs to be solved, but it could be a good idea to implement a smart workaround for this so that the user gets a better experience using MicroGUI.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

調査の方向性

まず、issue に記載されている ESP-IDF NVS フラッシュのサイズ制限と、mgui_init() 周辺のドキュメント読み込み経路を確認します。リモートからアップロードされた GUI ドキュメントがどのように保存されるかを特定し、ハードコードされたスケッチに依存せずに 4000 バイトを超えるドキュメントを保存してリモートで使用できることを完了条件として定義します。

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

評価

技術スタック
arduino, cpp
領域
embedded-iot
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

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

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