. $HOME/export-esp.sh
- Install all esp32 specific stuff link
- When running, export variables for
cc
linker which is used byrust-bitcoin
- export CC=xtensa-esp32-elf-gcc
- export AR=xtensa-esp32-elf-ar
Create a bash script that looks like the below to make setup easier:
. $HOME/export-esp.sh
export CC=xtensa-esp32-elf-gcc
export AR=xtensa-esp32-elf-ar
export SSID="wifi_name"
export PWD="wifi_password"
export PRIVKEY="a5084b35a58e3e1a26f5efb46cb9dbada73191526aa6d11bccb590cbeb2d8fa3"
export GEOHASH="geohash for install location"
cargo run --release