Commit Graph

4255 Commits

Author SHA1 Message Date
Xiang Xiao
598420a477 fsutils/passwd/passwd_lock.c: Use named semaphore by checking CONFIG_FS_NAMED_SEMAPHORES instead of CONFIG_KERNEL_BUILD. 2019-10-04 08:49:11 -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
4b49362719 apps/Makefile: Make libapps overwritable. 2019-10-03 14:07:17 -06:00
Xiang Xiao
1342426431 Application.mk: Support the ability to change the CFLAGS for the compilation of a single file. Set special compiler options as follows the rule:
sourcefile + fixed suffix "_[A|C|CPP|CXX]FLAGS"

apps/examples/hello/Makefile:
  $(SRCDIR)/hello_main.c_CFLAGS = -DTEST
2019-10-03 06:52:25 -06:00
Xiang Xiao
e73ca15c99 Makefiles: Change ${shell pwd} to $(CURDIR) since pwd doesn't exist on Windows 2019-10-02 07:06:50 -06:00
Xiang Xiao
f7229b24fe apps/wireless Makefiles: Utilize Directory.mk for consistency. 2019-10-01 11:56:42 -06:00
Xiang Xiao
9a27d4a697 Makefiles: Remove .PRECIOUS if Makefile doesn't touch libapps. 2019-10-01 11:48:55 -06:00
Xiang Xiao
18bd9acd3d apps/Makefile: Move APPDIR set to the first and remove APPDIR from command line but ensure TOPDIR/BINDIR are always set in command line. 2019-10-01 11:46:38 -06:00
Xiang Xiao
c73af9c3c8 apps/Makefile: Change BIN_DIR to BINDIR to follow nuttx style. 2019-10-01 11:43:40 -06:00
Xiang Xiao
031a5270d0 apps/Makefile: Remove EXE_DIR and put binary into bin folder like nuttx 2019-10-01 11:42:18 -06:00
Xiang Xiao
b75e7bc32e tools/mksymtab.sh: Include nuttx/symtab.h instead of nuttx/binfmt/symtab.h. 2019-10-01 08:04:06 -06:00
Xiang Xiao
5d6681dc9f Remove the duplicated build script files from apps/impor/tools. These will now be copied from nuttx/tools when the export package is created. 2019-10-01 07:51:01 -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
Xiang Xiao
420a8f0794 import/Makefile's: Remove symbol table generation from imports/Makefile to avoid the confusion with the official method. 2019-10-01 07:28:58 -06:00
Nathan Hartman
664e8a1410 Fix minor typos in docs and comments. 2019-09-29 12:53:39 -06:00
Gregory Nutt
e1d262e5d9 system/symtab: Remove system/symtab since the same functionality exist in nuttx now. 2019-09-28 11:05:31 -06:00
Xiang Xiao
70e7fafaed Revert netutils/netlib: correct ICMPv6 socket create error. This reverts commit 0bcd3b76280ad100b2d0f7d813fa6d970f54b4f4. 2019-09-20 12:47:04 -06:00
ligd
2c34489e81 netutils/netlib/netlib_autoconfig.c: Correct ICMPv6 socket create error. 2019-09-15 08:40:05 -06:00
Gregory Nutt
64bf39fd71 Update NuttX-8.1 release date in the ChangeLog. 2019-09-14 09:55:57 -06:00
Gregory Nutt
ec555b5af2 Update ChangeLog in preparation for the NuttX-8.1 Release. 2019-09-13 11:54:59 -06:00
Gregory Nutt
3457c30c33 apps/nshlib: Fix some typos and minor coding staqndard problems. 2019-09-12 15:38:53 -06:00
Nathan Hartman
b2a3ba57ff Fix typos 2019-09-11 08:59:08 -06:00
Nathan Hartman
6a6e9d1aa8 NxWidgets::CGraphicsPort: Fix small typo 2019-09-08 16:02:15 -06:00
ugusto Fraga Giachero
b3057b52ef examples/pwm/pwm_main.c: Update the pwm header path. 2019-09-02 08:01:14 -06:00
Masayuki Ishikawa
104d7f3716 Merged in masayuki2009/nuttx.apps/gs2200m_supports_SIOCGIFHWADDR (pull request #199)
wireless/gs2200m/gs2200m_main.c: ioctl_request() supports SIOCGIFHWADDR

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

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-09-02 01:53:29 +00:00
Pavel Pisa
aa6d5106e7 Makefile: Added support for application-specific export target. Used by nuttx/tools/mkexport.sh. 2019-08-30 07:27:34 -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
David Alessio
839efa6669 Merged in david_alessio/apps/bugfix/i2ctool-dev-clobbers-slave-config (pull request #198)
Bugfix/i2ctool dev clobbers slave config

* friendlier I2C "knock-knock" uses only read request

    While many I2C slave devices have multiple indexed registers, some have
    only one register and it's not indexed.  For example, the I2C bus switch
    TCA9548A has only a Control Register, attempting to index to "Reg[0]"
    alters its contents to 0x00 disabling all subordinate buses.  This patch
    fixes that problem by simply trying to read something/anything from the
    slave.  This also helps coax out slaves with register files that start
    from a higher index, i.e. the AT24CS0x, FLASH chips with a UUID that
    appears as a 2nd I2C slave at (address+8), report their serial number at
    Reg[80]-Reg[8F] and will NAK a read of Reg[0].

* modify get/set to prevent write of reg index if not specifed

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-20 20:29:21 +00:00
Masayuki Ishikawa
811086ff85 Merged in masayuki2009/nuttx.apps/dhcpc_host_name (pull request #197)
netutils/dhcpc: Add host name support to dhcp client

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

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-14 11:29:18 +00:00
Anthony Merlino
144a0180e2 Merged in antmerlino/apps/i8sak-eaddr2ip-fix (pull request #196)
i8sak: Fixes conversion from extended address to IPv6 address.

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-13 21:19:53 +00:00
Anthony Merlino
ba5b1c78da Merged in antmerlino/apps/i8sak-energy-scan (pull request #195)
wireless/ieee802154/i8sak: Adds support for energy scan result printout.

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-13 21:19:29 +00:00
Anthony Merlino
c68dd23509 Merged in antmerlino/apps/i8shark_fcs_suppresion (pull request #194)
i8shark: Adds support for intentionally suppressing passing the FCS so that Wireshark doesn't try to validate it.

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-10 18:26:33 +00:00
Anthony Merlino
6228b43a72 Merged in antmerlino/apps/i8sak-seteppanid (pull request #193)
i8sak: Allow setting the endpoint PAN ID

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-10 18:18:34 +00:00
Anthony Merlino
906f77a62d Merged in antmerlino/apps/libmac_fcslen (pull request #192)
wireless/ieee802154/libmac: Adds support for getting/setting the FCS length

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-10 18:17:54 +00:00
Anthony Merlino
401860c122 Merged in antmerlino/apps/i8sak-fix (pull request #191)
wireless/ieee802154/i8sak: Fixes naming caused by naming change in nuttx

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-10 18:16:42 +00: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
b118c96a33 Update configurations instructions in README.txt files to show ':' delimiter vs '/' delimiter. 2019-08-05 17:01:49 -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
Gregory Nutt
735644766f apps/fsutils/passwd: Handle the improved the format of the /etc/passwd format. It is now a little similar to other systems. 2019-08-03 10:37:27 -06:00
Nathan Hartman
da4c2461a6 apps/README.txt: Fix typos. 2019-08-02 12:36:22 -06:00
Dave Marples
bf9a5180cd apps/system/cle/cle.c: ASCII DEL should be treated by Delete-Left. 2019-08-01 15:26:49 -06:00
Nathan Hartman
d6a3beadfb Remove 'executable' bit on several files 2019-08-01 14:19:02 -06:00
Masayuki Ishikawa
1980c30738 Merged in masayuki2009/nuttx.apps/gs2200m_with_dhcp (pull request #189)
wireless/gs2200m: Add dhcp client handlings in ioctl_request()

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

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-30 10:51:07 +00:00
Gregory Nutt
49e08ca3a9 apps/nshlib/nsh_fsutils.c: As noted by David S. Alessio, 'cat' should not output any additional newline at the end of the cat'ed file content. This was done to assure that the NSH prompt was presented on a new line. However, that is not the correct behavior of 'cat' per the IEEE std: "The standard output shall contain the sequence of bytes read from the input files. Nothing else shall be written to the standard output." Reference: https://pubs.opengroup.org/onlinepubs/009695399/utilities/cat.html
This commit changes the function nsh_catfile() which underlies the 'cat' command and well as other NSH commands.  Although this is the correct behavior for 'cat' it may not be the correct behavor for other commands implemented via nsh_catfile().  That remains to be determined.
2019-07-29 20:49:39 -06:00