You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
632 B
28 lines
632 B
- hosts: all
|
|
tasks:
|
|
|
|
# https://rust-embedded.github.io/book/intro/install.html
|
|
|
|
- name: add rust target
|
|
command: rustup target add thumbv7em-none-eabihf
|
|
|
|
- name: install binutils
|
|
command: cargo install cargo-binutils
|
|
args:
|
|
creates: ~/.cargo/bin/cargo-size
|
|
|
|
- name: install llvm-tools-preview
|
|
command: rustup component add llvm-tools-preview
|
|
|
|
# https://rust-embedded.github.io/book/intro/install/macos.html
|
|
|
|
- name: install gcc-arm-embedded
|
|
homebrew:
|
|
name: armmbed/formulae/arm-none-eabi-gcc
|
|
|
|
- name: install openocd and qemu
|
|
homebrew:
|
|
name:
|
|
- openocd
|
|
- qemu
|