Startup code and minimal runtime for mik32 microcontrollers
Examples are found in the examples/
folder.
- Install
mik32-uploader
by following the instructions in the mik32-uploader README.md. - Install cargo-binutils (required for cargo objcopy) - see the official instructions
- Go to the examples/ directory
- Generate HEX file with
cargo-binutils
. For example:
cargo objcopy --release --bin blink -- -O ihex blink.hex
- Run the example
For example:
python mik32_upload.py blink.hex
It should work!