-
Notifications
You must be signed in to change notification settings - Fork 48
/
README
55 lines (35 loc) · 1.45 KB
/
README
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
STM32Doom
This is a port of Chocolate Doom for the STM32F429IDISCOVERY evaluation board.
The board features the STM32F429 ARM Cortex-M4 microcontroller with 8 MB
external SD-RAM and a 320x240 pixel LCD panel with touchscreen controller.
You need to attach a USB memory stick (formatted as FAT32) to USB USER (micro
USB connector) using a USB-OTG cable. The USB stick must contain a /doom
directory with the file doom1.wad inside it. This file is the WAD file shipped
with the original Doom shareware released by id Software in 1993. doom.wad from
the retail version is too big and therefore not supported.
The port makes use of the STM32 standard peripherals library, STM32 USB library,
ChaN's FatFs library, ub's libraries for STM32F429 and of course Chocolate Doom.
Compilation
Using the GNU Tools for ARM Embedded Processors and 'make' just run:
# make
Controls
The screen is divided into several touch areas with the following functions:
Bottom left: strafe left
Bottom right: strafe right
Bottom center: back/menu down
Upper left: turn left
Upper right: turn right
Upper center: forward/menu up
Video
http://www.youtube.com/watch?v=bRNcfsDIc2A
Links
STM32F429 evaluation board
http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/PF259090
Chocolate Doom
https://github.com/chocolate-doom/chocolate-doom
FatFs
http://elm-chan.org/fsw/ff/00index_e.html
ub's STM32F429 Libraries
http://mikrocontroller.bplaced.net
GCC ARM
http://launchpad.net/gcc-arm-embedded