Commit Graph

11936 Commits

Author SHA1 Message Date
Sebastien Lorquet
9c9b6162d8 PCA9555: Extend interface to include methods for reading more than one bit at a time. From Sébastien Lorquet. 2015-07-10 10:33:07 -06:00
SP
a5b68bb3c9 Correct a typo in configure.sh usage string 2015-07-10 08:54:25 -06:00
Gregory Nutt
07e9a02af9 Forgot to add two files in previous commit 2015-07-10 08:46:13 -06:00
Gregory Nutt
b7bc6ce598 Update ChangeLog 2015-07-10 08:45:35 -06:00
Gregory Nutt
59cc4a7a7b Protected mode: Redesign how the user space heap is accessed from the kernel code. It used to call memory management functions in user space via function pointers in the userspace interface. That is inefficient because the first thing that those memory management functions do is to trap back into the kernel to get the current PID. Worse, that operation can be fatal is certain fragile situations such as when a task is exitting.
The solution is to remove all of the memory management function calls from the interface.  Instead, the interface exports the userspace heap structure and then kernel size implementations of those memory management functions will operate on the userspace heap structure.  This avoids the unnecessary system calls and, more importantly, failures do to freeing memory when a test exits.
2015-07-10 08:37:02 -06:00
Alessandro Temil
da1c2cd112 More changes to LPC3450 pin configuration: The hardware ETM pins will not toggle unless the SLEW FAST bit is set. From Alessandro Temil. 2015-07-09 13:36:22 -06:00
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