Commit Graph

1101 Commits

Author SHA1 Message Date
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