Skip to content

Instantly share code, notes, and snippets.

@frazei
Last active March 15, 2021 11:23
Show Gist options
  • Select an option

  • Save frazei/610e81fa34bc78e0fef53ccd23c57cd1 to your computer and use it in GitHub Desktop.

Select an option

Save frazei/610e81fa34bc78e0fef53ccd23c57cd1 to your computer and use it in GitHub Desktop.
Pocket C.H.I.P.

Appunti Pocket C.H.I.P.

Flash

Flash C.H.I.P and Pocketchip from MacOS via Chrome in 2019

http://chip.jfpossibilities.com/flash-chrome/

First boot

$ nmtui
  • Activate Connection
  • Wi-Fi (wlan0)
$ sudo sed -i 's/opensource.nextthing.co/chip.jfpossibilities.com/g' /etc/apt/sources.list
$ sudo apt-get update && sudo apt-get -y upgrade

SSH

$ sudo apt-get install openssh-server
$ ip addr show wlan0

Riconfigurare il fuso orario e locale

$ sudo dpkg-reconfigure tzdata
$ sudo apt-get install locales
$ sudo locale-gen it_IT.UTF-8
$ sudo dpkg-reconfigure locales

Touchscreen

$ sudo apt-get install xinput-calibrator
$ DISPLAY=:0 xinput_calibrator 

Viene modificato il file /usr/share/X11/xorg.conf.d/99-calibration.conf

originale: Option "Calibration" "3965 112 3776 227"

nuovo: Option "Calibration" "3952 141 3614 219"

pockethome

$ wget -O install-pockethome http://bit.ly/29zN90q
$ chmod +x ./install-pockethome
$ ./install-pockethome
$ sudo reboot

PICO8

$ wget www.lexaloffle.com/dl/chip/pico-8_0.2.2c_chip.zip
$ sudo unzip pico-8_0.2.2c_chip.zip -d /usr/lib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment