mirror of
https://github.com/m5stack/VAMeter-Firmware.git
synced 2026-05-20 11:25:41 -07:00
main
Configurer le standard C++11 dans CMakeLists.txt
VAMeter-Firmware
Firmware source code of VA Meter.
Tree
.
├── 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
Build
Fetch Dependencies
python ./fetch_repos.py
Desktop Build
Tool Chains
sudo apt install build-essential cmake
Build
mkdir build && cd build
cmake .. && make -j8
Run
cd desktop && ./app_desktop_build
IDF Build
Tool Chains
Build
cd platforms/vameter
idf.py build
Flash
idf.py -p <YourPort> flash -b 1500000
Flash AssetPool
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.
Languages
C
70.5%
C++
26.7%
HTML
2.3%
Python
0.3%
CMake
0.1%