Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
I shell script for installing fbcp-ili9341 with square screen cropping
sudo apt-get install cmake
cd ~
#git clone https://github.com/juj/fbcp-ili9341.git # original repo
git clone https://github.com/badjano/fbcp-ili9341 # my modified repo for square screen cropping
cd fbcp-ili9341
mkdir build
cd build
cmake --clean-first -DSPI_BUS_CLOCK_DIVISOR=20 -DWAVESHARE_ST7735S_HAT=ON -DDMA_TX_CHANNEL=7 -DDMA_RX_CHANNEL=1 -DBACKLIGHT_CONTROL=OFF -DDISPLAY_BREAK_ASPECT_RATIO_WHEN_SCALING=ON -DSTATISTICS=0 ..
make -j
sudo install ./fbcp-ili9341 /usr/local/bin/fbcp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment