2022-01-11 14:44:12 +08:00
# uiflow_micropython
2022-01-14 14:18:24 +08:00
## How to build
2023-09-14 15:29:20 +08:00
2022-01-14 14:18:24 +08:00
### Setting up ESP-IDF and the build environment
2023-09-14 15:29:20 +08:00
2022-01-11 14:44:12 +08:00
``` shell
2022-01-14 14:18:24 +08:00
mkdir uiflow_workspace && cd uiflow_workspace
2026-03-20 14:40:23 +08:00
git clone --depth 1 --branch v5.5.1 https://github.com/espressif/esp-idf.git
2022-01-14 14:18:24 +08:00
git -C esp-idf submodule update --init --recursive
./esp-idf/install.sh
2023-10-20 11:08:52 +08:00
. ./esp-idf/export.sh
2022-01-14 14:18:24 +08:00
```
### Building the firmware
2023-09-14 15:29:20 +08:00
2022-01-14 14:18:24 +08:00
``` shell
git clone https://github.com/m5stack/uiflow_micropython
2022-01-11 14:44:12 +08:00
cd uiflow_micropython/m5stack
2024-02-02 14:30:12 +08:00
make submodules
make patch
2022-01-18 03:01:57 -08:00
make littlefs
2022-01-11 14:44:12 +08:00
make mpy-cross
2024-02-02 14:30:12 +08:00
make flash_all
2022-01-11 14:44:12 +08:00
```
2023-09-14 15:29:20 +08:00
2025-06-18 18:01:48 +08:00
The default board build the M5STACK_AtomS3 one, You can use the `make BOARD=<board> pack_all` command to specify different development boards for compilation. More BOARD type definitions are located in the [m5stack/boards ](./m5stack/boards/ ) path.
2024-02-02 14:30:12 +08:00
More command support, you can check the [Makefile ](./m5stack/Makefile ).
2023-10-20 11:08:52 +08:00
## Documentation
API documentation for this library can be found on [Read the Docs ](https://uiflow-micropython.readthedocs.io/en/latest/ ).
2023-09-14 15:29:20 +08:00
## License
- [micropython][] Copyright (c) 2013-2023 Damien P. George and licensed under MIT License.
- [umqtt][] Copyright (c) 2013-2014 micropython-lib contributors and licensed under MIT License.
- [urequests][] Copyright (c) 2013-2014 micropython-lib contributors and licensed under MIT License.
- [ir][] Copyright (c) 2020 Peter Hinch and licensed under MIT License.
- [neopixel][] Copyright (c) 2013-2014 micropython-lib contributors and licensed under MIT License.
- [bh1750fvi][] Copyright (c) 2022 Sebastian Wicki and licensed under MIT License.
- [bmp280][] Copyright (c) 2020 Sebastian Wicki and licensed under MIT License.
- [checksum][] Copyright (c) 2022 Sebastian Wicki and licensed under MIT License.
- [dht12][] Copyright (c) 2020 Sebastian Wicki and licensed under MIT License.
- [pcf8563][] Copyright (c) 2020 Sebastian Wicki and licensed under MIT License.
- [qmp6988][] Copyright (c) 2022 Sebastian Wicki and licensed under MIT License.
- [scd40][] Copyright (c) 2022 Sebastian Wicki and licensed under MIT License.
- [sgp30][] Copyright (c) 2022 Sebastian Wicki and licensed under MIT License.
- [sht4x][] Copyright (c) 2021 ladyada for Adafruit and licensed under MIT License.
2023-09-17 15:10:05 +08:00
- [vl53l0x][] Copyright (c) 2017 Tony DiCola for Adafruit Industries and licensed under MIT License.
- [camera][] Copyright (c) 2021 Mauro Riva and licensed under Apache License Version 2.0.
2024-05-09 15:07:39 +08:00
- [haptic][] Copyright (c) 2022 lbuque and licensed under MIT License.
2023-09-14 15:29:20 +08:00
[micropython]: https://github.com/micropython/micropython
[umqtt]: https://github.com/micropython/micropython-lib
[urequests]: https://github.com/micropython/micropython-lib
[ir]: https://github.com/peterhinch/micropython_ir
[neopixel]: https://github.com/micropython/micropython-lib
[bh1750fvi]: https://github.com/gandro/micropython-m5stamp-c3u
[bmp280]: https://github.com/gandro/micropython-m5stickc-plus
[checksum]: https://github.com/gandro/micropython-m5stamp-c3u
[dht12]: https://github.com/gandro/micropython-m5stickc-plus
[pcf8563]: https://github.com/gandro/micropython-m5stickc-plus
[qmp6988]: https://github.com/gandro/micropython-m5stamp-c3u
[scd40]: https://github.com/gandro/micropython-m5stamp-c3u
[sgp30]: https://github.com/gandro/micropython-m5stamp-c3u
[sht4x]: https://github.com/adafruit/Adafruit_CircuitPython_SHT4x
2023-09-17 15:10:05 +08:00
[vl53l0x]: https://github.com/adafruit/Adafruit_CircuitPython_VL53L0X
[camera]: https://github.com/lemariva/micropython-camera-driver
2024-05-09 15:07:39 +08:00
[haptic]: https://github.com/lbuque/haptic