Chocolate Doom port to STM32F429 evaluation board
C Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin latest binaries Mar 22, 2015
img keys.img moved into images.c Mar 21, 2015
lib clocks fixed Mar 22, 2015
src only include stm32f4xx.h Mar 22, 2015
.gitignore initial commit Mar 21, 2015
Makefile stm32f4xx_misc.(c|h) renamed to misc.(c|h) Mar 22, 2015
README controls description added Sep 27, 2016
memory.ld initial commit Mar 21, 2015

README

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