summaryrefslogtreecommitdiff
path: root/apps/examples/elf
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-05-08 11:08:01 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-05-08 11:08:01 -0600
commit3b785276e679bc8be4cb3046d757fb6caa40927d (patch)
tree6daec662562b3453114111b9f596f576ee9e633e /apps/examples/elf
parent28c530634b32b793249bb66f0f08dd138d8de7bf (diff)
downloadnuttx-3b785276e679bc8be4cb3046d757fb6caa40927d.tar.gz
nuttx-3b785276e679bc8be4cb3046d757fb6caa40927d.tar.bz2
nuttx-3b785276e679bc8be4cb3046d757fb6caa40927d.zip
Add a ROMFS file system for testing the P-Code binary format
Diffstat (limited to 'apps/examples/elf')
-rw-r--r--apps/examples/elf/Kconfig3
-rw-r--r--apps/examples/elf/elf_main.c4
2 files changed, 2 insertions, 5 deletions
diff --git a/apps/examples/elf/Kconfig b/apps/examples/elf/Kconfig
index c62a98486..5346e14d5 100644
--- a/apps/examples/elf/Kconfig
+++ b/apps/examples/elf/Kconfig
@@ -10,6 +10,7 @@ config EXAMPLES_ELF
Enable the ELF loader example
if EXAMPLES_ELF
+
config EXAMPLES_ELF_DEVMINOR
int "ROMFS Minor Device Number"
default 0
@@ -19,7 +20,7 @@ config EXAMPLES_ELF_DEVMINOR
containing the ELF executables to be tested. Default: 0
config EXAMPLES_ELF_DEVPATH
- string "ROMFS Devie Path"
+ string "ROMFS Device Path"
default "/dev/ram0"
---help---
The path to the ROMFS block driver device. This must match EXAMPLES_ELF_DEVMINOR.
diff --git a/apps/examples/elf/elf_main.c b/apps/examples/elf/elf_main.c
index ce43c241f..e1bdb4aa5 100644
--- a/apps/examples/elf/elf_main.c
+++ b/apps/examples/elf/elf_main.c
@@ -86,10 +86,6 @@
# error "You must not disable mountpoints via CONFIG_DISABLE_MOUNTPOINT in your configuration file"
#endif
-#ifdef CONFIG_BINFMT_DISABLE
-# error "You must not disable loadable modules via CONFIG_BINFMT_DISABLE in your configuration file"
-#endif
-
/* Describe the ROMFS file system */
#define SECTORSIZE 512