Gregory Nutt
2436e3f85a
apps/graphics/ft80x: Add routine to wait for logo animation to complete. apps/examples/ft80x: Add more graphic demonstrations.
2018-02-21 19:17:28 -06:00
Gregory Nutt
516eb6eb82
apps/examples/ft80x: Add another co-processor demos.
2018-02-21 15:42:47 -06:00
Gregory Nutt
3ee5bd15cf
apps/examples/ft80x: Add another co-processor demos.
2018-02-21 14:32:20 -06:00
Gregory Nutt
157da4f1ab
apps/graphics/ft80x: Add support for reading/writing multiple registers. Add interface to obtain the touchscreen transform matrix. apps/examples/ft80x: Add more co-processor demos.
2018-02-21 11:50:06 -06:00
Gregory Nutt
a2b232f832
Squashed commit of the following:
...
apps/examples/ft80x: Add another co-processor demo
ft80x: Add a few more debug message.
2018-02-20 18:46:17 -06:00
Gregory Nutt
ecfdf073fc
Squashed commit of the following:
...
apps/graphics/ft80x: Replace polling logic with gentler signal logic when waitinf for the CMD FIFO to become empty.
apps/examples/ft80x: Add first co-processor example.
apps/graphics: Extend library to manage display lists either in display memory (RAM DL) or provided directly to th co-processor FIFO (RAM CMD).
apps/examples/ft80x: Some minor clean-up. Trivial changes for coprocessor support.
2018-02-20 15:23:05 -06:00
Dmitriy Linikov
2f2fb92ae3
Merged in hardlulz/modem-3.0-nuttx-apps/fix-sem-EINTR (pull request #133 )
...
Added ECANCELED condition to DEBUGASSERT-s checking sem_wait result
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-02-20 18:37:32 +00:00
Gregory Nutt
c755ac0316
apps/examples/ft80x: Add a few more demos of GPU primitive operations.
2018-02-19 16:32:33 -06:00
Gregory Nutt
64a4622437
apps/graphics/ft80x and apps/examples/ft80x: Fix a few compile-relate issues introduced with last merge.
2018-02-19 13:22:23 -06:00
Gregory Nutt
7c9f8ef9eb
Squashed commit of the following:
...
apps/graphics/ft80x: Add support for accessing graphics ram. apps/examples/ft80x: Add more primitive graphics demos.
apps/examples/ft80x: Add a couple more demos of primitives. Use new ft80x_dl_create() to simplify.
apps/graphics/ft80x: Add ft80x_dl_create() which simplies writing of very simple display lists.
2018-02-19 13:14:16 -06:00
Gregory Nutt
16d7d1b74c
Squashed commit of the following:
...
apps/examples/ft80x: Add one display example. Many more are needed but this is enough to get started with testing (when I eventually have hardware).
apps/examples/ft80x: Add the bare framework for a test of the FT80x
2018-02-18 16:54:11 -06:00
Alan Carvalho de Assis
6708dcb00c
examples/bmp180: Add BMP180 application example
2018-02-04 07:31:23 -06:00
Alan Carvalho de Assis
d704a8515f
apps/examples/veml6070: Add VEML6070 Application Example
2018-01-28 09:08:15 -06:00
Philippe Coval
f888b0a741
Fix documentation mistake about standalone problem
...
I guess author meant "standalone program" not "standalone problem" ?
Then, it was replicated elsewhere in code base,
and fixed accordingly with this patch.
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
2018-01-19 12:30:00 +01:00
Gregory Nutt
157e59b004
apps/examples/lvgldemo: Can no call boardctl() to initialize graphics hardware if needed.
2018-01-18 07:12:31 -06:00
Gregory Nutt
bfd8d1d6aa
apps/examples/touchscreen: Elimint BOARDIOC_TSCTEST_SETUP.
2018-01-17 09:28:10 -06:00
Gregory Nutt
692180a9e9
Eliminate a warning
2018-01-16 18:31:48 -06:00
Gregory Nutt
673845eba0
Remove all references to the now non-existent boardctl(BOARD_TSCTEST_TEARDOWN).
2018-01-16 18:01:56 -06:00
Gregory Nutt
15bb9839ae
apps/examples/lvgldemo: Remove references to CONFIG_EXAMPLES_LGVLDEMO_ARCHINIT (which was never defined anyway) and to all references to board control. The board bringup logic must register the touchscreen driver. BOARDIOC_TSCTEST_SETUP is deprecated.
2018-01-16 17:27:31 -06:00
Gregory Nutt
6895b1e7ce
apps/examples/lvgldemo: Fix cloning errors in printf statements.
2018-01-16 16:32:37 -06:00
Gregory Nutt
cf002176e0
apps/example/lvgldemo: Add .gitignore file
2018-01-16 15:56:04 -06:00
Alan Carvalho de Assis
f2028411bf
Squashed commit of the following:
...
apps/examples/lvgldemo: Fix up some include paths
apps/examples/lvgldemo: The last final now conforms to the NuttX coding style.
apps/graphics/littlevgl: Two more files are closer to the NuttX coding style.
apps/graphics/littlevgl: Two more files are closer to the NuttX coding style.
apps/examples/lvgldemo: Three more files are closer to the NuttX coding style.
apps/examples/lvgldemo: Two more files are closer to the NuttX coding style.
apps/examples/lvgldemo: Two more files are closer to the NuttX coding style.
Add include/graphics/.gitignore
apps/include/graphics: Remove lvgl.h. graphics/littlevgl/Makefile now copies the file into position.
apps/graphics/littlevgl: Add .gitignore file
apps/graphics/littlevgl: Most of these files follow the coding style now.
apps/graphics/littlevgl: This gets a couple of files closer to the NuttX coding style.
apps/examples/lvgldemo: Add lvgldemo example
apps/graphics/littlevgl: Add littlevgl library
2018-01-16 15:35:55 -06:00
Gregory Nutt
e2e53117a5
Remove some section headers when the sections are empty.
2018-01-13 08:35:44 -06:00
Gregory Nutt
8566a16a82
examples/userfs: Add truncate() support for userfs
2018-01-03 16:01:40 -06:00
Gregory Nutt
6134eedb71
apps/examples/lis3dsh_reader: Convert a forbidden c99 construct to c89 style.
2017-12-16 07:32:55 -06:00
Gregory Nutt
2e4aa6a557
apps/examples/pdcurses: Clean up charset example so that the display geomtry is better on very wide displays (wide with respect to the width of a character).
2017-11-30 12:04:38 -06:00
Gregory Nutt
4a140f70d0
apps/examples/pipes: Fix some kruft left in last commit; Also clean up some coding standard problems.
2017-11-29 15:27:20 -06:00
Gregory Nutt
1956f66ee6
apps/examples/pipes: Eliminate some warnings.
2017-11-29 15:19:29 -06:00
Gregory Nutt
9c69257325
Eliminate some warnings
2017-11-28 12:53:15 -06:00
Alan Carvalho de Assis
9655ab02f7
apps/examples/nunchuck: Add Nunchuck Example Application
2017-11-28 12:18:46 -06:00
Gregory Nutt
cab8363d44
apps/graphics/pdcurses: Fix some miscellaneous, harmless typos and standard violations.
2017-11-27 17:31:22 -06:00
Gregory Nutt
000b52c668
Fix typos in Kconfig files: LCD_PACKEDMSFIRST, not LCD_PACKEDFIRST.
2017-11-26 07:56:16 -06:00
Fabio D'Urso
e414a8f26c
apps/examples: CONFIG_QENCODER was renamed to CONFIG_SENSORS_QENCODER: update README.txt
2017-11-25 18:43:04 -06:00
Gregory Nutt
9246d03ebd
apps/graphics/pdcurses: Fix some display update calculations.
2017-11-25 18:05:07 -06:00
Gregory Nutt
1fbf30e6fe
apps/graphics/pdcurses and apps/examples/fb: Both assume that bits are packed MS first.
2017-11-25 13:14:28 -06:00
Gregory Nutt
f68a44aaea
apps/examples/fb: Add a small delay between updating each rectangular region.
2017-11-25 11:42:10 -06:00
Gregory Nutt
f42031e65b
apps/examples/pdcurses: Add a very simple example that just shows the entire character set (7-bit only). It adapts to the size of the framebuffer and, hence, can be used with very tiny displays. In fact it looks really dumb on big displays.
2017-11-24 09:46:58 -06:00
Gregory Nutt
52dc96e5c3
apps/example/fb: Restores 0205eeef52
. It was correct all along. Also fixes calculation of the end byte position.
2017-11-24 07:10:52 -06:00
Gregory Nutt
966faf3859
Revert "apps/examples/fb: Fix calculation of a mask value."
...
This reverts commit 0205eeef52
.
2017-11-23 11:39:40 -06:00
Gregory Nutt
0205eeef52
apps/examples/fb: Fix calculation of a mask value.
2017-11-22 16:14:28 -06:00
Gregory Nutt
49dab79a30
apps/pdcur34: Define pdc_color_t based on pixel depth, not on specific color format.
2017-11-22 07:22:03 -06:00
Gregory Nutt
b3db0c32ec
apps/examples/pdcurses: Eliminate some warnings.
2017-11-19 16:18:32 -06:00
Gregory Nutt
4eac495713
apps/pdcurses/: Fix a few more bugs found in testing; apps/examples/pdcurses: Brings in the remaining pdcurses demo programs.
2017-11-19 16:14:55 -06:00
Gregory Nutt
42bb5643bf
Squashed commit of the following:
...
apps/graphics/pdcur34: Various fixes from initial testing. Still does not work
apps/graphics/pdcurs34/nuttx: Completes first cut at framebuffer rendering logic.
2017-11-19 13:35:20 -06:00
Gregory Nutt
ad54b77f33
apps/graphics/pdcurs34: Add NuttX framebuffer color managment and beginning of some rendering logic.
2017-11-18 19:30:19 -06:00
Gregory Nutt
e33fe59cab
apps/example/pdcurses: Add logic to build one of the several pdcurses demo/test programs
2017-11-18 12:33:10 -06:00
Gregory Nutt
eb065a756e
apps/examples/pdcurses: Bring pdcurses demos and make them conform to the NuttX coding style (not yet hooked into the build system).
2017-11-17 18:23:23 -06:00
Anthony Merlino
f489bcd6f9
Merged in antmerlino/apps/ftp-ipv6 (pull request #122 )
...
FTP: Adds support for IPv6 and fixes various transfer issues
* netutils/ftpd: Fix support for IPv6 FTP server
* netutils/ftpc:Adds support for IPv6 sockets
* ftpc: Must convert port received by EPSV reply to network order
* ftpc: Data socket address for passive connection should be same as server address
* ftpc: Must skip human readable string in EPSV response before scanning for port
* ftpc: Don't send PASS command if USER command was sufficient. ie no password required
* ftpc: Generically handle permanent negative completion in shard ftpc_cmd logic
* ftpc: Minor addresssing fix
* ftpc: Tweak logic for overriding network debugging output
* FTP: Adds option for setting stack size of various threads in FTPD and FTPC
* netutils/ftpd: Fixes build error setting IPv4 address. sin_addr => sin_addr.s_addr
* netutils/ftpd: Protects against partial write returns by looping in that case
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-11-06 23:41:30 +00:00
Gregory Nutt
efd1279025
apps/examples/ltdc: Remove apps/examples/ltdc. It violates the portable POSIX interface by calling directly into OS code.
2017-11-06 11:31:32 -06:00
Gregory Nutt
7a0d29fc59
apps/examples/userfs: Handle the O_TRUNC open flag.
2017-11-06 07:15:20 -06:00
Gregory Nutt
3dd64af3db
apps/examples/userfs: Fixes a bug with double freeing open data when dup'ed files are closed.
2017-11-05 17:43:04 -06:00
Gregory Nutt
9ce13f74e7
apps/examples/userfs: Add some (unnecessary) checks for NULL pointers.
2017-11-05 12:33:38 -06:00
Mateusz Szafoni
568c2638e8
Merged in raiden00/apps (pull request #121 )
...
smps, powerled examples: fix floating point format in printf
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-11-05 14:18:08 +00:00
Mateusz Szafoni
6d37b6a570
Merged in raiden00/apps (pull request #120 )
...
examples: add SMPS driver example
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-11-05 12:33:06 +00:00
Gregory Nutt
20119c3647
apps/examples/userfs: Fix check for open with write+append mode.
2017-11-01 16:59:28 -06:00
Gregory Nutt
342b51e9a6
apps/examples/userfs: Fix bad logic in test stat() implementation.
2017-11-01 09:15:40 -06:00
Gregory Nutt
769ffb8a4b
apps/examples/userfs: Add a test case for verifying UserFS.
2017-10-31 09:00:49 -06:00
Alan Carvalho de Assis
8aa72a0ad4
apps/examples/obd2: Add OBD2 example application
2017-10-28 13:38:47 -06:00
Alan Carvalho de Assis
51cf069aef
apps/examples/adps9960: Add ADPS-9960 example
2017-10-23 07:05:07 -06:00
Gregory Nutt
35ec1b9244
Squashed commit of the following:
...
apps/fsutils/mkfatfs: New user-space fatfs appears to work fine.
apps/fsutils/mkfatfs: Move mkfatfs from the OS to here. Not fully integrated on the intial commit.
2017-10-20 12:35:19 -06:00
Juha Niskanen
63e086d1f7
Merged in juniskane/apps_upstream/examples_alarm_pr (pull request #112 )
...
examples/alarm: add options for reading alarm value and canceling it
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-10-17 16:43:55 +00:00
Gregory Nutt
4bff47a80f
graphics/traveler: Conver to use the framebuffer driver.
2017-10-16 07:13:38 -06:00
Gregory Nutt
90d4cf6ede
This removes the last traces of single-user mode.
2017-10-15 09:36:55 -06:00
Gregory Nutt
1a170dc73d
Remove unused CONFIG_xyz_EXTERNINIT configuration variables.
2017-10-15 08:05:23 -06:00
Gregory Nutt
bfde560c60
exampls/nxhello: Increase the amount of time that the text is displayed before erasing it
2017-10-15 07:25:35 -06:00
Gregory Nutt
f9a9f1410a
examples/nxlines now supports only multiuser mode.
2017-10-14 16:52:20 -06:00
Gregory Nutt
2206b6c341
examples/nximage now supports only multiuser mode.
2017-10-14 15:09:43 -06:00
Gregory Nutt
f05351c3b5
Forgot to add a file in the last commit
2017-10-14 14:39:06 -06:00
Gregory Nutt
7e151940cc
examples/nxhello now supports only multiuser mode.
2017-10-14 14:18:45 -06:00
Gregory Nutt
fda6713854
graphics/traveler: No longer supports single user graphics mode.
2017-10-14 11:51:58 -06:00
Gregory Nutt
5f7fa0350f
examples/lcdrw: Remove this example. It violates the portable OS interface and cannot be retaind.
2017-10-14 11:23:02 -06:00
Gregory Nutt
97e789976e
examples/nxtext: The nxtext example no longer supports single user mode.
2017-10-14 11:16:34 -06:00
Gregory Nutt
25ee1352ef
examples/nxterm: Minor cleanup
2017-10-14 11:04:44 -06:00
Gregory Nutt
273dd9dd3f
examples/nx: The NX example no longer supports single user mode.
2017-10-14 10:55:12 -06:00
Gregory Nutt
fe3e7a7bad
examples/ostest: Extend cancellation test to make sure that cancelable threads waiting on a message queue or on a signal can be canceled.
2017-10-12 10:44:06 -06:00
Sebastien Lorquet
e4339355e4
examples/ina219: A simple infinite loop that polls the INA219 sensor and displays the measurements.
2017-10-11 10:49:48 -06:00
Gregory Nutt
cffb1a7f9c
Update some comments.
2017-10-11 10:32:59 -06:00
Gregory Nutt
73c10a2607
examples/ostest: Works around a bug in printf() when cancellation points are enabled. printf() is a cancellation point because it calls write(). This is correct according to OpenGroup.org. However, printf holds the stdio library semaphore when it is canceled and this leaves the semaphore in a bad state. No fix for the printf bug yet.
2017-10-10 14:01:49 -06:00
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
Gregory Nutt
74ae283487
examples/nettest: If doing loopback, but not using the official loopback device, then use the server should use the configured client IP address
2017-04-04 15:13:11 -06:00
Gregory Nutt
eef0161dd4
examples/nettest: Trying to adapt to use for testing 6loWPAN.
2017-04-03 15:33:39 -06:00
Jussi Kivilinna
cf395b83b8
Add examples/usrsocktest application for USRSOCK testing
2017-04-03 09:25:49 -06:00
David Sidrane
2168119b73
apps/mm removed extraneous comment from Makefile
2017-03-28 14:36:03 +00:00
Gregory Nutt
c12348ad38
examples/mm: Fix Makefile. Built-in was not being registered.
2017-03-28 07:31:49 -06:00
Gregory Nutt
2c7dff70ec
Rename CONFIG_MUTEX_TYPES to CONFIG_PTHREAD_MUTEX_TYPES
2017-03-27 09:08:00 -06:00
Gregory Nutt
531f5e1419
examples/ostest: Fix an error in last commit.
2017-03-27 08:58:23 -06:00
Gregory Nutt
a3fd7fdec0
examples/ostest: Robust mutex test needs to call pthread_mutexattr_setrobust().
2017-03-27 06:55:51 -06:00
Gregory Nutt
879d269f41
examples/ostest: Add a test of robust mutexes.
2017-03-26 14:45:48 -06:00
Brian Webb
0ad3b3c03b
Adds a test program for the XBox One controller driver (xbc_test).
2017-03-17 20:37:45 -07:00
Gregory Nutt
fca6da8248
apps/examples/usbterm: Removed because it is not very useful and because it can be configured to use an illegal call into the OS.
2017-03-09 15:37:16 -06:00
Gregory Nutt
c01db536e9
apps/examples/hidkbd: Remove call to arch_usbhost_initialize(). That is violation of the OS interfacing rules and will no longer be supported. USB host should be initialized as part of the normal board bring-up logic as with any other devices and should not involve illegal calls from applications into the OS.
2017-03-09 15:17:49 -06:00
Anton D. Kachalov
7c206fa16d
Add missed dependency
...
Signed-off-by: Anton D. Kachalov <mouse@yandex-team.ru>
2017-03-09 16:52:48 +03:00
ahb
d8199fe460
increase number of supported PWM channels from 4 to 6
2017-03-09 11:52:37 +01:00
Gregory Nutt
ca95abd311
examples/button: Clean up confusing parameter passing.
2017-03-04 08:48:49 -06:00
Masayuki Ishikawa
5382806c5a
Remove an unused variable when calling sigwaitinfo()
2017-03-02 13:41:08 +09:00
Masayuki Ishikawa
a05acc1abb
Remove an unused variable when calling sigtimedwait()
2017-03-02 13:40:43 +09:00
Gregory Nutt
9eeff9b09a
examples/canard: Remove warning for unused label
2017-02-27 09:06:45 -06:00
Gregory Nutt
f5fc7a0a29
C files that reference ANIOC_TRIGGER now need to include nuttx/analog/ioctl.h
2017-02-25 16:39:57 -06:00
Gregory Nutt
b83baa43dc
examples/stat: Add test for fstatfs().
2017-02-17 10:53:24 -06:00
Gregory Nutt
81645fe18f
strcasecmp, strncasecmp, bzero, bcmp, and bcopy should be defined in strings.h, not string.h. bzero, bcmp, and bcopy are legacy functions; the contemporary counterparts should be used instead.
2017-02-16 15:58:15 -06:00
Gregory Nutt
9b9a321637
examples/buttons: Eliminate 'too many initializers' warning.
2017-02-16 11:00:43 -06:00
Gregory Nutt
58b521183d
apps/examples/stat: Fix a copy-paste error in an ERROR message.
2017-02-13 18:21:56 -06:00
Gregory Nutt
f5b169ee8e
apps/examples/stat: Add missing decoding of S_IXOTH bit.
2017-02-13 16:57:41 -06:00
Gregory Nutt
76269d7bad
apps/examples/stat: Fix a backward conditional test. Improve output.
2017-02-13 16:46:23 -06:00
Gregory Nutt
78f92746c4
apps/examples/stat: Improve decoding of file mode.
2017-02-13 16:19:55 -06:00
Gregory Nutt
1b297d057e
apps/examples/stat: Only should memory if a leak is detected.
2017-02-13 15:24:58 -06:00
Gregory Nutt
c3c8de6b70
apps/examples/stat: Add logic to monitor memory usage.
2017-02-13 14:57:36 -06:00
Gregory Nutt
740b528199
apps/examples/stat: Add a simple test for stat(), fstat(), and statfs().
2017-02-13 14:08:19 -06:00
Gregory Nutt
ba59c15d00
examples/ostest: Add a test of setvbuf().
2017-02-09 10:58:51 -06:00
Gregory Nutt
3ab2aec4e8
New apps/examples/module and sotest configuration options
2017-01-30 09:04:01 -06:00
Gregory Nutt
b2210c3a25
In apps/examples/mtdpart/mtdpart_main.c where CONFIG_EXAMPLES_MTDPART_NPARTITIONS defining is checked should be #ifndef instead of #ifdef. Noted by Oleg Evseev
2017-01-30 07:28:51 -06:00
Gregory Nutt
de909c5c48
apps/examples/module and sotest: Update for names changes resulting when module library was split out from kernel module code.
2017-01-29 13:32:39 -06:00
Gregory Nutt
30471a90f5
Update paths in REAME file to account for new location of file
2017-01-29 09:02:07 -06:00
Gregory Nutt
bedf040698
apps/examples/sotest: Fix an error introduced in previous commit
2017-01-27 15:48:15 -06:00
Gregory Nutt
abd0362c64
apps/examples/sotest: Extend test to check out module dependencies.
2017-01-27 15:11:44 -06:00
Gregory Nutt
32211e21b6
apps/examples: Fix some name collisions of both module and sotest examples are enabled.
2017-01-27 11:41:53 -06:00
Gregory Nutt
08b6e087bf
examples/sotest: Fix file permissions of mksymtab.sh
2017-01-27 10:34:13 -06:00
Gregory Nutt
497130f372
examples/ostest: Cannot be configured or build if CONFIG_DISABLE_SIGNALS=y
2017-01-24 09:15:42 -06:00
Juha Niskanen
b169bd4641
examples/ostest: Add new error print and modify comments in cancel test.
2017-01-24 09:01:37 -06:00
Gregory Nutt
ad9cf1aa97
Update some Kconfig help
2017-01-23 15:50:37 -06:00
Gregory Nutt
e29db2721a
examples/module and examples/sotest can only be used in the FLAT build mode because they make illegal OS calls to ramdisk_register(), register_device(), and unregister_device().
2017-01-23 14:06:30 -06:00
Gregory Nutt
c027c19dde
examples/sotest: Add a test for shared libraries.
2017-01-23 08:23:28 -06:00
Gregory Nutt
d195751a90
Update NSH and examples/modules for changes in kernel module interface.
2017-01-22 15:11:49 -06:00
Gregory Nutt
91fe324c72
apps/examples/nxtext: Make line spacing configurable.
2017-01-03 12:26:13 -06:00
Gregory Nutt
13c158130d
OS test: Was ignoring CONFIG_EXAMPLES_OSTEST_FPUTESTDISABLE
2016-12-29 11:47:09 -06:00
Gregory Nutt
1636b48313
OS test: enhance pthread cancellation test some.
2016-12-11 07:51:22 -06:00
Gregory Nutt
5d48dd4871
examples/ostest: Add some delays to the pthread cancellation test. With deferred cancellation enabled, things happen more asynchronously
2016-12-10 16:41:16 -06:00
Gregory Nutt
8586535eb7
examples/ostest: Extend the pthread cancellation test to exercise pthread_cleanup_push() (and pthread_cleanup_pop() indirectly via pthread_cancel() and pthread_exit()
2016-12-08 09:28:49 -06:00
Gregory Nutt
9da9b14d8c
Remove an unused label to eliminate a warning.
2016-12-06 13:10:05 -06:00
Gregory Nutt
efedead40b
Merge branch 'master' of bitbucket.org:nuttx/apps
2016-12-06 08:55:17 -06:00
Gregory Nutt
cd6a9f8bae
Remove BOARDIOC_CAN_INITIALIZE. CAN initialization is now done in the board initialization logic just like every other device driver.
2016-12-06 08:54:38 -06:00
Gregory Nutt
188588e87b
Eliminate a warning
2016-12-06 07:16:40 -06:00
Gregory Nutt
a479f9abed
Remove all usage of BOARDIOC_ADCTEST_SETUP
2016-12-05 17:12:33 -06:00
Gregory Nutt
ba47896c0f
apps/examples/pwm: Remove BOARIOC_PWMSETUP command.
2016-12-05 14:55:41 -06:00
Gregory Nutt
7531568e6d
Remove RGMP example.
2016-12-02 09:52:44 -06:00
Gregory Nutt
8374ab4363
Correct a few things from the last commit.
2016-12-01 16:56:47 -06:00
Gregory Nutt
38e3619e21
Graphics: Remove all NX server taks. Instead, call boardctl() to the the NX server kernel thread.
2016-12-01 16:33:45 -06:00
Gregory Nutt
3cce52e361
Update comments.
2016-11-22 08:02:30 -06:00
Gregory Nutt
fcf9e8d7a0
apps/examples/archbuttons: Removed becaue it violates OS interface principles
2016-11-22 07:32:10 -06:00
Sebastien Lorquet
637283d810
The examples/qencoder app was trying to init the encoder by a direct call into the board, cheating in a local header to declare the normally unavailable function prototype.
2016-11-22 07:32:09 -06:00
Gregory Nutt
3a98b97ea6
Revert "apps/examples/ostest: Skip the task_restart() test on SMP systems. This is not fully implemented."
...
This reverts commit 0ce49462d1
.
2016-11-20 07:35:22 -06:00
Gregory Nutt
0ce49462d1
apps/examples/ostest: Skip the task_restart() test on SMP systems. This is not fully implemented.
2016-11-19 11:38:49 -06:00
Gregory Nutt
9ce4b6f82e
apps/examples/timer: Should detach signal handler before exiting.
2016-11-18 08:17:15 -06:00
Gregory Nutt
cfe6476ac2
Revert "apps/examples: Remove the timer example. It uses a non-portable IOCTL and must be purged."
...
This reverts commit dba181d0af
.
2016-11-17 15:04:14 -06:00
Gregory Nutt
dba181d0af
apps/examples: Remove the timer example. It uses a non-portable IOCTL and must be purged.
2016-11-17 11:32:28 -06:00
Gregory Nutt
a82c0202bc
examples/ostest: Eliminate some warnings
2016-10-26 07:34:30 -06:00
Gregory Nutt
f9d6e176e1
examples/cctype: Clean up KEY
2016-10-22 11:58:09 -06:00
Gregory Nutt
3d581297a3
Fix file date
2016-10-22 11:38:02 -06:00
Gregory Nutt
991defd7bb
examples/cctype: Add an example to verify cctype fucntions
2016-10-22 11:35:17 -06:00
Alan Carvalho de Assis
909a4ec2ce
Add a new buttons example that uses the button character driver instead of the architecture buttons directly
2016-10-11 14:25:55 -06:00
Alan Carvalho de Assis
f29c444363
Rename examples/buttons to examples/archbuttons
2016-10-11 14:21:08 -06:00
Gregory Nutt
8fc1529ef1
CONFIG_CL_MFR522, not CONFIG_WL_MFR522
2016-10-06 07:46:01 -06:00
Gregory Nutt
796171458f
Correct path to header file
2016-10-06 07:31:17 -06:00
Gregory Nutt
b2b8b642b9
apps/examples/system: Add necessary dependency for selected.
2016-08-25 15:31:03 -06:00
Gregory Nutt
b1d44a81b4
apps/system/system: A much larger stack is needed to run reliably on the simulation.
2016-08-25 13:22:06 -06:00
Gregory Nutt
743234ea40
apps/examples/system: Add a simple test of the system command. Fix the first bug discovered by the test.
2016-08-25 12:38:13 -06:00
Gregory Nutt
b9d56991f3
Update some comments. Remove trailing whitespace noted by Michał Łyszczek
2016-08-19 06:25:42 -06:00
Gregory Nutt
2ff22da39d
apps/examples/oneshot: A thought about how we might improve accuracy of long delays.
2016-08-15 12:54:05 -06:00
Gregory Nutt
0a6dd4a24e
apps/examples/oneshot: If the requested delay is > max_delay, then break the delay up into several pieces.
2016-08-15 11:44:52 -06:00
Gregory Nutt
d8c7a8fff8
apps/examples: Add Oneshot timer example
2016-08-12 14:20:52 -06:00
Alan Carvalho de Assis
93f7809258
Add RFID_READUID sample application
2016-08-06 09:02:57 -06:00
Gregory Nutt
6624917285
Add some dependencies on new settings in apps/examples/pipe
2016-08-04 13:23:31 -06:00
Gregory Nutt
73b0ce0272
apps/exmples/gpio: Should not claim an error if we are only asked to read an output pin
2016-08-03 13:08:58 -06:00
Gregory Nutt
fce37aeafa
apps/examples/gpio: Bug fixes from testing
2016-08-01 15:27:48 -06:00
Gregory Nutt
acbbd690f9
apps/examples/gpio: Add a simple test of the GPIO driver
2016-08-01 13:53:20 -06:00
Gregory Nutt
ac018597e4
Fix a syntax error in a Kconfig file. Update comments in another.
2016-07-29 13:12:28 -06:00
Gregory Nutt
a15bd864f5
Move include/nuttx/configdata.h to include/nuttx/mtd/configdata.h
2016-07-21 13:34:19 -06:00
Gregory Nutt
d5b7268d95
ramdisk.h moved from include/fs/nuttx/ to include/nuttx/drivers.
2016-07-20 14:02:41 -06:00
Gregory Nutt
ad9c53d0ed
pwm.h moved from include/nuttx/ to include/nuttx/drivers.
2016-07-20 13:48:54 -06:00
Gregory Nutt
0042366255
can.h moved from include/nuttx/ to include/nuttx/drivers.
2016-07-20 13:39:12 -06:00
Gregory Nutt
c25159c0fa
Driver related prototypes moved out of include/nuttx/fs/fs.h and into new include/drivers/drivers.h
2016-07-20 13:22:16 -06:00
Gregory Nutt
7d517413cb
Things that use mkfifo() and pipe() depend on CONFIG_PIPES
2016-07-20 10:46:05 -06:00
Gregory Nutt
1a6bb2a47c
apps/examples/pty_test: If CONFIG_SERIAL_TERMIOS is not selected, then don't call tcgetattr or tcsetattr.
2016-07-19 14:28:07 -06:00
Gregory Nutt
7f6a21ecac
Eliminate some warnings
2016-07-18 11:26:45 -06:00
ziggurat29
20446c9e03
minor; media app is intended to take either a command line argument, or a compiled-in default value from config. However, the default is ignored, leading to confusing error messages.
2016-07-17 15:10:26 -05:00
Gregory Nutt
7e2980bee5
Fix comment string
2016-07-17 09:39:26 -06:00
Gregory Nutt
126592b85d
apps/examples/pty_test: Use of POLL must be optional. There are still a few character drivers that do not support it.
2016-07-16 13:46:52 -06:00
Alan Carvalho de Assis
8a16e80cf3
apps/examples/pty_test: Add termios calls to convert LF to CR-LF on writes
2016-07-16 12:38:44 -06:00
Gregory Nutt
3cd17bcc7c
Fix a couple of cosmetic alignment issues
2016-07-16 11:56:17 -06:00
Alan Carvalho de Assis
49ab72d9ac
Extensions to examples/pty_test
2016-07-16 11:24:54 -06:00
Gregory Nutt
552d3c4712
PTY: Fix a few errors from early testing
2016-07-15 14:09:14 -06:00
Alan Carvalho de Assis
e3d0c6f15a
apps/examples/pty_test: PTY test program
2016-07-15 13:28:38 -06:00
Sebastien Lorquet
2cbad44f1d
This is the Pokemon patch to change all includes fronm <apps/bla/bla.h> to "bla/bla.h"
2016-07-11 10:11:18 -06:00
Matthias Renner
715fb8fa43
add canard app, untested
2016-07-08 07:55:30 -06:00
Gregory Nutt
0f1e86b2fd
apps/include/tiff.h moved to apps/include/graphics/tiff.h
2016-07-01 07:03:26 -06:00
Gregory Nutt
0e76ca7474
Move apps/include/nsh.h to apps/include/nshlib/nshlib.h
2016-07-01 06:59:23 -06:00
Gregory Nutt
cd741c82cf
apps/include: Move all header files associated with modules in apps/system to apps/include/system
2016-07-01 06:48:22 -06:00
Gregory Nutt
4343a6ef8b
Move apps/include/ftpc.h to apps/include/netutils/ftpc.h
2016-07-01 06:36:07 -06:00
Sebastien Lorquet
546c381982
apps/examplex/can: Some variables were not declared in all required cases.
2016-06-23 08:05:06 -06:00
Gregory Nutt
d32f16450d
Without lowsyslog() *llerr() is not useful. Eliminate and replace with *err().
2016-06-20 12:39:46 -06:00
Gregory Nutt
bb06f7368f
Without lowsyslog() *llinfo() is not useful. Eliminate and replace with *info().
2016-06-20 11:48:15 -06:00
Gregory Nutt
6e2f729add
Remove lowsyslog(). The new syslog() includes all of the functionality of lowsyslog(). No longer any need for two interfaces.
2016-06-20 08:57:33 -06:00
Gregory Nutt
5098539063
Add _ to front of remaining debug macros
2016-06-16 12:12:34 -06:00
Gregory Nutt
cc03ecefc8
Rename err() to _err()
2016-06-16 11:44:22 -06:00
Gregory Nutt
a63d306549
apps/examples: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition.
2016-06-14 18:23:49 -06:00
Gregory Nutt
586b0aa7e0
Change names of *dbg() * *err()
2016-06-11 15:51:27 -06:00
Gregory Nutt
f4bae25e32
Rename *lldbg to *llerr
2016-06-11 14:55:13 -06:00
Gregory Nutt
e82a54bf18
Reserver the name 'err' for other purposes
2016-06-11 14:49:55 -06:00
Gregory Nutt
468bdcf8e6
Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES
2016-06-11 14:13:39 -06:00
Gregory Nutt
344c92e2a4
Replace all occurrences of vdbg with vinfo
2016-06-11 11:55:38 -06:00
Gregory Nutt
56e75e9db8
Rename CONFIG_DEBUG_VERBOSE to CONFIG_DEBUG_INFO
2016-06-11 11:50:38 -06:00
Sebastien Lorquet
d2aa24ad88
Make sure that APPNAME is defined in all Makefiles that generate applications
2016-06-09 10:51:04 -06:00
Gregory Nutt
6c09faedd3
Merge branch 'master' of bitbucket.org:nuttx/apps
2016-06-09 09:14:14 -06:00
Sebastien Lorquet
7ca5478da3
Rearrange to eliminate Kmenu files
2016-06-09 08:59:16 -06:00
Gregory Nutt
0dfe0baf2b
apps/examples/ostest: SIG_DFL is no long assignment compatible with the sa_sigaction functin pointer.
2016-06-08 18:02:37 -06:00
Sebastien Lorquet
e9d6683402
Merge branch 'master' into recurse
2016-06-02 16:36:02 +02:00
Sebastien Lorquet
a9aa753fa4
Recursive Kconfig autogeneration
2016-06-02 16:34:00 +02:00
Sebastien Lorquet
bfff5e7179
Add empty preconfig rules to 'leaf' makefiles
2016-06-02 16:24:30 +02:00
Sebastien Lorquet
bfff7dc4ca
add kmenu files
2016-06-02 15:23:50 +02:00
Gregory Nutt
59973da9ca
apps/examples/alarm: ioctl call was clobbering file descriptor.
2016-06-02 06:58:45 -06:00
Gregory Nutt
7fff9a000a
Prep for NuttX-7.16 release
2016-06-01 15:45:56 -06:00
Sebastien Lorquet
6142ed8e61
apps/exmamples/media: Allow choosign the device to be tested via a comman line argument
2016-06-01 08:15:10 -06:00
Paul A. Patience
b2f8a0f047
examples/uavcan: Update configuration
2016-05-25 09:35:28 -04:00
Gregory Nutt
172971fb3c
Kconfig: Extend some help comments
2016-05-18 19:50:55 -06:00
Gregory Nutt
62fec5d57d
apps/system/sched_note: Move the schduler note monitor from example/ to system/
2016-05-18 19:22:47 -06:00
Gregory Nutt
4f33dd14d4
apps/examples/watchdog: Remove call to up_wdginitialize(). This must be done in board-specific initialization. The call fram application space is not permitted.
2016-05-18 19:21:51 -06:00
Gregory Nutt
6a68a12269
apps/examplessmp: Fix a place where a spurious semicolon causes bad conditional logic
2016-05-11 17:41:13 -06:00
Gregory Nutt
29e8b8e059
Several Makefiles: Add .PHONY definitions to prevent 'clean up to date' message weirdness; Add default definitions for some commonly used things when 'make clean' is used without .config or Make.defs files installed.
2016-05-10 15:40:20 -06:00
Gregory Nutt
e2654d8777
VNC: Finish initializing the VNC server once we have the NX handle
2016-04-22 13:38:06 -06:00
Gregory Nutt
3df1ea1a8a
Merge branch 'master' of bitbucket.org:nuttx/apps
2016-04-22 08:54:51 -06:00
Gregory Nutt
e79f5518dd
apps/examples/nximage: Add configuration option to select greyscale image
2016-04-22 08:54:30 -06:00
ziggurat29
5d61e3d6eb
heap corruption due to buffer overrun when initializing txbuffer; incorrect size
2016-04-20 20:23:01 -05:00
Gregory Nutt
7308fdcdf2
Framebuffer driver: Add a display number to each interface in order to support multiple displays
2016-04-14 12:23:52 -06:00
Gregory Nutt
8763ff02fb
Remove bad commit of a submodule; Also updates a README.
2016-04-06 16:42:49 -06:00
Gregory Nutt
5193d93cf5
apps/examples/alarm: Add a simple the RTC alarm ioctl commands
2016-04-03 09:19:19 -06:00
Gregory Nutt
0c124ca2e1
Fix some Kconfig files so that they authomatically select the correct BOARDCTL options
2016-03-30 07:37:45 -06:00
Gregory Nutt
0943afd2f9
Kconfig files: All USB-related options depend on CONFIG_LIB_BOARDCTRL and now set CONFIG_BOARDCTL_USBDEVCTL=y
2016-03-26 07:13:57 -06:00
Gregory Nutt
6951366eca
Replace all calls to the OS internal usbdev_serialinitialize with proper calls to boardctl()
2016-03-25 16:00:28 -06:00
Gregory Nutt
a31300cb05
Replace calls to OS internal cdcacm_*, usbmsc_*, and composite_* with boardctl() calls
2016-03-25 13:26:00 -06:00
Gregory Nutt
f45d5a7ebf
Minor changes from review
2016-03-24 11:22:24 -06:00
ziggurat29
bd273b9f13
minor; intialize buffer to well-known patter to make it easy to see if it was truly filled with random data
2016-03-24 11:43:45 -05:00
Gregory Nutt
badbb3ad9a
Update a comment
2016-03-22 18:14:08 -06:00
Gregory Nutt
a473ececed
apps/examples/sched_note: Fix some issues associated with monitoring critical sections
2016-03-21 17:09:18 -06:00
Gregory Nutt
5a95cb4601
apps/examples/sched_note: Add task state to suspend event output; fix some output formatting errors
2016-03-21 15:25:11 -06:00
Gregory Nutt
b44c9fa174
apps/examples/sched_note: Adjust example for changes to scheduler instrumentation
2016-03-21 14:09:25 -06:00
Gregory Nutt
2443278928
Fix error in time calculation
2016-03-17 16:13:43 -06:00
Gregory Nutt
6a5b6f8753
Add a simple test of the scheduler instrumentation logic. This initial version is still kind of buggy.
2016-03-17 16:02:28 -06:00
Gregory Nutt
84f453b7a1
apps/examples/ostest: Add a test of TLS
2016-03-11 14:02:00 -06:00
Gregory Nutt
4c10341269
apps/exampels/rgb: Make path to driver a configuration option
2016-02-23 07:04:54 -06:00
Alan Carvalho de Assis
855d2e70bf
apps/examples/rgbled: Add an example using the RGB LED driver
2016-02-23 06:53:35 -06:00
Gregory Nutt
6125e9376e
Standardize some naming in code section comments
2016-02-21 18:15:00 -06:00
Gregory Nutt
431695015e
apps/examples/smp: Improvements/fixes
2016-02-21 13:29:25 -06:00
Gregory Nutt
65a6739593
Add test for verifying SMP operation
2016-02-21 11:33:13 -06:00
Gregory Nutt
65a1d53079
Add some REVISIT comments
2016-02-20 14:57:37 -06:00
Gregory Nutt
ec11a454f9
apps/examples/leds: Need to better used of the supported set
2016-02-20 14:06:34 -06:00
Gregory Nutt
6037ed8643
Some fixes to apps/examples/leds
2016-02-20 13:20:22 -06:00
Gregory Nutt
790899508e
apps/examples/leds: An example showing how to use the LED driver
2016-02-20 12:11:42 -06:00
Gregory Nutt
7537a963b4
UAVCAN: Add a patch to make the verified version of UAVCAN compatible with the current NuttX code base
2016-02-15 19:11:52 -06:00
Gregory Nutt
d5c3bae6cd
apps/: Replace irqsave() with enter_critical_section(); replace irqrestore() with leave_critical_section()
2016-02-14 15:15:37 -06:00
Gregory Nutt
3ef9b14738
Move apps/examples/ubloxmodem to apps/system/ubloxmodem
2016-01-31 09:35:42 -06:00
Vladimir Komendantskiy
02a5e25f56
apps/examples/ubloxmodem: app to control the power state of the modem in nsh.
2016-01-31 09:07:46 -06:00
Vladimir Komendantskiy
387dda152c
chat app and required update to the pppd client.
2016-01-29 17:00:59 -06:00
Gregory Nutt
e00bc64c40
Trivial correction of some spacing
2016-01-23 17:04:37 -06:00
Gregory Nutt
e39c85b718
Eliminate a warning about a symbol being redefined
2016-01-23 17:03:46 -06:00
Gregory Nutt
615e640913
More bash scripts executable
2016-01-23 15:30:09 -06:00
Gregory Nutt
fff6765e63
Update some README files
2016-01-22 17:20:15 -06:00
Gregory Nutt
dd53e9ae57
Merged in paulpatience/nuttx-apps/qencoder (pull request #28 )
...
examples/qencoder: Add configuration options to Kconfig file
2016-01-19 12:55:53 -06:00
Paul A. Patience
f5da6e23cf
examples/qencoder: Add configuration options to Kconfig file
2016-01-19 13:45:33 -05:00
=?UTF-8?B?6ZmI5p6X6aOe?=
f738166b17
examples/watchdog: Some fixes to help text and ping time range
2016-01-19 06:57:34 -06:00
Gregory Nutt
6d8e81e064
examples/can: Fix to work with new CAN error reporting
2016-01-18 12:34:19 -06:00
Gregory Nutt
19efbf8b87
OS test: Mark some constants as long to avoid overflow when used the AVR8. Example, 500*1000 overflows when type int is only 16-bits, but 500*1000L avoids the overflow
2016-01-08 07:48:50 -06:00
Gregory Nutt
96ee336278
apps/examples/hello: Can now select task priority and stacksize
2016-01-06 07:47:08 -06:00
Gregory Nutt
d5f8008931
OS test: Add a test of POSIX timers using SIGEV_THREAD. Also, clean up many warnings with building on a PC with 64-bit addresses
2015-12-30 16:29:21 -06:00
Alan Carvalho de Assis
1308399564
apps/examples/pca9635: Add a simple test of PCA9635PW PWM LED driver. From Alan Carvalho de Assis.
2015-12-15 14:10:21 -06:00
Gregory Nutt
41c673d95d
apps/examples/module: cosmetic update to printf statements
2015-12-14 13:21:39 -06:00
Gregory Nutt
f0a21d3d48
NSH: Add module commands: insmod, rmmod, and lsmod
2015-12-13 09:55:52 -06:00
Gregory Nutt
d198f09ae3
Update examples/module and system/symtab to adjust to change in boardctl() and insmod() interfaces
2015-12-13 08:14:44 -06:00
Gregory Nutt
469a7fdf0f
examples/module: Update for changes in function prototypes
2015-12-12 17:43:06 -06:00
Gregory Nutt
052392f36c
examples/module. Module should not link with libc because it has out-of-range function calls
2015-12-12 14:00:34 -06:00
Gregory Nutt
ad4bcac7a0
apps/examples/module: Some fixes
2015-12-12 11:49:34 -06:00
Gregory Nutt
6c14e176d9
apps/examples/module: Now exercises rmmod as well
2015-12-12 11:40:33 -06:00
Gregory Nutt
d02295d1f2
apps/examples/module: Add a test harness for testing NuttX kernel modules
2015-12-12 09:43:32 -06:00
Gregory Nutt
ba8d44d799
netutils/telnetd: Move the Telnet driver to nuttx/drivers/net
2015-12-07 09:29:29 -06:00
Gregory Nutt
0798b5ff20
Remove more warnings
2015-11-29 15:00:52 -06:00
Gregory Nutt
ee1b1da4be
Fix some errors/warnings detected by nuttx/tools/testbuild.sh
2015-11-29 14:41:34 -06:00
Paul A. Patience
32ae747c7b
examples/serialrx: Don't print 'Received:\n' before printing bytes received
2015-11-25 10:32:20 -05:00
Gregory Nutt
c195b5415e
Merged in paulpatience/nuttx-apps/serialrx (pull request #25 )
...
examples/serialrx: Add configuration options to print the bytes received
2015-11-24 16:09:53 -06:00
Paul A. Patience
e6137fc615
examples/serialrx: Add configuration options to print the bytes received
2015-11-24 16:36:00 -05:00
Gregory Nutt
7e43708e9c
Remove unnecessary inclusion of nxtk.h
2015-11-24 07:56:20 -06:00
Ken Pettit
efbbd7bac0
examples/smart-test: Adds a circular log type test for SMARTFS wear level code testing. From Ken Petit
2015-11-22 17:22:05 -06:00
Ken Pettit
cbe1b3a415
drivers/mtd/smart.c Fixed SmartFS wear level error that occurs when the logical sector size is too small to save all wear level status bytes in a single sector. Logical sectors 1 and 2 were simply not being allocated and then the read_sector and write_sector routines were failing. From Ken Petit
2015-11-18 18:20:42 -06:00
Gregory Nutt
cfc38a45fa
Remove inclusion of removed header file
2015-11-17 16:30:57 -06:00
Gregory Nutt
f8621e623d
examples/media: If it is an MTD device, then do a bulk erase first
2015-11-13 11:30:52 -06:00
Paul A. Patience
79023fe026
examples/uavcan: Call up_cxxinitialize
2015-11-12 13:01:03 -05:00
Paul A. Patience
cadb861e7d
examples/can: Add missing configuration options
2015-11-10 17:23:19 -05:00
Gregory Nutt
7f0ff3a6db
examples/media: Add some more informative output
2015-11-10 13:35:10 -06:00
Gregory Nutt
ae8e89eed0
examples/media: Need to update position before seeking; handle the too-many-error case more gracefully
2015-11-10 11:34:33 -06:00
Gregory Nutt
a584ef09aa
examplex/media: Need to seek back to beginning of file on second pass
2015-11-09 13:33:37 -06:00
Gregory Nutt
5fdd68f014
Flesh out examples/media
2015-11-09 13:10:00 -06:00
Gregory Nutt
9ee96d1430
examples/media: Add a simple test of access to media by block and MTD drivers
2015-11-09 11:45:44 -06:00
Gregory Nutt
57050b0f82
Allow the NULL example to be used as an NSH builtin
2015-11-05 14:08:29 -06:00
Paul A. Patience
e795c6eabd
apps/examples/adc: Fix Kconfig file
2015-11-01 22:03:24 -05:00
Paul A. Patience
09ba08d6da
apps/examples/pwm: Add support for multiple output channels per timer
2015-11-01 17:14:18 -05:00
Alan Carvalho de Assis
825b721dfa
apps/examples/zerocross: Add a Zero Cross application example. From Alan Carvalho de Assis
2015-10-13 07:46:42 -06:00
Gregory Nutt
d538f48797
Add dependencies, button and timer example will only work in a flat build
2015-10-12 12:45:43 -06:00
Gregory Nutt
a512e7dc1d
Fix a loop indexing problem in all file system tests
2015-10-10 17:15:15 -06:00
Gregory Nutt
b93af2189b
Add a generic file system test at apps/examples/fstest
2015-10-10 14:18:23 -06:00
Paul A. Patience
2aeaff042d
apps/examples/uavcan: Remove call to boardctl()
2015-10-08 13:42:24 -04:00
Paul A. Patience
f24828337f
apps/examples/uavcan: Call boardctl to configure CAN GPIOs
2015-10-07 00:00:39 -04:00
Paul A. Patience
0168398831
UAVCAN: Add more options in Kconfig file
2015-10-06 21:26:30 -04:00
Gregory Nutt
aacfce081e
Fix several cosmetic, C coding style issues
2015-10-03 11:03:42 -06:00