Skip to content

Commit 485fee2

Browse files
committed
Merge pull request #2 from Gadgetoid/master
Updated instructions and makefile tweaks for Raspberry Pi
2 parents f3bc3e9 + 65d0a48 commit 485fee2

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

README.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,43 @@ make mac
113113

114114
The Qt version used must match the XCode version. The easiest solution is to use the latest version of xcode and Qt.
115115

116+
### Raspberry Pi - Raspbian Wheezy
117+
118+
You will need Qt5 to build PropellerIDE, it can be obtained from backports.
119+
120+
Edit /etc/apt/sources.list and add:
121+
122+
```
123+
deb http://twolife.be/raspbian/ wheezy main backports
124+
deb-src http://twolife.be/raspbian/ wheezy main backports
125+
```
126+
127+
And add the repository key:
128+
129+
```
130+
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key 2578B775
131+
```
132+
133+
Then update and install Qt and dependencies:
134+
135+
```
136+
sudo apt-get update
137+
sudo apt-get install qt5-default qt5-qmake libegl1-mesa libgles2-mesa
138+
```
139+
140+
Finally, build a deb file as you would on Linux:
141+
142+
```
143+
make checkout
144+
make deb
145+
```
146+
147+
And install:
148+
149+
```
150+
sudo dpkg -i staging/*armhf.deb
151+
```
152+
116153
## Credits
117154

118155
Developed by LameStation LLC (contact@lamestation.com) in collaboration with Parallax Inc.

makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ ifeq ($(shell uname -m),i686) # if i686
3333
CPU := i386
3434
else ifeq ($(shell uname -m),x86_64) # if x64
3535
CPU := amd64
36+
else ifeq ($(shell uname -m),armv6l) # if arm6l/raspberry pi
37+
CPU := armhf
3638
else
3739
CPU := $(shell uname -m)
3840
endif

0 commit comments

Comments
 (0)