boards/sim/sim/sim: Remove apps/grephics/traveler configuration
This commit is contained in:
parent
8214973f80
commit
f945edaf7a
@ -1102,46 +1102,6 @@ touchscreen
|
||||
See apps/examples/README.txt for further information about build
|
||||
requirements and configuration settings.
|
||||
|
||||
traveler
|
||||
|
||||
Configures to build the Traveler first person, 3-D ray casting game at
|
||||
apps/graphics/traveler. This configuration derives fromthe nx11
|
||||
configuration and many of the comments there appear here as well.
|
||||
This configuration defpends on X11 and, of course, can only be used in
|
||||
environments that support X11! (And it may not even be usable in all of
|
||||
those environments without some "tweaking").
|
||||
|
||||
1. Special Framebuffer Configuration
|
||||
|
||||
This configuration uses the same special simulated framebuffer
|
||||
configuration options as the nx configuration:
|
||||
|
||||
CONFIG_SIM_X11FB - Use X11 window for framebuffer
|
||||
CONFIG_SIM_FBHEIGHT - Height of the framebuffer in pixels
|
||||
CONFIG_SIM_FBWIDTH - Width of the framebuffer in pixels.
|
||||
CONFIG_SIM_FBBPP - Pixel depth in bits
|
||||
|
||||
2. X11 Configuration
|
||||
|
||||
But now, since CONFIG_SIM_X11FB is also selected the following
|
||||
definitions are needed
|
||||
|
||||
CONFIG_SIM_FBBPP (must match the resolution of the display).
|
||||
CONFIG_FB_CMAP=y
|
||||
|
||||
My system has 24-bit color, but packed into 32-bit words so
|
||||
the correct setting of CONFIG_SIM_FBBPP is 32.
|
||||
|
||||
3. X11 Build Issues
|
||||
|
||||
To get the system to compile under various X11 installations
|
||||
you may have to modify a few things. For example, in order
|
||||
to find libXext, I had to make the following change under
|
||||
Ubuntu 9.09:
|
||||
|
||||
cd /usr/lib/
|
||||
sudo ln -s libXext.so.6.4.0 libXext.so
|
||||
|
||||
udgram
|
||||
|
||||
This is the same as the nsh configuration except that it includes
|
||||
|
@ -1,41 +0,0 @@
|
||||
#
|
||||
# This file is autogenerated: PLEASE DO NOT EDIT IT.
|
||||
#
|
||||
# You can use "make menuconfig" to make any modifications to the installed .config file.
|
||||
# You can then do "make savedefconfig" to generate a new defconfig file that includes your
|
||||
# modifications.
|
||||
#
|
||||
CONFIG_AJOYSTICK=y
|
||||
CONFIG_ARCH="sim"
|
||||
CONFIG_ARCH_BOARD="sim"
|
||||
CONFIG_ARCH_BOARD_SIM=y
|
||||
CONFIG_ARCH_SIM=y
|
||||
CONFIG_ARCH_CHIP="sim"
|
||||
CONFIG_BOARD_LATE_INITIALIZE=y
|
||||
CONFIG_DEBUG_FULLOPT=y
|
||||
CONFIG_DEBUG_SYMBOLS=y
|
||||
CONFIG_DISABLE_ENVIRON=y
|
||||
CONFIG_DISABLE_POSIX_TIMERS=y
|
||||
CONFIG_DRIVERS_VIDEO=y
|
||||
CONFIG_FS_ROMFS=y
|
||||
CONFIG_GRAPHICS_TRAVELER=y
|
||||
CONFIG_GRAPHICS_TRAVELER_RGB32_888=y
|
||||
CONFIG_IDLETHREAD_STACKSIZE=4096
|
||||
CONFIG_INPUT=y
|
||||
CONFIG_LIBC_FLOATINGPOINT=y
|
||||
CONFIG_LIBM=y
|
||||
CONFIG_MAX_TASKS=16
|
||||
CONFIG_PTHREAD_STACK_DEFAULT=8192
|
||||
CONFIG_SDCLONE_DISABLE=y
|
||||
CONFIG_SIM_AJOYSTICK=y
|
||||
CONFIG_SIM_FBBPP=32
|
||||
CONFIG_SIM_FBHEIGHT=400
|
||||
CONFIG_SIM_FBWIDTH=640
|
||||
CONFIG_SIM_FRAMEBUFFER=y
|
||||
CONFIG_SIM_X11FB=y
|
||||
CONFIG_START_DAY=28
|
||||
CONFIG_START_MONTH=11
|
||||
CONFIG_START_YEAR=2008
|
||||
CONFIG_USERMAIN_STACKSIZE=16384
|
||||
CONFIG_USER_ENTRYPOINT="traveler_main"
|
||||
CONFIG_VIDEO_FB=y
|
@ -59,10 +59,6 @@
|
||||
#include "up_internal.h"
|
||||
#include "sim.h"
|
||||
|
||||
#ifdef CONFIG_GRAPHICS_TRAVELER_ROMFSDEMO
|
||||
int trv_mount_world(int minor, FAR const char *mountpoint);
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
****************************************************************************/
|
||||
@ -135,12 +131,6 @@ int sim_bringup(void)
|
||||
(void)sim_zoneinfo(3);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_GRAPHICS_TRAVELER_ROMFSDEMO
|
||||
/* Special initialization for the Traveler game simulation */
|
||||
|
||||
(void)trv_mount_world(0, CONFIG_GRAPHICS_TRAVELER_DEFPATH);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_EXAMPLES_GPIO
|
||||
/* Initialize simulated GPIO drivers */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user