From c9e6a573bbf7abbb72041bea2784a0b92bb998c9 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 20 Mar 2011 18:18:19 +0000 Subject: [PATCH] Move nuttx/examples to apps/examples git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3405 42af7a65-404d-4744-a932-0658087f49c3 --- ChangeLog | 1 + Documentation/NXGraphicsSubsystem.html | 22 +- Documentation/NuttX.html | 24 +- Documentation/NuttXNxFlat.html | 6 +- Documentation/NuttxPortingGuide.html | 174 ++-- Documentation/README.html | 6 +- Documentation/UsbTrace.html | 4 +- Makefile | 32 +- TODO | 55 +- configs/avr32dev1/nsh/appconfig | 79 +- configs/avr32dev1/nsh/defconfig | 2 +- .../avr32dev1/ostest/appconfig | 31 +- configs/avr32dev1/ostest/defconfig | 2 +- configs/c5471evm/httpd/appconfig | 87 +- configs/c5471evm/httpd/defconfig | 2 +- configs/c5471evm/nettest/appconfig | 81 +- configs/c5471evm/nettest/defconfig | 2 +- configs/c5471evm/nsh/appconfig | 102 +- configs/c5471evm/nsh/defconfig | 2 +- .../c5471evm/ostest/appconfig | 42 +- configs/c5471evm/ostest/defconfig | 2 +- .../demo9s12ne64/ostest/appconfig | 42 +- configs/demo9s12ne64/ostest/defconfig | 2 +- configs/detron/hidkbd/appconfig | 39 + configs/detron/hidkbd/defconfig | 2 +- configs/detron/nsh/appconfig | 102 +- configs/detron/nsh/defconfig | 2 +- configs/detron/ostest/appconfig | 39 + configs/detron/ostest/defconfig | 2 +- configs/detron/wlan/appconfig | 39 + configs/detron/wlan/defconfig | 2 +- configs/ea3131/nsh/appconfig | 79 +- configs/ea3131/nsh/defconfig | 2 +- configs/ea3131/ostest/appconfig | 39 + configs/ea3131/ostest/defconfig | 2 +- .../ea3131/pgnsh/appconfig | 19 +- configs/ea3131/pgnsh/defconfig | 2 +- configs/ea3131/usbserial/appconfig | 39 + configs/ea3131/usbserial/defconfig | 2 +- configs/ea3131/usbstorage/appconfig | 39 + configs/ea3131/usbstorage/defconfig | 2 +- configs/eagle100/httpd/appconfig | 87 +- configs/eagle100/httpd/defconfig | 2 +- configs/eagle100/nettest/appconfig | 81 +- configs/eagle100/nettest/defconfig | 2 +- configs/eagle100/nsh/appconfig | 79 +- configs/eagle100/nsh/defconfig | 2 +- configs/eagle100/nxflat/appconfig | 39 + configs/eagle100/nxflat/defconfig | 2 +- configs/eagle100/ostest/appconfig | 39 + configs/eagle100/ostest/defconfig | 2 +- configs/eagle100/thttpd/appconfig | 83 +- configs/eagle100/thttpd/defconfig | 2 +- configs/ez80f910200kitg/ostest/appconfig | 39 + configs/ez80f910200kitg/ostest/defconfig | 2 +- configs/ez80f910200zco/dhcpd/appconfig | 83 +- configs/ez80f910200zco/dhcpd/defconfig | 2 +- configs/ez80f910200zco/httpd/appconfig | 89 +- configs/ez80f910200zco/httpd/defconfig | 2 +- configs/ez80f910200zco/nettest/appconfig | 81 +- configs/ez80f910200zco/nettest/defconfig | 2 +- configs/ez80f910200zco/nsh/appconfig | 102 +- configs/ez80f910200zco/nsh/defconfig | 2 +- configs/ez80f910200zco/ostest/appconfig | 39 + configs/ez80f910200zco/ostest/defconfig | 2 +- configs/ez80f910200zco/poll/appconfig | 81 +- configs/ez80f910200zco/poll/defconfig | 2 +- configs/lm3s6965-ek/nsh/appconfig | 102 +- configs/lm3s6965-ek/nsh/defconfig | 2 +- configs/lm3s6965-ek/nx/appconfig | 39 + configs/lm3s6965-ek/nx/defconfig | 2 +- configs/lm3s6965-ek/ostest/appconfig | 39 + configs/lm3s6965-ek/ostest/defconfig | 2 +- configs/lm3s8962-ek/nsh/appconfig | 102 +- configs/lm3s8962-ek/nsh/defconfig | 2 +- configs/lm3s8962-ek/nx/appconfig | 39 + configs/lm3s8962-ek/nx/defconfig | 2 +- configs/lm3s8962-ek/ostest/appconfig | 39 + configs/lm3s8962-ek/ostest/defconfig | 2 +- configs/m68332evb/appconfig | 39 + configs/m68332evb/defconfig | 2 +- configs/mbed/hidkbd/appconfig | 39 + configs/mbed/hidkbd/defconfig | 2 +- configs/mbed/nsh/appconfig | 79 +- configs/mbed/nsh/defconfig | 2 +- configs/mcu123-lpc214x/nsh/appconfig | 79 +- configs/mcu123-lpc214x/nsh/defconfig | 2 +- configs/mcu123-lpc214x/ostest/appconfig | 39 + configs/mcu123-lpc214x/ostest/defconfig | 2 +- configs/mcu123-lpc214x/usbserial/appconfig | 39 + configs/mcu123-lpc214x/usbserial/defconfig | 2 +- configs/mcu123-lpc214x/usbstorage/appconfig | 39 + configs/mcu123-lpc214x/usbstorage/defconfig | 2 +- configs/mx1ads/ostest/appconfig | 39 + configs/mx1ads/ostest/defconfig | 2 +- configs/ne64badge/ostest/appconfig | 39 + configs/ne64badge/ostest/defconfig | 2 +- configs/ntosd-dm320/nettest/appconfig | 81 +- configs/ntosd-dm320/nettest/defconfig | 2 +- configs/ntosd-dm320/nsh/appconfig | 102 +- configs/ntosd-dm320/nsh/defconfig | 2 +- configs/ntosd-dm320/ostest/appconfig | 39 + configs/ntosd-dm320/ostest/defconfig | 2 +- configs/ntosd-dm320/poll/appconfig | 81 +- configs/ntosd-dm320/poll/defconfig | 2 +- configs/ntosd-dm320/thttpd/appconfig | 83 +- configs/ntosd-dm320/thttpd/defconfig | 2 +- configs/ntosd-dm320/udp/appconfig | 81 +- configs/ntosd-dm320/udp/defconfig | 2 +- configs/ntosd-dm320/uip/appconfig | 87 +- configs/ntosd-dm320/uip/defconfig | 2 +- configs/nucleus2g/nsh/appconfig | 79 +- configs/nucleus2g/nsh/defconfig | 2 +- configs/nucleus2g/ostest/appconfig | 39 + configs/nucleus2g/ostest/defconfig | 2 +- configs/nucleus2g/usbserial/appconfig | 39 + configs/nucleus2g/usbserial/defconfig | 2 +- configs/nucleus2g/usbstorage/appconfig | 39 + configs/nucleus2g/usbstorage/defconfig | 2 +- configs/olimex-lpc1766stk/hidkbd/appconfig | 39 + configs/olimex-lpc1766stk/hidkbd/defconfig | 2 +- configs/olimex-lpc1766stk/nettest/appconfig | 81 +- configs/olimex-lpc1766stk/nettest/defconfig | 2 +- configs/olimex-lpc1766stk/nsh/appconfig | 102 +- configs/olimex-lpc1766stk/nsh/defconfig | 2 +- configs/olimex-lpc1766stk/nx/appconfig | 39 + configs/olimex-lpc1766stk/nx/defconfig | 2 +- configs/olimex-lpc1766stk/ostest/appconfig | 39 + configs/olimex-lpc1766stk/ostest/defconfig | 2 +- .../olimex-lpc1766stk/slip-httpd/appconfig | 83 +- .../olimex-lpc1766stk/slip-httpd/defconfig | 2 +- configs/olimex-lpc1766stk/thttpd/appconfig | 83 +- configs/olimex-lpc1766stk/thttpd/defconfig | 2 +- configs/olimex-lpc1766stk/usbserial/appconfig | 39 + configs/olimex-lpc1766stk/usbserial/defconfig | 2 +- .../olimex-lpc1766stk/usbstorage/appconfig | 39 + .../olimex-lpc1766stk/usbstorage/defconfig | 2 +- configs/olimex-lpc1766stk/wlan/appconfig | 39 + configs/olimex-lpc1766stk/wlan/defconfig | 2 +- configs/olimex-lpc2378/nsh/appconfig | 79 +- configs/olimex-lpc2378/nsh/defconfig | 2 +- configs/olimex-lpc2378/ostest/appconfig | 39 + configs/olimex-lpc2378/ostest/defconfig | 2 +- configs/olimex-strp711/nettest/appconfig | 81 +- configs/olimex-strp711/nettest/defconfig | 2 +- configs/olimex-strp711/nsh/appconfig | 79 +- configs/olimex-strp711/nsh/defconfig | 2 +- configs/olimex-strp711/ostest/appconfig | 39 + configs/olimex-strp711/ostest/defconfig | 2 +- configs/pjrc-8051/appconfig | 39 + configs/pjrc-8051/defconfig | 2 +- configs/qemu-i486/nsh/appconfig | 79 +- configs/qemu-i486/nsh/defconfig | 2 +- configs/qemu-i486/ostest/appconfig | 39 + configs/qemu-i486/ostest/defconfig | 2 +- configs/sam3u-ek/nsh/appconfig | 79 +- configs/sam3u-ek/nsh/defconfig | 2 +- configs/sam3u-ek/nx/appconfig | 39 + configs/sam3u-ek/nx/defconfig | 2 +- configs/sam3u-ek/ostest/appconfig | 39 + configs/sam3u-ek/ostest/defconfig | 2 +- configs/sim/mount/appconfig | 39 + configs/sim/mount/defconfig | 2 +- configs/sim/nettest/appconfig | 81 +- configs/sim/nettest/defconfig | 2 +- configs/sim/nsh/appconfig | 79 +- configs/sim/nsh/defconfig | 2 +- configs/sim/nx/appconfig | 39 + configs/sim/nx/defconfig | 2 +- configs/sim/ostest/appconfig | 39 + configs/sim/ostest/defconfig | 2 +- configs/sim/pashello/appconfig | 39 + configs/sim/pashello/defconfig | 2 +- configs/skp16c26/ostest/appconfig | 39 + configs/skp16c26/ostest/defconfig | 2 +- configs/stm3210e-eval/RIDE/appconfig | 39 + configs/stm3210e-eval/RIDE/defconfig | 2 +- configs/stm3210e-eval/nsh/appconfig | 77 +- configs/stm3210e-eval/nsh/defconfig | 2 +- configs/stm3210e-eval/ostest/appconfig | 39 + configs/stm3210e-eval/ostest/defconfig | 2 +- configs/stm3210e-eval/usbserial/appconfig | 39 + configs/stm3210e-eval/usbserial/defconfig | 2 +- configs/stm3210e-eval/usbstorage/appconfig | 39 + configs/stm3210e-eval/usbstorage/defconfig | 2 +- configs/us7032evb1/nsh/appconfig | 79 +- configs/us7032evb1/nsh/defconfig | 2 +- configs/us7032evb1/ostest/appconfig | 39 + configs/us7032evb1/ostest/defconfig | 2 +- configs/vsn/nsh/appconfig | 21 +- configs/vsn/nsh/defconfig | 2 +- configs/xtrs/nsh/appconfig | 79 +- configs/xtrs/nsh/defconfig | 2 +- configs/xtrs/ostest/appconfig | 39 + configs/xtrs/ostest/defconfig | 2 +- configs/xtrs/pashello/appconfig | 39 + configs/xtrs/pashello/defconfig | 2 +- configs/z16f2800100zcog/ostest/appconfig | 39 + configs/z16f2800100zcog/ostest/defconfig | 2 +- configs/z16f2800100zcog/pashello/appconfig | 39 + configs/z16f2800100zcog/pashello/defconfig | 2 +- configs/z80sim/nsh/appconfig | 79 +- configs/z80sim/nsh/defconfig | 2 +- configs/z80sim/ostest/appconfig | 39 + configs/z80sim/ostest/defconfig | 2 +- configs/z80sim/pashello/appconfig | 39 + configs/z80sim/pashello/defconfig | 2 +- configs/z8encore000zco/ostest/appconfig | 39 + configs/z8encore000zco/ostest/defconfig | 2 +- configs/z8f64200100kit/ostest/appconfig | 39 + configs/z8f64200100kit/ostest/defconfig | 2 +- examples/README.txt | 636 ------------- examples/dhcpd/Makefile | 76 -- examples/dhcpd/host.c | 58 -- examples/dhcpd/target.c | 143 --- examples/hello/Makefile | 75 -- examples/hello/main.c | 77 -- examples/helloxx/Makefile | 93 -- examples/helloxx/main.cxx | 128 --- examples/hidkbd/hidkbd_main.c | 239 ----- examples/igmp/Makefile | 76 -- examples/igmp/igmp.c | 155 --- examples/igmp/igmp.h | 61 -- examples/mm/mm_main.c | 308 ------ examples/mount/Makefile | 75 -- examples/mount/mount.h | 96 -- examples/mount/mount_main.c | 762 --------------- examples/mount/ramdisk.c | 141 --- examples/nettest/Makefile | 106 --- examples/nettest/host.c | 63 -- examples/nettest/nettest.c | 122 --- examples/nettest/nettest.h | 95 -- examples/nettest/nettest_client.c | 204 ---- examples/nettest/nettest_server.c | 234 ----- examples/nsh/Makefile | 76 -- examples/nsh/nsh_main.c | 157 --- examples/null/Makefile | 75 -- examples/null/null_main.c | 75 -- examples/nx/Makefile | 82 -- examples/nx/nx_events.c | 337 ------- examples/nx/nx_internal.h | 306 ------ examples/nx/nx_kbdin.c | 467 --------- examples/nx/nx_main.c | 894 ------------------ examples/nx/nx_server.c | 152 --- examples/nxflat/Makefile | 77 -- examples/nxflat/nxflat_main.c | 232 ----- examples/nxflat/tests/Makefile | 103 -- examples/nxflat/tests/errno/Makefile | 78 -- examples/nxflat/tests/errno/errno.c | 83 -- examples/nxflat/tests/hello++/Makefile | 180 ---- examples/nxflat/tests/hello++/hello++1.cpp | 60 -- examples/nxflat/tests/hello++/hello++2.cpp | 123 --- examples/nxflat/tests/hello++/hello++3.cpp | 132 --- examples/nxflat/tests/hello++/hello++4.cpp | 150 --- examples/nxflat/tests/hello/Makefile | 78 -- examples/nxflat/tests/hello/hello.c | 78 -- examples/nxflat/tests/longjmp/Makefile | 78 -- examples/nxflat/tests/longjmp/longjmp.c | 128 --- examples/nxflat/tests/mkdirlist.sh | 35 - examples/nxflat/tests/mksymtab.sh | 39 - examples/nxflat/tests/mutex/Makefile | 78 -- examples/nxflat/tests/mutex/mutex.c | 149 --- examples/nxflat/tests/pthread/Makefile | 78 -- examples/nxflat/tests/pthread/pthread.c | 143 --- examples/nxflat/tests/signal/Makefile | 78 -- examples/nxflat/tests/signal/signal.c | 308 ------ examples/nxflat/tests/struct/Makefile | 80 -- examples/nxflat/tests/struct/struct.h | 89 -- examples/nxflat/tests/struct/struct_dummy.c | 65 -- examples/nxflat/tests/struct/struct_main.c | 109 --- examples/nxflat/tests/task/Makefile | 79 -- examples/nxflat/tests/task/task.c | 143 --- examples/ostest/Makefile | 116 --- examples/ostest/barrier.c | 200 ---- examples/ostest/cancel.c | 333 ------- examples/ostest/cond.c | 294 ------ examples/ostest/dev_null.c | 92 -- examples/ostest/main.c | 523 ---------- examples/ostest/mqueue.c | 394 -------- examples/ostest/mutex.c | 142 --- examples/ostest/ostest.h | 162 ---- examples/ostest/posixtimer.c | 268 ------ examples/ostest/prioinherit.c | 541 ----------- examples/ostest/rmutex.c | 166 ---- examples/ostest/roundrobin.c | 232 ----- examples/ostest/sem.c | 246 ----- examples/ostest/sighand.c | 279 ------ examples/ostest/timedmqueue.c | 393 -------- examples/ostest/timedwait.c | 201 ---- examples/pashello/Makefile | 82 -- examples/pashello/README.txt | 34 - examples/pashello/device.c | 110 --- examples/pashello/hello.h | 23 - examples/pashello/hello.pas | 5 - examples/pashello/hello.pex | Bin 232 -> 0 bytes examples/pashello/mkhello.sh | 141 --- examples/pashello/pashello.c | 143 --- examples/pashello/pashello.h | 55 -- examples/pipe/Makefile | 75 -- examples/pipe/interlock_test.c | 224 ----- examples/pipe/pipe.h | 74 -- examples/pipe/pipe_main.c | 197 ---- examples/pipe/redirect_test.c | 326 ------- examples/pipe/transfer_test.c | 242 ----- examples/poll/Makefile | 75 -- examples/poll/host.c | 166 ---- examples/poll/net_listener.c | 428 --------- examples/poll/net_reader.c | 317 ------- examples/poll/poll_internal.h | 128 --- examples/poll/poll_listener.c | 262 ----- examples/poll/poll_main.c | 229 ----- examples/poll/select_listener.c | 193 ---- examples/romfs/Makefile | 95 -- examples/romfs/romfs_main.c | 506 ---------- examples/romfs/romfs_testdir.h | 89 -- examples/romfs/testdir.tar.gz | Bin 387 -> 0 bytes examples/romfs/testdir.txt | 105 -- examples/sendmail/Makefile | 76 -- examples/sendmail/Makefile.host | 77 -- examples/sendmail/host.c | 103 -- examples/sendmail/hostdefs.h | 69 -- examples/sendmail/target.c | 169 ---- examples/serloop/Makefile | 75 -- examples/serloop/main.c | 113 --- examples/thttpd/Makefile | 80 -- examples/thttpd/content/Makefile | 104 -- examples/thttpd/content/hello/Makefile | 78 -- examples/thttpd/content/hello/hello.c | 79 -- examples/thttpd/content/index.html | 30 - examples/thttpd/content/mksymtab.sh | 39 - examples/thttpd/content/netstat/Makefile | 78 -- examples/thttpd/content/netstat/netstat.c | 134 --- examples/thttpd/content/style.css | 80 -- examples/thttpd/content/tasks/Makefile | 78 -- examples/thttpd/content/tasks/tasks.c | 168 ---- examples/thttpd/main.c | 280 ------ examples/udp/Makefile | 104 -- examples/udp/host.c | 63 -- examples/udp/target.c | 104 -- examples/udp/udp-client.c | 133 --- examples/udp/udp-internal.h | 90 -- examples/udp/udp-server.c | 173 ---- examples/uip/Makefile | 75 -- examples/uip/main.c | 220 ----- examples/usbserial/Makefile | 75 -- examples/usbserial/Makefile.host | 63 -- examples/usbserial/host.c | 293 ------ examples/usbserial/main.c | 466 --------- examples/usbstorage/Makefile | 76 -- examples/usbstorage/usbstrg.h | 119 --- examples/usbstorage/usbstrg_main.c | 404 -------- examples/wget/Makefile | 76 -- examples/wget/Makefile.host | 77 -- examples/wget/host.c | 100 -- examples/wget/hostdefs.h | 69 -- examples/wget/target.c | 162 ---- examples/wlan/Makefile | 76 -- examples/wlan/wlan_main.c | 240 ----- tools/configure.sh | 2 +- 359 files changed, 4302 insertions(+), 25769 deletions(-) rename examples/dhcpd/Makefile.host => configs/avr32dev1/ostest/appconfig (73%) rename examples/mm/Makefile => configs/c5471evm/ostest/appconfig (72%) rename examples/hidkbd/Makefile => configs/demo9s12ne64/ostest/appconfig (72%) create mode 100644 configs/detron/hidkbd/appconfig create mode 100644 configs/detron/ostest/appconfig create mode 100644 configs/detron/wlan/appconfig create mode 100644 configs/ea3131/ostest/appconfig rename examples/poll/Makefile.host => configs/ea3131/pgnsh/appconfig (83%) create mode 100644 configs/ea3131/usbserial/appconfig create mode 100644 configs/ea3131/usbstorage/appconfig create mode 100644 configs/eagle100/nxflat/appconfig create mode 100644 configs/eagle100/ostest/appconfig create mode 100644 configs/ez80f910200kitg/ostest/appconfig create mode 100644 configs/ez80f910200zco/ostest/appconfig create mode 100644 configs/lm3s6965-ek/nx/appconfig create mode 100644 configs/lm3s6965-ek/ostest/appconfig create mode 100644 configs/lm3s8962-ek/nx/appconfig create mode 100644 configs/lm3s8962-ek/ostest/appconfig create mode 100644 configs/m68332evb/appconfig create mode 100644 configs/mbed/hidkbd/appconfig create mode 100644 configs/mcu123-lpc214x/ostest/appconfig create mode 100644 configs/mcu123-lpc214x/usbserial/appconfig create mode 100644 configs/mcu123-lpc214x/usbstorage/appconfig create mode 100644 configs/mx1ads/ostest/appconfig create mode 100644 configs/ne64badge/ostest/appconfig create mode 100644 configs/ntosd-dm320/ostest/appconfig create mode 100644 configs/nucleus2g/ostest/appconfig create mode 100644 configs/nucleus2g/usbserial/appconfig create mode 100644 configs/nucleus2g/usbstorage/appconfig create mode 100644 configs/olimex-lpc1766stk/hidkbd/appconfig create mode 100644 configs/olimex-lpc1766stk/nx/appconfig create mode 100644 configs/olimex-lpc1766stk/ostest/appconfig create mode 100644 configs/olimex-lpc1766stk/usbserial/appconfig create mode 100644 configs/olimex-lpc1766stk/usbstorage/appconfig create mode 100644 configs/olimex-lpc1766stk/wlan/appconfig create mode 100644 configs/olimex-lpc2378/ostest/appconfig create mode 100644 configs/olimex-strp711/ostest/appconfig create mode 100644 configs/pjrc-8051/appconfig create mode 100644 configs/qemu-i486/ostest/appconfig create mode 100644 configs/sam3u-ek/nx/appconfig create mode 100644 configs/sam3u-ek/ostest/appconfig create mode 100644 configs/sim/mount/appconfig create mode 100644 configs/sim/nx/appconfig create mode 100644 configs/sim/ostest/appconfig create mode 100644 configs/sim/pashello/appconfig create mode 100644 configs/skp16c26/ostest/appconfig create mode 100644 configs/stm3210e-eval/RIDE/appconfig create mode 100644 configs/stm3210e-eval/ostest/appconfig create mode 100644 configs/stm3210e-eval/usbserial/appconfig create mode 100644 configs/stm3210e-eval/usbstorage/appconfig create mode 100644 configs/us7032evb1/ostest/appconfig create mode 100644 configs/xtrs/ostest/appconfig create mode 100644 configs/xtrs/pashello/appconfig create mode 100644 configs/z16f2800100zcog/ostest/appconfig create mode 100644 configs/z16f2800100zcog/pashello/appconfig create mode 100644 configs/z80sim/ostest/appconfig create mode 100644 configs/z80sim/pashello/appconfig create mode 100644 configs/z8encore000zco/ostest/appconfig create mode 100644 configs/z8f64200100kit/ostest/appconfig delete mode 100644 examples/README.txt delete mode 100644 examples/dhcpd/Makefile delete mode 100644 examples/dhcpd/host.c delete mode 100644 examples/dhcpd/target.c delete mode 100644 examples/hello/Makefile delete mode 100644 examples/hello/main.c delete mode 100755 examples/helloxx/Makefile delete mode 100755 examples/helloxx/main.cxx delete mode 100644 examples/hidkbd/hidkbd_main.c delete mode 100755 examples/igmp/Makefile delete mode 100755 examples/igmp/igmp.c delete mode 100755 examples/igmp/igmp.h delete mode 100644 examples/mm/mm_main.c delete mode 100644 examples/mount/Makefile delete mode 100644 examples/mount/mount.h delete mode 100644 examples/mount/mount_main.c delete mode 100644 examples/mount/ramdisk.c delete mode 100644 examples/nettest/Makefile delete mode 100644 examples/nettest/host.c delete mode 100644 examples/nettest/nettest.c delete mode 100644 examples/nettest/nettest.h delete mode 100644 examples/nettest/nettest_client.c delete mode 100644 examples/nettest/nettest_server.c delete mode 100644 examples/nsh/Makefile delete mode 100644 examples/nsh/nsh_main.c delete mode 100644 examples/null/Makefile delete mode 100644 examples/null/null_main.c delete mode 100644 examples/nx/Makefile delete mode 100644 examples/nx/nx_events.c delete mode 100644 examples/nx/nx_internal.h delete mode 100644 examples/nx/nx_kbdin.c delete mode 100644 examples/nx/nx_main.c delete mode 100644 examples/nx/nx_server.c delete mode 100644 examples/nxflat/Makefile delete mode 100644 examples/nxflat/nxflat_main.c delete mode 100644 examples/nxflat/tests/Makefile delete mode 100644 examples/nxflat/tests/errno/Makefile delete mode 100644 examples/nxflat/tests/errno/errno.c delete mode 100644 examples/nxflat/tests/hello++/Makefile delete mode 100644 examples/nxflat/tests/hello++/hello++1.cpp delete mode 100644 examples/nxflat/tests/hello++/hello++2.cpp delete mode 100644 examples/nxflat/tests/hello++/hello++3.cpp delete mode 100644 examples/nxflat/tests/hello++/hello++4.cpp delete mode 100644 examples/nxflat/tests/hello/Makefile delete mode 100644 examples/nxflat/tests/hello/hello.c delete mode 100644 examples/nxflat/tests/longjmp/Makefile delete mode 100644 examples/nxflat/tests/longjmp/longjmp.c delete mode 100755 examples/nxflat/tests/mkdirlist.sh delete mode 100755 examples/nxflat/tests/mksymtab.sh delete mode 100644 examples/nxflat/tests/mutex/Makefile delete mode 100644 examples/nxflat/tests/mutex/mutex.c delete mode 100644 examples/nxflat/tests/pthread/Makefile delete mode 100644 examples/nxflat/tests/pthread/pthread.c delete mode 100644 examples/nxflat/tests/signal/Makefile delete mode 100644 examples/nxflat/tests/signal/signal.c delete mode 100644 examples/nxflat/tests/struct/Makefile delete mode 100644 examples/nxflat/tests/struct/struct.h delete mode 100644 examples/nxflat/tests/struct/struct_dummy.c delete mode 100644 examples/nxflat/tests/struct/struct_main.c delete mode 100644 examples/nxflat/tests/task/Makefile delete mode 100644 examples/nxflat/tests/task/task.c delete mode 100644 examples/ostest/Makefile delete mode 100644 examples/ostest/barrier.c delete mode 100644 examples/ostest/cancel.c delete mode 100644 examples/ostest/cond.c delete mode 100644 examples/ostest/dev_null.c delete mode 100644 examples/ostest/main.c delete mode 100644 examples/ostest/mqueue.c delete mode 100644 examples/ostest/mutex.c delete mode 100644 examples/ostest/ostest.h delete mode 100644 examples/ostest/posixtimer.c delete mode 100644 examples/ostest/prioinherit.c delete mode 100644 examples/ostest/rmutex.c delete mode 100644 examples/ostest/roundrobin.c delete mode 100644 examples/ostest/sem.c delete mode 100644 examples/ostest/sighand.c delete mode 100644 examples/ostest/timedmqueue.c delete mode 100644 examples/ostest/timedwait.c delete mode 100644 examples/pashello/Makefile delete mode 100644 examples/pashello/README.txt delete mode 100644 examples/pashello/device.c delete mode 100644 examples/pashello/hello.h delete mode 100644 examples/pashello/hello.pas delete mode 100644 examples/pashello/hello.pex delete mode 100755 examples/pashello/mkhello.sh delete mode 100644 examples/pashello/pashello.c delete mode 100644 examples/pashello/pashello.h delete mode 100644 examples/pipe/Makefile delete mode 100644 examples/pipe/interlock_test.c delete mode 100644 examples/pipe/pipe.h delete mode 100644 examples/pipe/pipe_main.c delete mode 100644 examples/pipe/redirect_test.c delete mode 100644 examples/pipe/transfer_test.c delete mode 100644 examples/poll/Makefile delete mode 100644 examples/poll/host.c delete mode 100644 examples/poll/net_listener.c delete mode 100644 examples/poll/net_reader.c delete mode 100644 examples/poll/poll_internal.h delete mode 100644 examples/poll/poll_listener.c delete mode 100644 examples/poll/poll_main.c delete mode 100644 examples/poll/select_listener.c delete mode 100644 examples/romfs/Makefile delete mode 100644 examples/romfs/romfs_main.c delete mode 100644 examples/romfs/romfs_testdir.h delete mode 100644 examples/romfs/testdir.tar.gz delete mode 100644 examples/romfs/testdir.txt delete mode 100644 examples/sendmail/Makefile delete mode 100644 examples/sendmail/Makefile.host delete mode 100644 examples/sendmail/host.c delete mode 100755 examples/sendmail/hostdefs.h delete mode 100644 examples/sendmail/target.c delete mode 100644 examples/serloop/Makefile delete mode 100644 examples/serloop/main.c delete mode 100644 examples/thttpd/Makefile delete mode 100644 examples/thttpd/content/Makefile delete mode 100644 examples/thttpd/content/hello/Makefile delete mode 100644 examples/thttpd/content/hello/hello.c delete mode 100644 examples/thttpd/content/index.html delete mode 100755 examples/thttpd/content/mksymtab.sh delete mode 100644 examples/thttpd/content/netstat/Makefile delete mode 100755 examples/thttpd/content/netstat/netstat.c delete mode 100644 examples/thttpd/content/style.css delete mode 100755 examples/thttpd/content/tasks/Makefile delete mode 100755 examples/thttpd/content/tasks/tasks.c delete mode 100644 examples/thttpd/main.c delete mode 100644 examples/udp/Makefile delete mode 100644 examples/udp/host.c delete mode 100644 examples/udp/target.c delete mode 100644 examples/udp/udp-client.c delete mode 100644 examples/udp/udp-internal.h delete mode 100644 examples/udp/udp-server.c delete mode 100644 examples/uip/Makefile delete mode 100644 examples/uip/main.c delete mode 100644 examples/usbserial/Makefile delete mode 100644 examples/usbserial/Makefile.host delete mode 100644 examples/usbserial/host.c delete mode 100644 examples/usbserial/main.c delete mode 100644 examples/usbstorage/Makefile delete mode 100644 examples/usbstorage/usbstrg.h delete mode 100644 examples/usbstorage/usbstrg_main.c delete mode 100644 examples/wget/Makefile delete mode 100644 examples/wget/Makefile.host delete mode 100644 examples/wget/host.c delete mode 100755 examples/wget/hostdefs.h delete mode 100644 examples/wget/target.c delete mode 100755 examples/wlan/Makefile delete mode 100755 examples/wlan/wlan_main.c diff --git a/ChangeLog b/ChangeLog index 1904cf0f0d..5bec7c5ad7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1600,5 +1600,6 @@ * apps/Makefile and configs/*/appconfig - Use '=' as the delimiter instead of '/' so that sub-directories in apps/ can be used. * apps/vsn - Move all VSN apps to apps/vsn. + * nuttx/examples moved to apps/examples diff --git a/Documentation/NXGraphicsSubsystem.html b/Documentation/NXGraphicsSubsystem.html index ac67c9614a..4e6e780547 100644 --- a/Documentation/NXGraphicsSubsystem.html +++ b/Documentation/NXGraphicsSubsystem.html @@ -12,7 +12,7 @@

NX Graphics Subsystem

-

Last Updated: July 27, 2010

+

Last Updated: March 20, 2010

@@ -212,7 +212,7 @@ Figure 1. - This scren shot shows the final frame for the NuttX example at examples/nx + This scren shot shows the final frame for the NuttX example at apps/examples/nx running on the simulated, Linux x86 platform with simulated framebuffer output to an X window. This picture shows to framed windows with (blank) toolbars. @@ -2499,9 +2499,9 @@ int nxf_convert_32bpp(FAR uint32_t *dest, uint16_t height,

2.6 Sample Code

-

examples/nx. +

apps/examples/nx. No sample code is provided in this document. - However, an example can be found in the NuttX source tree at examples/nx. + However, an example can be found in the NuttX source tree at apps/examples/nx. That code is intended to test NX. Since it is test code, it is designed to exercise functionality and does not necessarily represent best NX coding practices. @@ -2514,7 +2514,7 @@ int nxf_convert_32bpp(FAR uint32_t *dest, uint16_t height, be implemented by the NX client code.

-

Building examples/nx. +

Building apps/examples/nx. Testing was performed using the Linux/Cygwin-based NuttX simulator. Instructions are provided for building that simulation are provided in Appendix C of this document. @@ -2690,11 +2690,11 @@ int nxf_convert_32bpp(FAR uint32_t *dest, uint16_t height, -

examples/nx. - The primary test tool for debugging NX resides at examples/nx. +

apps/examples/nx. + The primary test tool for debugging NX resides at apps/examples/nx.

-

Building examples/nx. - NX testing was performed using examples/nx with the +

Building apps/examples/nx. + NX testing was performed using apps/examples/nx with the Linux/Cygwin-based NuttX simulator. Configuration files for building this test can be found in configs/sim/nx. There are two alternative configurations for building the simulation: @@ -2761,7 +2761,7 @@ make

Test Coverage. - At present, examples/nxt only exercises a subset of NX; + At present, apps/examples/nxt only exercises a subset of NX; the remainder is essentially untested. The following table describes the testing performed on each NX API:

@@ -2938,7 +2938,7 @@ make nx_eventnotify() - This is not used in the current version of examples/nx, + This is not used in the current version of apps/examples/nx, was tested in a previous version) NO diff --git a/Documentation/NuttX.html b/Documentation/NuttX.html index 37e22a0089..6929f54e1c 100644 --- a/Documentation/NuttX.html +++ b/Documentation/NuttX.html @@ -8,7 +8,7 @@

NuttX RTOS

-

Last Updated: March 19, 2011

+

Last Updated: March 20, 2011

@@ -948,7 +948,7 @@ 3.0 Configuring and Building

@@ -295,7 +296,7 @@ General documentation for the NuttX OS resides in this directory.

-

2.2 arch

+

2.2 nuttx/arch

2.2.1 Subdirectory Structure

@@ -460,7 +461,7 @@

  • arch/arm/include/lpc214x and arch/arm/src/lpc214x: These directories provide support for NXP LPC214x family of processors. - STATUS: This port boots and passes the OS test (examples/ostest). + STATUS: This port boots and passes the OS test (apps/examples/ostest). The port is complete and verified. As of NuttX 0.3.17, the port includes: timer interrupts, serial console, USB driver, and SPI-based MMC/SD card support. A verified NuttShell configuration is also available. @@ -544,21 +545,21 @@ of progress

    -

    2.3 binfmt

    +

    2.3 nuttx/binfmt

    The binfmt/ subdirectory contains logic for loading binaries in the file system into memory in a form that can be used to execute them.

    -

    2.4 configs

    +

    2.4 nuttx/configs

    The configs/ subdirectory contains configuration data for each board. These board-specific configurations plus the architecture-specific configurations in the arch/ subdirectory complete define a customized port of NuttX.

    -

    2.3.1 Subdirectory Structure

    +

    2.4.1 Subdirectory Structure

    The configs directory contains board specific configuration files. Each board must provide a subdirectory <board-name> under configs/ with the following characteristics: @@ -589,8 +590,8 @@

    -

    2.3.2 Summary of Files

    -

    2.3.2.1 Board Specific Logic

    +

    2.4.2 Summary of Files

    +

    2.4.2.1 Board Specific Logic

    -

    2.3.2.2 Board Specific Configuration Sub-Directories

    +

    2.4.2.2 Board Specific Configuration Sub-Directories

    The configs/<board-name>/ sub-directory holds all of the files that are necessary to configure NuttX for the particular board. @@ -676,7 +677,7 @@

  • -

    2.3.3 Supported Boards

    +

    2.4.3 Supported Boards

    All of the specific boards supported by NuttX are identified below. These are the specific <board-name>'s that may be used to configure NuttX @@ -790,7 +791,7 @@ is available to build these toolchains under Linux or Cygwin.

    -

    2.5 drivers

    +

    2.5 nuttx/drivers

    This directory holds architecture-independent device drivers. @@ -816,13 +817,7 @@ drivers/ `-- (common driver source files) -

    2.6 examples

    - -

    - Example and test programs to build against. -

    - -

    2.7 fs

    +

    2.6 nuttx/fs

    This directory contains the NuttX file system. @@ -840,7 +835,7 @@ fs/ `-- (common file system source files) -

    2.8 graphics

    +

    2.7 nuttx/graphics

    This directory contains files for graphics/video support under NuttX. @@ -857,7 +852,7 @@ graphics/ `-- (common file system source files) -

    2.9 include

    +

    2.8 nuttx/include

    This directory holds NuttX header files. Standard header files file retained in can be included in the normal fashion: @@ -886,30 +881,64 @@ include/ `-- (more standard header files) -

    2.10 lib

    +

    2.9 nuttx/lib

    This directory holds a collection of standard libc-like functions with custom interfaces into NuttX.

    -

    2.11 libxx

    +

    2.10 nuttx/libxx

    This directory holds a tiny, minimal standard std C++ that can be used to build some, simple C++ applications in NuttX.

    -

    2.12 mm

    +

    2.11 nuttx/mm

    This is the NuttX memory manager.

    -

    2.13 net

    +

    2.12 nuttx/net

    This directory contains the implementation of the socket APIs. The subdirectory, uip contains the uIP port.

    -

    2.14 netutils

    +

    2.13 nuttx/sched

    +

    + The files forming core of the NuttX RTOS reside here. +

    + +

    2.14 nuttx/tools

    +

    + This directory holds a collection of tools and scripts to simplify + configuring, building and maintaining NuttX. +

    + + +

    2.15 nuttx/Makefile

    +

    + The top-level Makefile in the ${TOPDIR} directory contains all of the top-level control + logic to build NuttX. + Use of this Makefile to build NuttX is described below. +

    + +

    2.16 apps/netutils

    This directory contains most of the network applications. Some of these are original with NuttX (like tftpc and dhcpd) and others were leveraged from the uIP-1.0 apps directory. @@ -951,38 +980,14 @@ netutils/ `-- (netutils common files) -

    2.15 sched

    +

    2.17 apps/nshlib

    - The files forming core of the NuttX RTOS reside here. + This directory contains for the core of the NuttShell (NSH) application.

    -

    2.16 tools

    +

    2.18 apps/examples

    - This directory holds a collection of tools and scripts to simplify - configuring, building and maintaining NuttX. -

    - - -

    2.17 Makefile

    -

    - The top-level Makefile in the ${TOPDIR} directory contains all of the top-level control - logic to build NuttX. - Use of this Makefile to build NuttX is described below. + Example and test programs to build against.

    @@ -2663,10 +2668,9 @@ extern void up_ledoff(int led);

    NuttX USB Device Trace

    -

    Last Updated: February 25, 2010

    +

    Last Updated: March 20, 2011

    @@ -134,7 +134,7 @@ Otherwise, the trace data goes to console.

    Example. - Here is an example of USB trace output using examples/usbserial for an LPC1768 platform with the following NuttX configuration settings: + Here is an example of USB trace output using apps/examples/usbserial for an LPC1768 platform with the following NuttX configuration settings: