Skip to content

Pi Setup

Rick M edited this page Nov 28, 2023 · 3 revisions
  1. Install 64-bit PiOS lite (configure Wi-Fi and login, etc.)
  2. apt update && apt upgrade -y
  3. apt install swiftlang (https://github.com/futurejones/swift-arm64)
  4. apt install lldb-15 && python3-lldb-15 (this doesn't seem to fix the repl error about missing lldb modules)

Serial Ports

What a PITA. Why are there only two ports on most Pis, and they both use the same GPIOs? What’s the point?

Anyway, Pi 4 has a lot more.

https://raspberrypi.stackexchange.com/questions/104464/where-are-the-uarts-on-the-raspberry-pi-4

Pi CPU Temperature

$ vcgencmd measure_temp
temp=32.6'C  # GPU temp
$ cat /sys/class/thermal/thermal_zone0/temp
32128        # Divide by 1000 to get CPU temp

Clone this wiki locally