pikeyd165 – Diff between revs 1 and 2
?pathlinks?
Rev 1 | Rev 2 | |||
---|---|---|---|---|
1 | -=:[ About ]:=- |
1 | -=:[ About ]:=- |
|
2 | |
2 | |
|
3 | This is a fork of pikeyd[1] in order to get pi2jamma to work inside |
3 | This is a fork of pikeyd[1] in order to get pi2jamma to work inside |
|
4 | an arcade machine. The bcm2835 and the original source code for |
4 | an arcade machine. The bcm2835 and the original source code for |
|
5 | pikeyd165 is provided and ready to be compiled or cross-compiled to |
5 | pikeyd165 is provided and ready to be compiled or cross-compiled to |
|
6 | match the target architecture. The sources have been modified to |
6 | match the target architecture. The sources have been modified to |
|
7 | create a static binary such that the result has no dependencies. |
7 | create a static binary such that the result has no dependencies. |
|
8 | |
8 | |
|
9 | -=:[ Contents ]:=- |
9 | -=:[ Contents ]:=- |
|
10 | * bcm2835 library v1.71 @ https://www.airspayce.com/mikem/bcm2835/ |
10 | * bcm2835 library v1.71 @ https://www.airspayce.com/mikem/bcm2835/ |
|
11 | * pikeyd165 @ https://github.com/xovox/regamebox_pikeyd165 |
11 | * pikeyd165 @ https://github.com/xovox/regamebox_pikeyd165 |
|
12 | |
12 | |
|
13 | -=:[ Usage ]:=- |
13 | -=:[ Usage ]:=- |
|
14 | |
14 | |
|
15 | 1. Compile the bcm2835 library: |
15 | 1. Compile the bcm2835 library: |
|
16 | |
16 | |
|
17 | cd bcm2835 |
17 | cd bcm2835 |
|
18 | make clean |
18 | make clean |
|
19 | ./configure --target=aarch64-linux-gnu --host=aarch64-linux-gnu |
19 | ./configure --target=aarch64-linux-gnu --host=aarch64-linux-gnu |
|
20 | make |
20 | make |
|
21 | |
21 | |
|
22 | where "aarch64-linux-gnu" is the cross-compiler of choice. |
22 | where "aarch64-linux-gnu" is the cross-compiler of choice. |
|
- | 23 | |
||
- | 24 | 2. Edit the pikeyd165 "Makefile" to change the compiler to the |
||
- | 25 | desired cross-compiler: |
||
- | 26 | |
||
- | 27 | pikeyd165/Makefile: |
||
- | 28 | CC := aarch64-linux-gnu-gcc |
||
23 | |
29 | |
|
24 | 2. Compile pikeyd165: |
30 | and then compile pikeyd165: |
|
25 | |
31 | |
|
26 | cd pikeyd165 |
32 | cd pikeyd165 |
|
27 | make clean |
33 | make clean |
|
28 | make |
34 | make |
|
29 | |
35 | |
|
30 | 3. Copy pikeyd165 from the pikeyd165 directory to your pi2jamma |
36 | 3. Copy pikeyd165 from the pikeyd165 directory to your pi2jamma |
|
31 | arcade machine. |
37 | arcade machine. |
|
- | 38 | |
||
- | 39 | -=:[ Credits ]:=- |
||
- | 40 | |
||
- | 41 | All content is copyright to their corresponding authors. |
||
- | 42 | |
||
- | 43 | Wizardry and Steamworks assmebled the various parts needed to get |
||
- | 44 | pikeyd165 working on a modern build system and made a few |
||
- | 45 | modifications to the build system such as creating a static binary. |
||
32 | |
46 | |
|
33 | -=:[ References ]:=- |
47 | -=:[ References ]:=- |
|
34 | |
48 | |
|
35 | 1. https://github.com/mmoller2k/pikeyd |
49 | 1. https://github.com/mmoller2k/pikeyd |
|
36 | |
50 | |