mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
Add C++ HelloWorld example
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1706 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
+16
-1
@@ -21,7 +21,7 @@ examples/dhcpd
|
||||
cd examples/dhcpd
|
||||
make -f Makefile.host
|
||||
|
||||
Kernel configuratin settings:
|
||||
NuttX configuration settings:
|
||||
|
||||
CONFIG_EXAMPLE_DHCPD_NOMAC - (May be defined to use software assigned MAC)
|
||||
CONFIG_EXAMPLE_DHCPD_IPADDR - Target IP address
|
||||
@@ -39,6 +39,21 @@ examples/hello
|
||||
than examples/null with a single printf statement. Again useful only
|
||||
for bringing up new NuttX architectures.
|
||||
|
||||
NuttX configuration settings:
|
||||
|
||||
CONFIG_EXAMPLE_HELLOXX_NOSTATICCONST - Set if system does not support
|
||||
static constructors.
|
||||
CONFIG_EXAMPLE_HELLOXX_NOSTACKCONST - Set if the systgem does not
|
||||
support constructionof objects on the stack.
|
||||
|
||||
examples/helloxx
|
||||
^^^^^^^^^^^^^^^^
|
||||
|
||||
This is C++ version of the "Hello, World!!" example. It is intended
|
||||
only to verify that the C++ compiler is function, that basic C++
|
||||
library suupport is available, and that class are instantiated
|
||||
correctly.
|
||||
|
||||
examples/mount
|
||||
^^^^^^^^^^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user