A cortex-m3 based embedded rust program that implements ed25519 key generation by calling iot sdk. The program can be run via qemu or downloaded directly to the stm32f103 development board.The program was compiled on an X86_64 Ubuntu 18.04.6 LTS system.
git clone [email protected]:machinefi/web3-iot-sdk.git
cd web3-iot-sdk
cmake -DGIT_SUBMODULE_UPDATE=ON -DBUILD_IOTEX_F=ON -DCRYPTO_IMPL="MbedTLS" -S ./ -B ./build-out
cmake --build build-out
cd no_std/app
cargo run --target thumbv7m-none-eabi --toollchian nightly-x86_64-unknown-linux-gnu
cd no_std/app
cargo objcopy --bin app --release --features "uart_print" -- -O binary app.bin --target thumbv7m-none-eabi --toollchian nightly-x86_64-unknown-linux-gnu