Commit Graph

11766 Commits

Author SHA1 Message Date
Gregory Nutt
d8d4ab8c10 The libc versions of get/sethostname should just call the internal net/netdb versions in the flat build. In the protected and kernel builds, sethostname is a system call but gethostname calls uname() to get the hostname 2015-07-05 10:45:00 -06:00
Gregory Nutt
6380832ab7 Move the header of set/sethostname from libc/unisted to net/netdb. This is OS internal stuff 2015-07-05 10:43:37 -06:00
Gregory Nutt
c19fd13291 gethostname() should not be the system call, uname() should and gethostname should get the host name from uname 2015-07-05 10:41:58 -06:00
Gregory Nutt
5f2a181599 Add conditional definition for MIN macro needed in last commit 2015-07-05 09:08:45 -06:00
Gregory Nutt
fc5281e2a1 get/sethostname: Add a critical section. There is a microscopic possibily that the global name could change while being accessed by a thread 2015-07-05 08:50:51 -06:00
Gregory Nutt
f31a96cfbf Add system calls for gethostname and sethostname 2015-07-05 08:42:32 -06:00
Gregory Nutt
e1c306f2dd Add support for sethostname 2015-07-05 08:42:32 -06:00
Gregory Nutt
6576672e09 uname: version string must hold 40 character value; strings returned by uname must always be NUL terminated 2015-07-05 06:46:00 -06:00
Gregory Nutt
ffd0d12b04 Refresh submodules 2015-07-04 15:21:48 -06:00
Gregory Nutt
10ec4737c2 Use strncpy instead of strcpy in uname() 2015-07-04 15:20:36 -06:00
Gregory Nutt
31476394bc SAMD21: Last fix to header files caused a compile problem because logic used a value which is no longer available for the SAMD21 2015-07-04 13:18:30 -06:00
Gregory Nutt
772bcb845e Refresh submodules 2015-07-04 12:47:07 -06:00
Gregory Nutt
7f02472f5b Refresh submodules 2015-07-04 12:46:03 -06:00
Gregory Nutt
c61aaa1fb9 Refresh submodules 2015-07-04 12:45:06 -06:00
Gregory Nutt
049224f544 Add support for a BOARDIOC_RESET boardctl() command. Enable configuration options to support BOARDIOC_RESET for ARMv6-M and ARMv7-M 2015-07-04 10:39:24 -06:00
Gregory Nutt
d890c18c56 Update submodules 2015-07-04 08:46:14 -06:00
Gregory Nutt
6b51eca309 Simulatin: Save the intial terminal mode and restore this before terminating. Otherwise, the NSH shutdown command leaves the console in raw mode 2015-07-04 08:43:10 -06:00
Gregory Nutt
b1e9b0026d Refresh submodules 2015-07-04 08:18:30 -06:00
Gregory Nutt
b9b8b34bca sim configuration: Add support for board_app_initialize() which is needed when CONFIG_LIB_BOARDCTL=y 2015-07-04 08:16:45 -06:00
Gregory Nutt
ceda8bc73d Add a board_app_initilize() stub function needed by the simulatin when CONFIG_LIB_BOARDCTL=y 2015-07-04 07:35:14 -06:00
Gregory Nutt
8be9b1071c Update submodules 2015-07-04 07:25:12 -06:00
Gregory Nutt
4c54db68bd Implementment board_power_off() for the simulation platform. 2015-07-04 07:22:38 -06:00
Gregory Nutt
f235144989 SAMD20/1: Fix some typos found by inspecting header files 2015-07-04 07:19:52 -06:00
Gregory Nutt
ee21a3ad77 Update submodule configs 2015-07-03 15:45:26 -06:00
Gregory Nutt
be09a87c0e SST25: Eliminate some warnings 2015-07-03 14:38:33 -06:00
Gregory Nutt
9f3663152d Fix a typo in script echo output 2015-07-03 14:38:16 -06:00
Gregory Nutt
5300347e9e PIC32 USB device: Fix some backward conditional compilation; fix some warnings 2015-07-03 14:37:46 -06:00
Gregory Nutt
a08b8f94c0 PIC32 SPI: Fix some backward conditional compilation 2015-07-03 14:36:56 -06:00
Gregory Nutt
74b4aaa265 MIPS32 header: Missing comma in prototype. How did that happen 2015-07-03 14:36:19 -06:00
Gregory Nutt
3e04194edd SAM4L: GPIO interrupts are not yet supported; can't compile sam_gpioirq.c yet 2015-07-03 09:33:52 -06:00
Gregory Nutt
bd69415963 Fix a typo 2015-07-03 07:52:57 -06:00
Stavros Polymenis
701509f9bd Add implementations of uname() and gethost(). From Stavros Polymenis. 2015-07-03 07:50:27 -06:00
Gregory Nutt
d6eacb3ab5 Power off support now depends on CONFIG_ARCH_HAVE_POWEROFF 2015-07-03 06:53:51 -06:00
Gregory Nutt
c0946bfd7d Correct some issues introduced in the last commit 2015-07-02 17:54:05 -06:00
Gregory Nutt
27ea02a85f Modify board_power_off() so that is is called only via boardctl() 2015-07-02 17:09:54 -06:00
Gregory Nutt
064b4923c6 Move prototype of board_power_off() to include/nuttx/board.h where it belongs 2015-07-02 16:25:31 -06:00
Gregory Nutt
9db4d7da94 STM32 RTCC: Eliminate a warning when ALARM support is enabled 2015-07-02 15:02:59 -06:00
Gregory Nutt
bcb4b6503f Update configs 2015-07-02 12:20:01 -06:00
Gregory Nutt
0f0800de25 Add a dummy arch_invalidate_icache because for symmetry in the naming of cache operations 2015-07-02 11:13:23 -06:00
Gregory Nutt
c9870f1960 Update README 2015-07-02 11:12:44 -06:00
Gregory Nutt
a7efa2fa2b Update ChangeLog 2015-07-02 09:40:06 -06:00
Max Neklyudov
14e742b108 Implement WNOHANG for waitpid() only and for the case of CONFIG_SCHED_HAVE_PARENT not selected. From Max Neklyudov. 2015-07-02 09:34:58 -06:00
Gregory Nutt
ce6291b579 Update ChangeLog 2015-07-02 08:22:28 -06:00
Sebastien Lorquet
c9649b5f04 STMPE811: I found that, in stmpe811_instanciate(), when CONFIG_STMPE811_MULTIPLE is enabled, and the call to stmpe811_checkid() fails, then the linked device list is not restored to its previous state. From Sebastien Lorquet. 2015-07-02 08:19:29 -06:00
Gregory Nutt
7ba6beb38d Update sub-module configuration 2015-07-01 19:31:08 -06:00
Gregory Nutt
8fa6ecc1b9 Remove a warning 2015-07-01 18:25:13 -06:00
Gregory Nutt
09c7373f24 Fix misc. compilation error/warning detected by tools/testbuild.sh 2015-07-01 14:33:37 -06:00
Gregory Nutt
8c5bae60d9 tools/testbuild.sh: Add an option to select the type of C++ size_t in new operator 2015-07-01 14:32:59 -06:00
Gregory Nutt
c1d12c5063 Update ChangeLog 2015-07-01 11:58:16 -06:00
Gregory Nutt
8fbac280e9 drivers/net/slip.c: Fix a missed name change when many of network interface names changed sometime back but were apparently never updated for SLIP 2015-07-01 11:58:06 -06:00