[ansible] update rust-embedded requirements

pull/28/head
Alpha Chen 5 years ago
parent 5a66beaba7
commit 167f94a74c

@ -1,27 +1,34 @@
- hosts: all - hosts: all
tasks: tasks:
# https://rust-embedded.github.io/book/intro/install.html # https://docs.rust-embedded.org/discovery/03-setup/index.html
- name: install cargo dependencies
command: cargo install {{ item.key }}
args:
creates: ~/.cargo/bin/{{ item.value }}
with_dict:
itm: itmdump
cargo-binutils: cargo-size
- name: add rust target - name: add rust target
command: rustup target add thumbv7em-none-eabihf command: rustup target add thumbv7em-none-eabihf
- name: install binutils # Is this really necessary?
command: cargo install cargo-binutils
args:
creates: ~/.cargo/bin/cargo-size
- name: install llvm-tools-preview - name: install llvm-tools-preview
command: rustup component add llvm-tools-preview command: rustup component add llvm-tools-preview
# https://rust-embedded.github.io/book/intro/install/macos.html # https://rust-embedded.github.io/book/intro/install/macos.html
# https://docs.rust-embedded.org/discovery/03-setup/macos.html
- name: install gcc-arm-embedded - name: install gcc-arm-embedded
homebrew: homebrew:
name: armmbed/formulae/arm-none-eabi-gcc name: armmbed/formulae/arm-none-eabi-gcc
- name: install openocd and qemu - name: install brew dependencies
homebrew: homebrew:
name: name:
- gdb
- minicom
- openocd - openocd
- qemu - qemu

Loading…
Cancel
Save