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.
35 lines
898 B
35 lines
898 B
- hosts: all
|
|
tasks:
|
|
|
|
# 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
|
|
command: rustup target add thumbv7em-none-eabihf
|
|
|
|
# Is this really necessary?
|
|
- name: install llvm-tools-preview
|
|
command: rustup component add llvm-tools-preview
|
|
|
|
# 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
|
|
homebrew:
|
|
name: armmbed/formulae/arm-none-eabi-gcc
|
|
|
|
- name: install brew dependencies
|
|
homebrew:
|
|
name:
|
|
- gdb
|
|
- minicom
|
|
- openocd
|
|
- qemu
|