Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/buhe/up
📺 A esp32 app
https://github.com/buhe/up
esp32 rust
Last synced: 19 days ago
JSON representation
📺 A esp32 app
- Host: GitHub
- URL: https://github.com/buhe/up
- Owner: buhe
- Created: 2022-02-10T03:37:09.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-03-15T06:15:20.000Z (almost 3 years ago)
- Last Synced: 2025-01-01T20:05:29.707Z (about 2 months ago)
- Topics: esp32, rust
- Language: Rust
- Homepage:
- Size: 694 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Up
### Hardware wire
Left is st7789,right is esp32.
- gnd-gnd
- vcc-3v3
- scl-gpio18
- sda-gpio19
- reset-gpio23
- ao-gpio16
- cs-gpio5
- bl-gpio4
### Compile
1. Install rust.2. Add Xtensa architecture support.
3. Get your mid.
brower visit : http://api.bilibili.com/x/space/myinfo get mid feild.
```
export SSID="You wifi name"
export PASS="You wifi password"
export MID="You bilibili mid"
cargo build --release
```
### Flash
#### Install toolchain
```
pip install esptool
```
#### Use it
```
esptool.py --chip esp32 elf2image target/xtensa-esp32-espidf/release/up
esptool.py --chip esp32 -p /dev/cu.usbserial-0001 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 40m --flash_size detect 0x10000 target/xtensa-esp32-espidf/release/up.bin
```
-p {set your dev port}
### View
