Commit Graph

11780 Commits

Author SHA1 Message Date
Gregory Nutt
b22769cd14 Update ChangeLog 2015-07-09 12:11:02 -06:00
Alessandro Temil
3eb14f3999 Correct some LPC4350 GPIO pin configurations. From Alessandro Temil 2015-07-09 12:09:00 -06:00
Gregory Nutt
2be9bfa40a gethostbyname() should succeed for matches on host name aliases as well 2015-07-09 09:14:42 -06:00
Gregory Nutt
3971d97332 Update ChangeLog 2015-07-09 08:27:08 -06:00
Sebastien Lorquet
b947002d6a This commit adds:
-headers in nuttx/ioexpander to define the "generic" ioexpander framework
-files in drivers/ioexpander for the implementation of the NXP PCA9555 framework
-bindings in drivers/Kconfig and drivers/Makefile

From Sebastien Lorquet
2015-07-09 08:27:07 -06:00
Gregory Nutt
434eeefe52 inet_pton and ntop need to support IPv4 and IPv6 addressing unconditionally for the netdb logic 2015-07-08 16:45:42 -06:00
Gregory Nutt
d58d668f86 Fix an addressing problem in host file read logic 2015-07-08 16:25:16 -06:00
Gregory Nutt
1cd4ef1730 Fix an assertion 2015-07-08 16:00:50 -06:00
Gregory Nutt
299782e8ec Add support for gethostbyaddr() 2015-07-08 14:33:23 -06:00
Gregory Nutt
72701d753b Remove some whitespace at the end of lines 2015-07-08 13:42:36 -06:00
Gregory Nutt
1b1e34e1d5 libc: Add gethostbyname(). Untested on initial commit 2015-07-08 13:40:52 -06:00
Gregory Nutt
f94fe747ae Undo part of a previous change. Move get/sethostname back from net/netdb to libc/unistd 2015-07-08 11:11:52 -06:00
Gregory Nutt
4e98d01098 SAMD21: Correct some GCLK ID definitions for SERCOM 2015-07-06 09:26:49 -06:00
Gregory Nutt
fca919f3d2 Networking: Fix some compilation issues noted with network is build with CONFIG_BUILD_KERNEL 2015-07-05 11:18:56 -06:00
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