Gregory Nutt
5c7c34f559
examples/netlink_route/netlink_route_main.c: Use options to disable individual NETLINK_ROUTE commands.
2019-11-12 10:20:26 -06:00
Gregory Nutt
449290c8da
apps/examples/netlink_route: Add test/example of NETLINK_ROUTE 'get' opeations. apps/netutils/netlib: Fixes to NETLINK_ROUTE helpers found by testing with apps/examples/netlink_route.
2019-11-11 13:40:57 -06:00
Juha Niskanen
eaeb6cc105
nshlib/Kconfig: Add missing NSH_DISABLE_DMESG, typos.
2019-11-08 07:52:22 -06:00
Alin Jerpelea
25c59ccbfe
apps/examples/charger: Simple charger example that will display on the console voltage and current values.
2019-11-04 07:29:02 -06:00
Alin Jerpelea
9675e55327
apps/examples/bmi160: Add bmi160 example app. This app will read the BM160 data and list it on the NSH console.
2019-11-04 07:28:14 -06:00
Gregory Nutt
0dde32fb43
nshlib/nsh_romfsetc.c and graphics/traveler/trv_romfs.c: Replace direct calls to romdisk_register() with indirect calls via boardioctl(BOARDIOC_ROMDISK). This not only fixes the violation of the portable POSIX OS interface, but also permits use of ROM disks in PROTECTED and KERNEL modes. There are still multiple illegal calls to romdisk_register() from code under apps/examples. These all must also be converted to use boardioctl(BOARDIOC_ROMDISK) someday.
2019-10-26 13:47:03 -06:00
Gregory Nutt
e0dff13094
apps/nshlib/Kconfig and examples/mount/Kconfig: Automatically select CONFIG_DRVR_MKRD is it is needed by the configuration.
2019-10-26 11:45:00 -06:00
Gregory Nutt
0bc798c7a9
apps/examples/mount: Replace illegal call to ramdisk_register() with a call to boardctl(BOARDIOC_MKRD).
2019-10-26 10:22:34 -06:00
Gregory Nutt
3e4db5cb40
examples/nxlines/Kconfig: Correct nxlines example program name.
2019-10-19 14:39:19 -06:00
Gregory Nutt
8cb4896bdb
apps/examples/flowc, tcpblaster, and udpblaster: Back out more changes that broke the makefiles fixed by commit 2830892424
. This applies the same fix to other Makefiles that follow that same pattern and seem to have the same breakage.
2019-10-18 16:47:57 -06:00
Gregory Nutt
2830892424
apps/examples/udp and nettest: Back out parts of commit e806097c70
that broke the build of these examples.
2019-10-18 16:24:43 -06:00
Gregory Nutt
46612fe1a9
Trivial updates from review of PR.
2019-10-18 08:59:06 -06:00
Alin Jerpelea
67ac8e63c6
Merged in alinjerpelea/apps (pull request #203 )
...
examples: RTTL player exaple
A simple RTTL player demo that is able to play tunes according to
an RTTL song
Refferences
https://en.wikipedia.org/wiki/Ring_Tone_Transfer_Language
https://cs.nyu.edu/courses/fall03/V22.0201-003/notes.htm
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-10-18 14:55:23 +00:00
Gregory Nutt
eb0b5b194f
apps/examples/nxterm/Makefile: PROGNAME, PRIORITY, STACKSIZE varialble names did not match declarations in Kconfig file.
2019-10-17 17:51:49 -06:00
Xiang Xiao
403b4a0178
In all Make.defs files, append CONFIGURED_APPS with the consistent ifeq/ifneq.
2019-10-17 11:42:49 -06:00
Xiang Xiao
7808eb62d2
apps/: In all Make.def files, append to CONFIGURED_APPS patch with the absolute path.
2019-10-17 11:33:59 -06:00
Gregory Nutt
3a23523147
Makefiles: This reverts part of commit cf0365ea9
. It restores 'conditional' inclusion of TOPDIR/Make.defs. Otherwise all make targets fail if the board has not been configured. That is okay most of the time, but not for things like clean and distclean which should not depend on being configured.
2019-10-15 09:25:48 +08:00
Anjana
da100102a7
examples/serialblaster, serialrx, udpblaster: Update to serial/UDP tests.
2019-10-11 21:23:39 +08:00
Xiang Xiao
92e7b1f400
apps/: In Makefiles remove 'INCDIROPT = -w' which is already defined in apps/Make.defs.
2019-10-07 02:53:47 -06:00
Xiang Xiao
31a7b99f9c
apps.: Remove the inappropriate NSH_BUILTIN_APPS coupling
...
1. Check NSH_NETINIT for self network initialization
2. Check NSH_ARCHINIT for sel arch specific initialization
3. Always show help regardless of NSH_BUILTIN_APPS
4. Loop forever regardless of NSH_BUILTIN_APPS, user could:
a.change the default behavior by the command line argument
b.or ctrl+c to break out the loop
2019-10-07 02:37:56 -06:00
Xiang Xiao
e806097c70
Application.mk and main.c files: Change builtin's entry point from main to xxx_main by macro expansion. This change make the entry point fully compliant with POSIX/ANSI standard.
2019-10-06 06:14:56 -06:00
Xiang Xiao
e829f047bc
apps/; Change space to tab and help to ---help--- in Kconfig files.
2019-10-05 21:37:19 -06:00
Xiang Xiao
cf0365ea92
Clean up Makefile under apps folder no functional changes.
2019-10-04 08:35:46 -06:00
Xiang Xiao
63c3772888
CONFIG_BUILD_LOADABLE: Check the kernel function callable by BUILD_KERNEL instead of BUILD_LOADABLE since BUILD_LOADABLE could be turned on even with BUILD_FLAT.
2019-10-03 14:10:32 -06:00
Xiang Xiao
9a27d4a697
Makefiles: Remove .PRECIOUS if Makefile doesn't touch libapps.
2019-10-01 11:48:55 -06:00
Gregory Nutt
13667a2f66
examples/romfs: Remove romfs_testdir.h. That file is regenerated whenever the example is built and so should not be in the repository.
2019-10-01 07:38:48 -06:00
Nathan Hartman
b2a3ba57ff
Fix typos
2019-09-11 08:59:08 -06:00
ugusto Fraga Giachero
b3057b52ef
examples/pwm/pwm_main.c: Update the pwm header path.
2019-09-02 08:01:14 -06:00
Nathan Hartman
3a75edca20
Fix minor typo/copy-paste: 'will be use when'->'will be used when'
2019-08-23 11:59:28 -06:00
Gregory Nutt
ac61c18fcc
Move apps/builtins/builtin_forindex.c to nuttx/libs/libc/builtin since it is required by kernel logic as well. Other changes account for movement of builtin.h from nuttx/include/nuttx/binfmt/built.h to nuttx/include/lib/builtin.h.
2019-08-23 09:12:45 -06:00
Manuel Stühn
88d47e469f
Merged in manuelstuehn/nuttx-apps/feature/bsd-portable (pull request #190 )
...
change all occurences of /bin/(ba)sh to /usr/bin/env bash which appears more portable
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-10 17:16:33 +00:00
Gregory Nutt
e6ba3ccff8
Update comments, README's, etc. to reflect changes to nuttx/boards directory reorganization.
2019-08-09 08:40:22 -06:00
Gregory Nutt
dd36f7ca4d
Fix paths in README.txt files which have changed due to the restructuring of nuttx/boards directory.
2019-08-05 10:22:56 -06:00
Gregory Nutt
2a8dccb75d
Change name configs/ to boards/ in comments, Documentation, Tools, etc.
2019-08-05 07:33:16 -06:00
Gregory Nutt
eef399b369
apps//examples/uid/uid_main.c: Corrections/updates from futher testing.
2019-08-04 14:38:07 -06:00
Gregory Nutt
1fc73b2d45
apps/examples/uid: Demo used to verify PASSWD and GROUP interfaces.
2019-08-04 08:54:08 -06:00
Nathan Hartman
d6a3beadfb
Remove 'executable' bit on several files
2019-08-01 14:19:02 -06:00
Gregory Nutt
b3c705d70c
examples/dac/dac_main.c: Fix warning found in build testing. Also lots of coding standard violations.
2019-07-28 17:52:28 -06:00
Gregory Nutt
9e1cda95fb
Cosmetic fixes to spacing.
2019-07-27 08:49:34 -06:00
Nathan Hartman
3a21b0b222
apps/examples/webserver/webserver_main.c: Init network & run forever only if not builtin app. Infer from CONFIG_NSH_BUILTIN_APPS if we are a NSH built-in app or not. If built-in app (CONFIG_NSH_BUILTIN_APPS defined) then we assume network is initialized prior to webserver starting and we exit on webserver failure. If running standalone (CONFIG_NSH_BUILTIN_APPS is undefined) then behavior is unchanged: webserver initializes network and runs forever.
2019-07-26 11:04:05 -06:00
Alan Carvalho de Assis
d868e2f726
apps/examples/chrono: Add chronometer apps example.
2019-07-17 12:48:39 +02:00
Masayuki Ishikawa
b12b61df69
Merged in masayuki2009/nuttx.apps/fix_webserver (pull request #179 )
...
apps/examples/webserver: Fix to compile with CONFIG_NETUTILS_HTTPD_SENDFILE=y
Also, in this PR, some configs such as CONFIG_NETUTILS_HTTPDFILESTATS
can be selected by menuconfig.
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-03 12:20:29 +00:00
Gregory Nutt
18a8032c4d
examples/vl53l1x: Remove. The driver does not compile.
2019-06-29 06:28:40 -06:00
Juan Flores
94ac7dceab
examples/vl53l1x: Add VL53L1X example demo.
2019-06-28 15:07:13 -06:00
Alan Carvalho de Assis
656157399d
industry/abnt_codi, include/industry/abnt_code.h, examples.abntcodi: Adds support for ABNT CODI library. This is an energy meter protocol used in Brazil.
2019-06-15 08:38:04 -06:00
Gregory Nutt
a38c85dbaa
Fix a warning found in build testing.
2019-05-25 12:11:12 -06:00
Gregory Nutt
dd35a7cacc
apps/: Removed all references to CONFIG_DISABLE_POLL. The standard POSIX poll() can not longer be disabled.
2019-05-21 19:08:12 -06:00
Gregory Nutt
73ab5e2750
Remove some cases in Kconfig files of 'comment' with 'depends on'. That is probably a good practice. I removed these because (1) is not done elsewhere so it is just an inconsistency, and (2) the HTML generation tool at nuttx/tools/kconfig2html.c would need to be extended to parse that case. I don't have time to do that now.
2019-05-19 09:49:50 -06:00
Gregory Nutt
e76bfbb74e
Squashed commit of the following:
...
apps/graphics/twm4nx: Other toolbar buttons need to be disabled while resizing. Lots of problems if you decide to iconify or exit while resizing. CResize now disables all buttons except for the RESIZE button while resizing.
apps/graphics/twm4nx: Add an event and logic to support notification of changes in the size of a window to NxTerm.
Various updates to adapt to change in boardctl() interface.
apps/graphics/twm4nx: Correct an error in the NxTerm resize logic
apps/graphics/twm4nx: Update debug output when failures to send a message occur. The returned value of -1 is not interested, need to show the errno value instead.
apps/graphics/twm4nx: Correct the maximum size of a message. Recent changes caused message send failures because a message exceed that previous maximum size.
apps/graphics/twm4nx: Fix routing of redraw events.
2019-05-16 13:51:57 -06:00
Gregory Nutt
8f5944c4a8
Squashed commit of the following:
...
include/ and netutils/: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
nshlib/: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
system/: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
testing/: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
examples/: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
2019-04-29 14:53:38 -06:00