Commit Graph

1111 Commits

Author SHA1 Message Date
Mateusz Szafoni
ae41122371 Merged in raiden00/apps (pull request #111)
Add powerled driver example

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-10-08 17:31:41 +00:00
Gregory Nutt
1db7d34a84 examples/elf and nxff: Won't build with CONFIG_BUILD_KERNEL because the interface exec() is not available in that configuration. Also, remove a stray comma and a stray semacolon in examples/pty_test/Kconfig and examples/random/Kconfig 2017-10-06 15:13:00 -06:00
Gregory Nutt
926a52bc5e apps/examples/nxflat: A little crap was left in the file from last change. 2017-10-02 14:40:48 -06:00
Gregory Nutt
56814bec38 apps/examples: In elf and nxflat examples, remove low-level interfaces and replace with call to exec(). 2017-10-02 14:32:17 -06:00
Alan Carvalho de Assis
661a593939 apps/examples/flowc: Small improvement to break line if more than 80 . were printed 2017-09-27 12:56:47 -06:00
Alan Carvalho de Assis
0d0d62fca0 apps/examples/flowc: Rename README,.txt to README.txt 2017-09-27 12:52:41 -06:00
Gregory Nutt
21c9b793e2 Add a README file 2017-09-27 06:08:36 -06:00
Gregory Nutt
6a7fddf41d apps/examples/flowc: Add some syslog output to flush the syslog interrupt buffer 2017-09-27 06:00:46 -06:00
Gregory Nutt
ca354f2175 apps/examples/flowc: Fix some errors in receiver's verificationg logic. Add a 'canned' data file so that we don't need to deal with the sender program; we can just 'cat' the canned data file. 2017-09-26 13:13:34 -06:00
Gregory Nutt
d02ec04ff3 Fix some conditional compilation in previous commit. 2017-09-26 10:32:47 -06:00
Gregory Nutt
778ff478e6 apps/examples/flowc: Add a delay between received packets in order to force input flow control. 2017-09-26 10:30:40 -06:00
Alan Carvalho de Assis
873e4ee83e apps/examples/qencode: The QENCODER name was changed to SENSORS_QENCODER fix it here 2017-09-24 14:53:27 -06:00
Gregory Nutt
c221af2f72 Update some comments. 2017-09-23 12:39:01 -06:00
Gregory Nutt
267521af9b Squashed commit of the following:
apps/examples/flowc:  Adds the necessary termios controls to enable hardware flow control

    apps/examples/flowc:  Add a simple test of serial hardware flow control.  This commit just defines the frame work.  Hardware flow control is not yet enabled.
2017-09-23 11:02:21 -06:00
Gregory Nutt
450624c370 Squashed commit of the following:
netutils/netlib:  Add netlib_ipv6adaptor()
    netutils/netlib:  Add netlib_ipv4adaptor()
2017-09-19 15:21:13 -06:00
Alan Carvalho de Assis
22d43409f2 apps/examples/apa102: Add a Rainbow example for APA102 LED Strip 2017-09-18 17:03:20 -06:00
Gregory Nutt
8beab59e0d Trivial changes from review of last PR. 2017-09-14 15:04:43 -06:00
Florian Olbrich
bbade5522d Merged in floxx/apps (pull request #107)
Added a simple reader example for the LIS3DSH acceleration sensor on STM32F4Discovery

* Added a simple reader example for the LIS3DSH acceleration sensor as
    found on STM32F4Discovery.

* Edited lis3dsh_reader_main.c to obey nuttx coding standard.

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-09-14 20:59:05 +00:00
Gregory Nutt
cb13b7ed1b examples/fb: Extend test to include 1-bpp monochrome. 2017-09-13 10:58:29 -06:00
Gregory Nutt
0fd8ade4b5 Rename CONFIG_AUDIO_DEVICES to CONFIG_DRIVERS_AUDIO to conform better to the evolving configuration naming standard. 2017-09-12 14:11:17 -06:00
Gregory Nutt
0cb9810844 examples/fb: Flesh out the framebuffer driver test. 2017-09-12 11:10:16 -06:00
Gregory Nutt
8ac1952d4c examples/fb: Add a simple test for the framebuffer character driver. This initial commit just verfies some interfaces and initialization logic. Still need to add to graphics update logic. 2017-09-12 09:51:47 -06:00
Masayuki Ishikawa
98fb74b82c examples/adc: Fix g_adcstate.count initialization. 2017-09-11 14:01:09 +09:00
Gregory Nutt
928443e385 examples/ostest: sem_open() now returns SEM_FAILED in the event of a failure. 2017-09-08 10:15:46 -06:00
Gregory Nutt
cdf0528933 examples/dac: Lets use printf instead of _info in application code. 2017-09-01 07:39:39 -06:00
Juha Niskanen
318350d289 examples: add DAC example 2017-09-01 11:22:39 +03:00
Masayuki Ishikawa
25237eafe0 apps/examples/nsh: Remove APPNAME, PRIORITY, and STACKSIZE settings from Makefile to avoid showing nsh in Builtin Apps. 2017-08-26 06:18:03 -06:00
Gregory Nutt
7fa2bd1a23 examples/: Correct naming of some configuration variables. 2017-08-24 13:37:36 -06:00
Gregory Nutt
7c26ee7611 Remove a warning of unused local variable. 2017-08-20 11:15:26 -06:00
Gregory Nutt
41ce937ed0 Changes to netlib and nsh so that you build build with PF_IEEE802154 enabled and 6LoWPAN disabled. 2017-08-20 09:09:47 -06:00
Gregory Nutt
6cbf2b9130 Squashed commit of the following:
commit 6fbbca4ce308f5d8130d795342c7639555a7e5bf
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Sat Aug 19 08:46:27 2017 -0600

    apps/examples/pf_ieee802154:  Add PANID to command line options; Cannot bind to address zero... There is no counterpart to INADDR_ANY for these radios (not now at least).

commit 354111108a88f549248537e79dbf79998f458ded
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Fri Aug 18 17:47:10 2017 -0600

    PF_IEEE802154:  A few bugfixes

commit f1bb947609ed5e9e8816234653d6c8ee24585079
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Fri Aug 18 15:17:32 2017 -0600

    Add file missed in last commit

commit 9a73930e864db83609b5cc0d7c940d8efeaade66
Merge: 315b888f c433e07a
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Fri Aug 18 12:08:03 2017 -0600

    Merge remote-tracking branch 'origin/master' into pf_ieee802154

commit 315b888f4e72523d90b526edc5a82fb97678ff7e
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Fri Aug 18 12:06:51 2017 -0600

    examples/pf_ieee802154:  Add for testing PF_IEEE802154 sockets.
2017-08-19 08:47:35 -06:00
Gregory Nutt
7a8561728c The last change added .PRECIOUS: $(BIN) to everyway Makefile in hopes the libapps.a will not be deleted on Control-C (unproven so far). However, $(BIN) may contain back slashes in some build platforms and that causes problems for make: It can't handle the backslashes in the .PRECIOUS dependency list. $(BIN) replaced with ../../libapp.a, where the number of ../ depends on the depth of the Makefile in the apps/ source tree. 2017-08-13 11:03:17 -06:00
Gregory Nutt
a66da34f18 All Makefiles: Add .PRECIOUS: apps/libapps.a to every Makefile. Hopefully this will end awkward problems when you Control-C out of a build and libapps.a is deleted. 2017-08-13 09:35:14 -06:00
Gregory Nutt
0bc7bce916 Eliminate warning about an unused global variable. 2017-08-12 16:40:09 -06:00
Gregory Nutt
4477cbcbd1 Fix some misplaced semicolons as found in build testing. 2017-08-12 14:27:48 -06:00
Gregory Nutt
45eb06c3c2 apps/examples/nximage: Remove unused global variable. 2017-08-12 12:48:38 -06:00
Gregory Nutt
a063227e58 Eliminate a warning about unused static data. 2017-08-12 12:15:21 -06:00
Gregory Nutt
4ee084ab24 Remove references to obsoleted CONFIG_NETDEV_MULTINIC and CONFIG_NETDEV_MULILINK. 2017-08-08 18:37:00 -06:00
Gregory Nutt
69b004790d Update .gitignore 2017-08-08 11:12:19 -06:00
Gregory Nutt
444922ea93 apps/examples/udp: Enable testing with the broadcast address. 2017-08-08 08:16:47 -06:00
Gregory Nutt
0c34ebb72f Typo: USE_NOFITY_POLL -> USE_NOTIFY_POLL 2017-08-02 17:32:27 -06:00
Gregory Nutt
c7e7b42b06 examples/nettest/: Loopback option shoudl be available in Kconfig for PktRadio. 2017-08-01 17:22:01 -06:00
Gregory Nutt
411e053460 Review of last PR. Changes to make consistent with NuttX coding standard. 2017-07-28 09:14:47 -06:00
Giorgio Groß
5f73f290a1 Implement powermonitor example for ltc4151 current and voltage monitor 2017-07-28 15:26:11 +02:00
Gregory Nutt
915b42f870 apps/examples/ipforward: Test extended to test forwarding of ICMPv6 multicast messages. 2017-07-09 12:05:23 -06:00
Gregory Nutt
1657d1fff5 apps/examples/ipforward: A few fixes, but still no cigar. 2017-07-07 17:32:37 -06:00
Gregory Nutt
37bb767089 Completes code for apps/examples/ipforward. Still untested. 2017-07-07 15:00:00 -06:00
Gregory Nutt
47a42852e5 apps/examples/ipforward: Add beginning of an IP forwarding example using only TUN devices. 2017-07-07 15:00:00 -06:00
Gregory Nutt
3e37dbc4ab apps/examples/nettest: Fix incorrectly named file. 2017-07-05 12:52:46 -06:00
Gregory Nutt
abc01c0e5b apps/examples/keypadtest: REMOVED and warehoused in the Obsoleted repository. This was just a bad clone of apps/examples/hidkbd for a keypad driver that was removed years ago.  It also uses illegal function calls into the OS.  So it has no purpse:  It is redundant, it uses illegal interfaces, and is a test for non-existent code. 2017-07-04 15:57:30 -06:00
Gregory Nutt
9aa35b2799 apps/examples/thttpd: Remove the netstats demo. This depends on an illegal function call and cannot be supported. That example could be replaced with logic that uses the procfs network entries as was done for NSH which had the same issue. But I am too lazy to implement that 2017-07-01 08:03:54 -06:00
Gregory Nutt
28415d662b netutils/telnetd and users of telnetd: Add support for IPv6. 2017-06-27 09:14:13 -06:00
Gregory Nutt
342de81641 NSH library: Add a Telnetd command. This is needed when network initialization is deferred. In that case, telnet daemon cannot be started until the network is finally initialized. The telnetd command was added just for that case: So that the telnet daemon can be started from the NSH command line after the network is configured. 2017-06-26 18:00:13 -06:00
Gregory Nutt
ace5bdc7c0 examples/nettest: Add more printf output 2017-06-26 10:54:32 -06:00
Gregory Nutt
6b25b0d65e examples/nettest: Fix some printf output 2017-06-25 13:01:21 -06:00
Gregory Nutt
664ab42da7 examples/udp and examples/nettest: Fix some naming collisions; examples/nettest: Fix some build issues with two targets. 2017-06-25 09:15:27 -06:00
Gregory Nutt
b868fbe879 examples/nettest: The send buffer size is now a configuration option. 2017-06-24 09:49:44 -06:00
Gregory Nutt
3c97bfeae6 examples/nettest: Fixes for building with loopback device again after the last changes. 2017-06-23 19:14:39 -06:00
Gregory Nutt
a3ac695f17 examples/nettest: Add support for both enpoints on target boards vs. one on a target and one on the host PC. 2017-06-23 18:12:34 -06:00
Gregory Nutt
1c0f237c06 examples/nettest: More prep for a second target 2017-06-23 15:49:27 -06:00
Gregory Nutt
cde3cb1544 Forgot to add files before last commit. 2017-06-23 12:30:11 -06:00
Gregory Nutt
a0251ae974 examples/nettest: Fix client/server naming confusion; add command line option to select the server address on the target; examples/udp: Fix naming of a configuration setting 2017-06-23 12:21:13 -06:00
Gregory Nutt
c88cf75064 examples/nettest: Separate out network initialization so that it may, eventually, be used by both a target server and a target client. 2017-06-23 11:40:02 -06:00
Gregory Nutt
41457d6fe8 examples/nettest: Renaming some files to prevent name collision in libapps.a and to prepare to support target boards on both ends of the test 2017-06-23 11:23:43 -06:00
Gregory Nutt
4f64213758 examples/udp: Renaming some files to prevent name collision in libapps.a 2017-06-23 10:58:41 -06:00
Gregory Nutt
593f224950 Merge remote-tracking branch 'origin/master' into ieee802154 2017-06-20 15:11:33 -06:00
Gregory Nutt
c0286c1276 examples/udp: Port numbers need to be configurable to work with 6LoWPAN. Need to bind the client socket to a port number. This was not required before so is a apparently a change in the UDP packet dispatch logic. 2017-06-20 10:40:09 -06:00
Gregory Nutt
62f2b8a7cd examples/smart: Fix some compilation errors. Obviously this test has not been used in a LONG time. 2017-06-20 07:08:27 -06:00
Gregory Nutt
3858a4afd5 examples/udp: Server IP address may not be provided on the command line 2017-06-19 13:29:58 -06:00
Gregory Nutt
d1fb6dec09 examples/udp: Change build so that both server and client can be on a target, rather than one on the target one on the host PC. 2017-06-19 11:58:56 -06:00
Gregory Nutt
bb95584aed examples/udp: Fixe registration as a built-in program; Change some naming to make room for a second target. Current one endpoint is the target and one is the host. This will (eventually) allow two targets to be both endpoints of the test. 2017-06-19 11:03:10 -06:00
Gregory Nutt
7bee5ecec5 examples/udp: Add configurable network device name; Add option to suppress network initialization which is not needed if started by NSH or for 6LoWPAN. 2017-06-19 09:46:40 -06:00
Daniel Agar
ecab40da6a
remove extra semicolons 2017-06-04 12:25:32 -04:00
Gregory Nutt
2984fa3911 apps/system/dhcpc: Add a command to renew or establish a lease on an IPv4 address. 2017-05-21 10:51:26 -06:00
Sebastien Lorquet
ea1025ead2 DHCPC: Remove hard-coded interface device. Now passed as a parameter to dhcpc_open(). 2017-05-19 15:31:22 -06:00
Sebastien Lorquet
297844b1ce Fix comments formatting 2017-05-19 17:50:26 +02:00
Sebastien Lorquet
aefddc3648 Second batch of changes (no problems) 2017-05-19 17:37:17 +02:00
Sebastien Lorquet
caeb6b32fd First batch of changes 2017-05-19 17:30:26 +02:00
Sebastien Lorquet
60ca4a1ef4 Ensure netlib will not be broken when setip will not bring the network up anymore 2017-05-19 17:13:27 +02:00
Juha Niskanen
0bcd50d7a1 apps/: Make more globals static to avoid name clashes 2017-05-19 07:13:12 -06:00
Alan Carvalho de Assis
22f48cfb5e apps/examples/can: ix can example app to print data when CONFIG_EXAMPLE_CAN_READ is defined 2017-05-17 16:07:34 -06:00
EunBong Song
c82d8b61b9 apps/examples/mtdpart: Prevent part array overflow. mtdpart examples create partions and allocate from 1 index not a 0 index to part[] array. This cause buffer overflow for part array. This change fixes this problem. 2017-05-17 08:16:45 -06:00
Gregory Nutt
e8f3d7f46b apps/examples/nettest: Fix an error in pre-processor expression. 2017-05-13 17:51:37 -06:00
Gregory Nutt
b08ea68a33 Move prototype from nuttx/include/nuttx/arch.h to apps/include/platform/cxxinitialize.h 2017-05-13 16:53:33 -06:00
Alan Carvalho de Assis
8011648ad0 Fix to use the new canardInit() function 2017-05-12 16:58:53 -03:00
Alan Carvalho de Assis
ed19c87029 Fix the new can.h header location 2017-05-12 11:58:57 -03:00
Gregory Nutt
13911d9b17 Fix lots of occurrences of 'the the', 'the there', 'the these', 'the then', 'the they. 2017-05-11 13:40:03 -06:00
Juha Niskanen
478049fc4f examples/configdata: add stacksize and priority 2017-05-10 08:44:01 -06:00
Gregory Nutt
f473842f96 Fix some calls to task_create(): argv[0] is the first parameter, not the name of the task. 2017-05-09 10:59:24 -06:00
Juha Niskanen
4d09ebcaec examples: random: avoid stack overflows 2017-04-26 10:32:20 -06:00
Gregory Nutt
9a49304527 examples/hidkbd: Add some missing configuration settings. 2017-04-18 07:24:15 -06:00
Juha Niskanen
65d59f8458 examples/ostest: clarify when pthread clean-up test mutex need to remain usable 2017-04-12 06:47:07 -06:00
Gregory Nutt
cfc71db80c pthreads: Backed most of last pthread changes. Found the 'real' root poblem. A one like error in pthread_mutex.c. 2017-04-10 09:51:44 -06:00
Gregory Nutt
b580d494e8 examples/ostest: pthread clean-up test must call pthread_consistent, not pthread_mutex_unlock() on cancellation if robust mutexes are enabled. 2017-04-10 08:13:06 -06:00
Juha Niskanen
64ad0684e7 examples/ostest: additional test for rwlock and one for cancel cleanup handlers 2017-04-10 07:20:48 -06:00
Mark Schulte
d7932d55df examples/ostest: pthread rwlock additional tests and bugfixes 2017-04-07 15:47:16 -06:00
Gregory Nutt
acb6077988 Remove CONFIG_PTHREAD_RWLOCK. Rwlock interfaces built unconditionally. 2017-04-07 07:30:52 -06:00
Mark Schulte
1fde89e2d9 examples/ostest: Add tests for pthread_rwlock. Adding tests to be used to verify the pthread_rwlock lock works 2017-04-07 07:23:14 -06:00
Gregory Nutt
07338ff2a9 examples/udpblaster: Add logic to bind the local UDP socket to a well-known address. 2017-04-06 11:58:55 -06:00
Gregory Nutt
14fc6d7575 examples/udpblaster: Several fixes to work with 6loWPAN. 2017-04-06 09:37:52 -06:00