Commit Graph

4334 Commits

Author SHA1 Message Date
liuhuahang
ee53a90fa5 apps/netutils/ntpclient/Kconfig: NTP client should depend on NET_SOCKOPTS. 2019-12-05 07:09:27 -06:00
Gregory Nutt
57f99a6fb7 Make.defs: When building MODULES under Cygwin, the path to libapps.a that is passed to the Windows linker must first be converted with cygpath. 2019-12-04 11:01:43 -06:00
Masayuki Ishikawa
eac7ebe476 Merged in masayuki2009/nuttx.apps/getprime (pull request #207)
apps/testing/getprime: Add getprime program to check multi-thread performance

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

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-12-04 11:50:46 +00:00
Xiang Xiao
0343ea1a1b examples/udpblaster/Makefile: change UDPBLASTER_PROGNAME to CONFIG_UDPBLASTER_PROGNAME to fix the compile error:
apps\include" -Dmain  udpblaster_target.c -o  udpblaster_target.o
<command-line>:0:6: error: expected identifier or '(' before numeric constant
udpblaster_target.c:196:5: note: in expansion of macro 'main'

int main(int argc, FAR char *argv[])
2019-12-02 08:19:07 -06:00
Gregory Nutt
9f1aa3c3dc apps//examples/netlink_route: Correct format when printing ARP table entries. 2019-11-28 16:28:41 -06:00
Gregory Nutt
eff1633886 Remove apps/grephics/traveler 2019-11-25 16:21:00 -06:00
Gregory Nutt
9667060914 Remove apps/system/sudoku. 2019-11-25 16:14:47 -06:00
kyChu
23d2785b19 system/spi/Kconfig: Simultaneous with Dave Marples patch, kyChu submitted a nearly equivalent change with PR 206. In have enhanced Dave Marples change with some good things form kyChu's PR. 2019-11-25 07:49:31 -06:00
Dave Marples
12224806dc system/spi/Kconfig: This patch fixes a missing definition in the spitool when SPI is enabled with command/data switching. 2019-11-25 07:41:14 -06:00
Gregory Nutt
e89a1aa54d README.txt: Update to include a description of the 'dmesg' command which was apparently never documented. 2019-11-21 12:23:50 -06:00
Gregory Nutt
3ebf71095e Remove all support for the ancient Pascal compiler and pcode interpreter. 2019-11-21 07:04:34 -06:00
qiaohaijiao
c084cd820c apps/system/nxplayer and nxrecorder: apps/nxplayer&nxrecorder: Add nuttx shell support. Use system() function to support shell command in nxplayer and nxrecorder applications. 2019-11-20 07:41:05 -06:00
Gregory Nutt
1859f56380 apps/netutils/netinit, apps/netutils/netlib/, and apps/include/netutils/netlib.h: Extend a few definitions to permit building netutils and netinit with only Netlink sockets enabled. 2019-11-19 09:49:36 -06:00
Gregory Nutt
91b6ad6a0d ChangeLog.txt: Update anticapted release year for nuttx-8.3 2019-11-14 16:02:20 -06:00
Gregory Nutt
434d97ce68 Update ChangeLog in preparation for the 8.2 release. 2019-11-14 12:34:01 -06:00
Gregory Nutt
370bd94a6b netutils/netlib/netlib_getdevs.c: Add comments and a placeholder for the RTM_NEWROUTE response. 2019-11-12 10:37:40 -06:00
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
Xiang Xiao
0276088d5a apps/system/usrsock_rpmsg/usrsock_rpmsg_server.c: Fix usrsock_rpmsg_server.c:554:7: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized]. 2019-11-11 09:06:18 -06:00
Xiang Xiao
b4482370cf Make.defs: Fix nuttxtoolsunlink.sh: Command not found. 2019-11-11 09:04:10 -06:00
Gregory Nutt
438777cd38 netutils/netlib/netlib_getroute.c: Add function to retrieve routing tables using netlink. 2019-11-10 12:36:34 -06:00
Gregory Nutt
e260ea779c apps/netutils/netlib/netlib_getnbtab.c: Add a utility function that will return a list of all network devices in the UP state. 2019-11-09 17:38:02 -06:00
chao.an
6bdc814836 apps/system/usrsock_rpmsg/Make.defs: Correct configured application name. 2019-11-09 10:03:24 -06:00
Gregory Nutt
2507cc15e8 netutils/netlib/netlib_getnbtab.c: Add support for retrieving a snapshot of the IPv6 neighbor table using Netlink sockets. 2019-11-08 11:30:32 -06:00
Jianli Dong
caecdd6079 apps/system/usrsock_rpmsg: Add rpmsg based usrsock implementation. 2019-11-08 09:32:45 -06:00
Juha Niskanen
eaeb6cc105 nshlib/Kconfig: Add missing NSH_DISABLE_DMESG, typos. 2019-11-08 07:52:22 -06:00
Gregory Nutt
f4f1ddccd7 netutils/netlib/netlib_getarptab.c: Per an old Linux Journal article, the nl_pid fild of struct sockaddr_nl should be set to the PID of the task that created the Netlink socket. Also fixes a warning. 2019-11-07 14:08:03 -06:00
David Alessio
91276ba94e apps/system/cu/cu_main.c: (1) Fix early exit. getc(stdin) can return 0 the first time around. (2) Set optind to zero. getopt() was being left in a bad state, causing parsing errors on second use. (3) Fix priority of cu_listen(). (4) Add suppor for -h. 2019-11-05 07:07:02 -06:00
Gregory Nutt
de9101a1d9 apps/netutils/netlib/netlib_getarptab.c: Fix typos in comments. 2019-11-04 12:31:13 -06:00
Dave Marples
dbd4e67241 apps/system/cle/cle.c: This commit modifies the cle to use the streams file interface more consistently and has removed the observed race conditions. It was previously a mix of streams and fileio. It also simplifies the VT100 cursor position handling. 2019-11-04 11:35:18 -06:00
Gregory Nutt
af6719d78d netutils/netlib/netlib_getarptab.c: Do not initialize response buffer, it is write-only. Also add a check to assue that the sequence number in the response is the same as the sequence number in the request. 2019-11-04 09:04:17 -06:00
Gregory Nutt
75c9ed72d1 apps/nshlib/README.txt: Update README to at least mention the new pmconfig command. 2019-11-04 07:48:51 -06:00
ligd
42aaecf1d1 apps/nshlib: Add new NSH command, 'pmconfig'. 2019-11-04 07:44:33 -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
eca2171ab5 apps/nshlib/nsh_netcmds.c: Fix some alignment in output of 'arp -t' command. 2019-11-03 20:10:56 -06:00
Gregory Nutt
b65c3dac0e netutils/netlib/netlib_getarptab.c: Misc fixes from initial testing with the 'arp -t' commeand. 2019-11-03 19:29:20 -06:00
Gregory Nutt
400995dec6 nshlib/nsh_netcmds.c: Add a -t option to the arp command which will enable printing the entire ARP table. 2019-11-03 16:19:14 -06:00
Gregory Nutt
768218ee81 netutils/netlib/netlib_getarptab.c: Add a function to read the entire ARP tableusing NETLINK_ROUTE protocol. 2019-11-03 15:13:47 -06:00
Gregory Nutt
29160741d8 apps/nshlib/README.txt: Update to include the new rptun command. 2019-11-03 09:50:13 -06:00
Gregory Nutt
c3dd0b9c06 apps/nshlib/README.txt: Update to include the new rptun command. 2019-11-03 09:44:02 -06:00
ligd
611bc6c139 apps/nshlib: Add rptun cmd for boot remote core. 2019-11-03 09:36:49 -06:00
Xiang Xiao
93017735ef apps/nshlib/nsh.h: nsh: Remove the redundant check for netcmd. Checking FS_PROCFS and FS_PROCFS_EXCLUDE_NET is enough and make the type of network device could be shown by ifconfig. 2019-11-03 09:33:57 -06:00
Xiang Xiao
7f653a87f7 Makefile: Fix warning: jobserver unavailable: using -j1. Add '+' to parent make rule. 2019-10-29 07:55:02 -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
06acc559a1 apps/nshlib: Tighten up some of the conditional logic for mkrd. 2019-10-26 12:26:16 -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
c8a066f699 apps/nshlib/nsh_fscmds.c: The NSH mkrd command was in violation of the NuttX portable POSIX interface. it was calling the internal OS function ramdisk_register() directly. No only is this a violation of the interface specification, but also prevents use of mkrd in PROTECTED or KERNEL buils.
With this commit, the NSH mkrd command now used the BOARDIOC_MKRD boardctl() command.  This command is availabe in all build modes.  The effect of this change is to move the hear of the NSH mkrd command into to OS and provide user-space access via boardctl().
2019-10-26 09:42:51 -06:00
Gregory Nutt
3e4db5cb40 examples/nxlines/Kconfig: Correct nxlines example program name. 2019-10-19 14:39:19 -06:00