Skip to content

hicktech/gateman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gateman

Flow control

Setup

Cross compile

rustup target add armv7-unknown-linux-gnueabihf
sudo apt install gcc-arm-linux-gnueabihf

Add the following entry to the Cargo config toml

[target.armv7-unknown-linux-gnueabihf]
linker = "arm-linux-gnueabihf-gcc"

(this is now included in the repo)

https://doc.rust-lang.org/cargo/reference/config.html

Pi PWM

Boot config (/boot/config.txt) needs an entry to configure GPIO (BCM) 12 as PWM0

dtoverlay=pwm,pin=12,func=4

Build

cargo build --target=armv7-unknown-linux-gnueabihf

License

GPL v3

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages