Firmware source code of VA Meter.
.
├── app
│ ├── apps # Apps
│ │ ├── app_files
│ │ ├── app_launcher
│ │ ├── app_power_monitor
│ │ ├── app_settings
│ │ ├── app_startup_anim
│ │ ├── app_template
│ │ ├── app_waveform
│ │ └── utils
│ ├── assets # Asset Pool
│ └── hal # HAL defines
└── platforms
├── desktop # Desktop project
└── vameter # IDF project
python ./fetch_repos.py
sudo apt install build-essential cmake
mkdir build && cd build
cmake .. && make -j8
cd desktop && ./app_desktop_build
cd platforms/vameter
idf.py build
idf.py -p <YourPort> flash -b 1500000
parttool.py --port <YourPort> write_partition --partition-name=assetpool --input "path/to/AssetPool-VAMeter.bin"
If you run desktop build before, you can found AssetPool-VAMeter.bin
at
../../build/desktop/AssetPool-VAMeter.bin
. Or download one from the release page.