Commit Graph

1312 Commits

Author SHA1 Message Date
raiden00pl
0a6726bc3e Merged in raiden00/apps (pull request #174)
Small fixes

examples/pca9635/pca9635_main.c: fix compilation

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-04-28 11:33:21 +00:00
Gregory Nutt
ad7f76f3a8 apps/examples/pwfb: Fix more cursor-related problems. Currently cursor is presented but the system dies due to memory corruption. 2019-04-10 15:00:36 -06:00
Gregory Nutt
fa05ad35e1 app/examples/pwfb: Add options to reduce the number of windows. This is helpful during debug to reduce the complexity. 2019-04-10 12:33:31 -06:00
Gregory Nutt
99382df286 apps/examples/pwfb: Extend example to verify software cursors. Untested on initial commit. 2019-04-10 09:24:08 -06:00
Matthew Koch
f09bc1a01b Squashed commit of the following:
Add note to file header of MIT-licensed code
    Compat for older kconfig
    Fixup OOB build experience
    Apply coding standards to imported code
    Upgrade littlevgl to 5.3 - demo
    Upgrade littlevgl to 5.3
2019-04-08 06:57:42 -06:00
Gregory Nutt
61eb262142 Various graphics apps: If CONFIG_VNCSERVER=y, don't vnc_default_fbinitialize() directly. That is a violation of the portable POSIX interface. Instead, call boardctl(BOARDIOC_VNC_START);. 2019-04-02 07:06:06 -06:00
Gregory Nutt
11b6bc9447 exmamples/, graphics/NxWidgets: Update NX window clients so that they use the new 'event' callback (vs. the obsoluted 'blocked' callback). 2019-03-25 13:01:52 -06:00
Matthew Koch
fab0ac6e82 Merged in mjkoch/apps/fb (pull request #172)
Add some awareness of overlays to apps/examples/fb

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-03-25 17:09:25 +00:00
Gregory Nutt
25528de5c7 examples/nxhello/nxhello_main.c: Fix trivial typo in printf statement. 2019-03-22 14:47:22 -06:00
Gregory Nutt
e26d78f40a This commit adds apps/examples/pwlines, another test of the pw-window framebuffer lgoic.
Squashed commit of the following:

    apps/examples/pwlines:  The example is complete and verified.

    apps/examples/pwlines:  A little more progress between distractions.

    apps/examples/pwlines:  Beginning of another per-window framebuffer test/examples.
2019-03-20 12:36:46 -06:00
Gregory Nutt
1a6c6e2eb4 Minor typo in README 2019-03-19 12:17:30 -06:00
Gregory Nutt
431333ad16 apps/examples/nxlines/nxlines_bkgd.c: Fix a bad, copy-paste comment. 2019-03-19 08:17:14 -06:00
Gregory Nutt
1bdb63b742 apps/examples/pwfb: Add a toolbar to the example windows. 2019-03-18 12:14:49 -06:00
Gregory Nutt
6513d9107c Update a README file. 2019-03-18 08:15:58 -06:00
Gregory Nutt
16b55d05be apps/examples/pwfb/pwfb_main.c: Fix typo in printf text 2019-03-17 14:39:04 -06:00
Gregory Nutt
13555f30f9 Squashed commit of the following:
apps/examples/pwfb: Solve a race condition by changin some relative priorities.  Also removes a delay kludge that used as a workaround.

    apps/examples/pwfb:  Add rate control.  Examples becomes unstable at high update rates.
2019-03-17 13:51:03 -06:00
Gregory Nutt
11d7ac7abe apps/examples/pwfb/pwfb_motion.c: Trivil spacing fix. 2019-03-17 11:38:59 -06:00
Gregory Nutt
c534f38358 apps/examples/pwfb/pwfb_events.c: Trivial typo in printf() 2019-03-16 17:36:25 -06:00
Gregory Nutt
51befb3fa7 apps/examples/pwfb/pwfb_main.c: Temporarily work around a race condition by adding a delay. 2019-03-16 15:54:08 -06:00
Gregory Nutt
9cd5d5c9ac apps/examples/pwfb: Change b32_t's to b16_t's; don't need so much precision. Some improvements to motion. Add VERBOSE debug output. Still lots of bugs. 2019-03-16 14:14:20 -06:00
Gregory Nutt
98b4394c9d This commit adds a test example at apps/examples/pwfb that will be used for testing the per-window framebuffer feature. The test does not work correctly yet.
Squashed commit of the following:

    apps/examples/pwfb:  Fixes compile and early debug issues.

    apps/examples/pwfb:  Code complete!

    apps/examples/pwfb:  Flesh out the motion logic.

    apps/examples/pwfb:  Add an example/test case that will, eventually be used verify the per-window framebuffer logic.  This is not even code complete at this point.
2019-03-16 12:27:45 -06:00
Gregory Nutt
d33ce2c3ae graphics: nx_openwindow() and nxtk_openwindow() now accept an addtional 'flag' parameter. This argument is not used at present but will, eventually enable a RAM backed, per-window framebuffer. 2019-03-13 12:33:13 -06:00
Gregory Nutt
e063e93f77 apps/examples/nxterm: NxWM passed the size of the NxTK sub-window but nxterm example passed the size of the complete NxTK window. They must be made consistent. 2019-03-09 13:17:22 -06:00
Gregory Nutt
e4e00f716f apps/examples/sx127x_demo/Kconfig: Fix misplaced 'if' 2019-03-07 18:08:31 -06:00
Alan Carvalho de Assis
c019c9d7af apps/examples/modbusmaster/mbmaster_main.c: eMBMasterRegHoldingCB cannot be static. 2019-03-07 16:11:45 -06:00
Gregory Nutt
53e6f4bf13 apps/examples/nxterm, graphics/NxWidgets: Replace illegal direct calls to nxterm_redraw() and nxterm_kbdin() with new boardctl() calls. 2019-03-06 15:23:02 -06:00
Gregory Nutt
6529a8444a apps/examples/nxterm: Most configuration options were not available in the Kconfig file. 2019-03-06 12:52:22 -06:00
Gregory Nutt
061b4338c9 apps/examples/nxterm and graphics/NxWidgets/nxwm: Replace direct calls to nxtk_register with legal, indirect calls via boardctrl(BOARDIOC_NXTERM). Replace calls to (deleted) nxterm_unregister(). The correc way to delete a driver is by unlink'ing it. 2019-03-06 10:53:13 -06:00
raiden00pl
81c7bdd2a1 Merged in raiden00/apps/lora (pull request #170)
examples: add sx127x demo

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-02-25 17:00:11 +00:00
Gregory Nutt
9c05f6540b Some updates due to NuttX renaming: CONFIG_BOARD_INITIALIZE is not CONFIG_BOARD_LATE_INITIALIZE; board_initialize() is now board_late_initialize(). 2019-02-18 13:16:23 -06:00
Michał Łyszczek
5a1fdaae54 apps/examples/ini_dumper: New example program. ini_dumper is example program that dumps content of ini file in pretty ascii table. It is using inih ini library in fsutils/inih. 2019-02-18 07:44:32 -06:00
Michał Łyszczek
c8106558d1 app/sexamples/embedlog: This example program presents most usefull features of embedlog library and how to use them. 2019-02-15 07:24:29 -06:00
Gregory Nutt
b2f46360de apps/: Remove/replace all conditional logic based on CONFIG_NSOCKET_DESCRIPTORS == 0. That value is always greater than zero now. In places just replace with #ifdef CONFIG_NET. 2019-02-11 16:23:55 -06:00
Gregory Nutt
9db029e318 The file system can no longer be disabled. Remove all conditional logic based on CONFIG_NFILE_DESCRIPTORS==0 2019-02-11 13:10:10 -06:00
Gregory Nutt
43e79ac329 Update for corrected name of standard header file. Should be dlfcn.h, not dllfcn.h. I am surprised no one ever noticed before now. 2019-02-09 14:10:16 -06:00
Alan Carvalho de Assis
87f42accc6 apps/eamples/modbusmaster: Add Simple Modbus master example. This example only supports Read/Write HoldingRegisters, but it is easy to extend it to support Read/Write Input/Coils/etc. Originally creatd bey Vytautas in 2016 and updated with minor fixes for this commit. 2019-02-02 08:17:36 -06:00
Xiang Xiao
ff54c47e64 Follow up the kernel signal-related change in:
examples/oneshot/oneshot_main.c:
  examples/alarm/alarm_main.c:
  examples/ajoystick/ajoy_main.c
  examples/djoystick/djoy_main.c
  examples/buttons/buttons_main.c
  examples/zerocross/zerocross_main.c
  graphics/traveler/src/trv_input.c
  graphics/ft80x/
2019-01-27 09:48:29 -06:00
Gregory Nutt
def2c19c68 testing/cxxtest: Move examples/cxxtest to testing. 2019-01-24 15:05:16 -06:00
Gregory Nutt
60dc0a8f2b testing/: Move all file system tests from examples/ to testing/ (fstest, nxffs, smart, smart_test). 2019-01-24 14:44:54 -06:00
Gregory Nutt
b71f6d07ac apps/testing/smp: Move apps/examples/smp to apps/testing/smp 2019-01-23 14:21:13 -06:00
Ken Pettit
c776901ac2 apps/examples/pdcurses: Minor fixes to examples/pdcurses apps to support multi-threading, cleanup RAM, etc. 2019-01-05 13:28:06 -06:00
Alan Carvalho de Assis
25c0387c44 apps/examples/battery: Add Battery Charger Monitor Example 2019-01-04 12:15:05 -06:00
Gregory Nutt
0c615ed586 Fix a few typos. 2018-12-27 08:48:52 -06:00
Masayuki Ishikawa
9b548e8ea2 Merged in masayuki2009/nuttx.apps/add_dep_to_smp (pull request #162)
apps/examples/smp: Add dependency on SMP in Kconfig

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>

Approved-by: GregoryN <gnutt@nuttx.org>
2018-12-25 14:15:16 +00:00
Gregory Nutt
1ea316b46c apps/testing: Move apps/examples/ostest to apps/testing/ostest. 2018-12-12 16:37:38 -06:00
Alan Carvalho de Assis
7ddbe8c235 Various initialization functions in configs/: Change /dev/slcd to /dev/slcd0 for consistency 2018-11-25 14:01:37 -06:00
Gregory Nutt
e88a529010 From patch attached to nuttx/ Bitbucket Issue #136 from Vlado Vidovic:
The patch provided in issue 135, which adds support for HTTP Chunked Encoding, covers all paths in the webserver app except CGI callbacks. As a result, if a page being served happens to use CGI, it could generate stream content that does not comply with HTTP Chunked Encoding.

The patch attached amends the webserver app's CGI callbacks to use the HTTP Chunked Encoding sender function instead of using send() directly.
2018-11-23 17:29:07 -06:00
Gregory Nutt
f5e399670f apps/examples/webserver/Kconfig: The webserver "app" allows for DHCP client to be enabled. However, the Kconfig infrastructure does not contain EXAMPLES_WEBSERVER_DHCPC config.
Based on patch from "Anonymous" attached to Bitbucket Issue #130
2018-11-08 18:48:28 -06:00
wangyanjiong
bd86d9c8b8 apps/examples/gpio: Align with gpio driver update 2018-11-08 07:50:42 -06:00
anchao
3432acf7c4 apps/: Rename BINFMT_EXEPATH to LIB_ENVPATH. 2018-11-08 07:31:52 -06:00