Commit Graph

1297 Commits

Author SHA1 Message Date
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
Gregory Nutt
aeabc12536 apps/examples/mld: Fix incorrect format of IPv6 Mulitcast address. This resolves the UPD sendto() problem of commit 09691dd48f that was being blamed on the UDP stack. Nope.. cockpit error. 2018-11-07 18:19:09 -06:00
Xiang Xiao
cddfda99f0 apps/netutils/pppd: Refine and fix pppd code.
Reviewers note:  Reviewing the changes I also see that these file did not follow the NuttX codings standard.  I ran all files through nuttx/tools/indent.sh, manually reviewed all files for coding style issues.  I also changed occurrences of non-standard types u8_t, u16_t, and u32_t to the standard uint8_t, uint16_t, and uint32_t.
2018-11-07 12:43:42 -06:00
Xiang Xiao
c1f0653c85 apps/netutils/chat and apps/examples/chat: 'constify' chat variables and parameters 2018-11-07 11:55:09 -06:00
Gregory Nutt
09691dd48f apps/examples/mld: Add logic to set up the routing table before attempting to send the multicast packet. Still some problem, probably in NuttX stack: Still reports that the the multicast address is unreachable. 2018-11-07 10:43:03 -06:00
Gregory Nutt
dc02239347 apps/examples/mld/mld_main.c: Improve test by periodically dumping the content of /proc/net/mld (if available). 2018-11-06 10:41:01 -06:00
Daniel P. Carvalho
bc4735ce2a apps/examples/ina226: Added INA226 example 2018-11-05 16:45:00 -06:00
Gregory Nutt
74ac55308c examples/mld/mld_main.c: ifdef out some bogus logic in the test. 2018-11-05 09:39:55 -06:00
Gregory Nutt
44e2505038 apps/examples/mld: Add a test of MLD. Not much of a test, but it does provide a mechansim for some low-level bring-up operations. 2018-11-04 18:21:32 -06:00
Alan Carvalho de Assis
47e647c56a examples/mlx90614/mlx90614_main.c: Include support to change device address on mlx90614 2018-11-02 07:07:36 -06:00
Gregory Nutt
a26a7f9767 apps/netutils/netlib and apps/examples/igmp: Adapt to use the corrected, semi-standard version of struct ip_msfilter. 2018-10-29 06:51:56 -06:00
Alan Carvalho de Assis
3a4faf944a apps/examples/mlx90614: Add mlx90614 test example 2018-10-28 16:04:15 -06:00
Gregory Nutt
a579bab48a apps/system/progmem: Remove this utility. It makes illegal direct calls into the OS. 2018-10-19 11:44:41 -06:00
Gregory Nutt
f7895ef681 apps/examples/fstest: Add configuration option to customize stack size. Detect when the media is full and stop writing files. Report total file size. 2018-09-29 11:52:39 -06:00
Gregory Nutt
6aacb3e03f apps/examples/fstest: Fix coding error in last commit. 2018-09-29 07:47:46 -06:00
Gregory Nutt
4e6b356123 apps/examples/fstest/Kconfig: SPIFFS GC and integrity check option interferes SPIFFS. Appears to corrupt the file system. Now marked EXPERIMENTAL. 2018-09-28 20:07:40 -06:00