-
Notifications
You must be signed in to change notification settings - Fork 1
/
Pi-XO.txt
executable file
·66 lines (56 loc) · 1.52 KB
/
Pi-XO.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Pi-XO, Rev 0.1 (PCB)
# ====================
# Keys:
# -----
# Pi-XO Fn Key (special funktion)
dtoverlay=gpio-key,gpio=2,keycode=29,label="KEY_LEFTCTRL",gpio_pull=2
# Pico 8 Key 'Pause/Menu'
dtoverlay=gpio-key,gpio=19,keycode=28,label="KEY_ENTER",gpio_pull=2
# Pico 8 Key 'Left' (0)
dtoverlay=gpio-key,gpio=26,keycode=105,label="KEY_LEFT",gpio_pull=2
# Pico 8 Key 'Right' (1)
dtoverlay=gpio-key,gpio=20,keycode=106,label="KEY_RIGHT",gpio_pull=2
# Pico 8 Key 'Up' (2)
dtoverlay=gpio-key,gpio=16,keycode=103,label="KEY_UP",gpio_pull=2
# Pico 8 Key 'Down' (3)
dtoverlay=gpio-key,gpio=21,keycode=108,label="KEY_DOWN",gpio_pull=2
# UART GPIOs used by keys
enable_uart=0
# Pico 8 Key 'O' (4)
dtoverlay=gpio-key,gpio=14,keycode=44,label="KEY_Z",gpio_pull=2
# Pico 8 Key 'X' (5)
dtoverlay=gpio-key,gpio=15,keycode=45,label="KEY_X",gpio_pull=2
# Audio:
# ------
dtparam=audio=on
# Mono out via GPIO 13, PWM1
dtoverlay=pwm,pin=13,func=4
# Video:
# ------
dtparam=spi=on
#Option 1: 320x240 Display right
#dtoverlay=ili9341-2-270
#include Video-320x240.txt
#Option 2: 160x128 Display right
#dtoverlay=st7735r-2-270
#include Video-160x128.txt
#Option 3: 160x128 Display left
dtoverlay=st7735r-2-90
include Video-160x128.txt
# GPIO:
# ------
# Activate pull-down resistor for GPIO0-GPIO7
dtoverlay=gpio0to7-pulldown
# Overclocking:
# -------------
# activate overclocking Raspberry Pi Zero (~3%)
[pi0]
arm_freq=1030
[all]
# Interface:
# ----------
#USB Ethernet Gadget
dtoverlay=dwc2
#WiFi/Blooethooth off
#dtoverlay=pi3-disable-wifi
dtoverlay=pi3-disable-bt