Skip to content
Snippets Groups Projects
Select Git revision
  • e5385e118657d6e82f63c48f4cfb5f3832dc1280
  • master default
2 results

timer.rs

Blame
  • Forked from Per Lindgren / stm32f4-hal
    Source project has a limited visibility.
    install.sh 343 B
    set -euxo pipefail
    
    main() {
        if [ $TARGET = thumbv7em-none-eabihf ]; then
            local vers=0.3.7
    
            cargo install --list | grep "xargo v$vers" || \
                ( cd .. && cargo install xargo -f --vers $vers )
    
            rustup component list | grep 'rust-src.*installed' || \
                rustup component add rust-src
        fi
    }
    
    main