flutter_esptool 0.1.2
flutter_esptool: ^0.1.2 copied to clipboard
A Dart/Flutter port of the esptool functionality for ESP8266/ESP32 programming over serial. Provides chip detection, flash read/write, MAC/info queries, and stub-loader support through an injectable s [...]
β‘ flutter_esptool #
π A professional Flutter package for ESP8266/ESP32 serial bootloader operations: chip detection, flash write/erase/read flows, MAC queries, and protocol utilities.
β¨ Features #
- π§ Chip detection via ROM register magic + MAC address read.
- πΎ Flash write/erase flows with optional compression and MD5 verification.
- π¦ Clean layered architecture (
application,domain,transport,infrastructure,models). - π§ͺ Hardware-free tests with scripted/mocked transport.
- π₯οΈ Professional multilingual demo app in
example/esptool_ui.
π Installation #
dependencies:
flutter_esptool: ^0.1.1
π§ Development Commands #
flutter pub get
flutter analyze
flutter test
Single test file:
flutter test test\unit\transport\slip_codec_test.dart
Single test by name:
flutter test test\unit\transport\slip_codec_test.dart --plain-name "round-trips a payload through encode and decode"
π Documentation #
doc/ARCHITECTURE.mdβ system architecture and data flowdoc/PUBLISHING.mdβ pub.flutter-io.cn and release processdoc/GITFLOW.mdβ branching and version strategydoc/DEMO_APP.mdβ demo features and execution.github/copilot-instructions.mdβ Copilot project guidance
π§ͺ Demo Application #
Run the professional demo:
cd example\esptool_ui
flutter pub get
flutter run
The demo includes:
- π light/dark professional themes
- π multi-language UI (
en,fr,es,pt,de,it,nl,ru,ar,he,zh,ja,ko) - β¨ splash screen
- βοΈ live serial-port workflow for connect, chip detection, MAC, flash info, erase, write, and MD5
π License #
This project is licensed under the MIT License.