Commit graph

53121 commits

Author SHA1 Message Date
Gregory Nutt
8f1399e0cd Trivial typo fix 2015-07-08 13:45:48 -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
babbd4438c SAMD21-Xplained: Refresh configuration and update status in README 2015-07-06 11:08:07 -06:00
Gregory Nutt
56e4189a73 SAMD21: Correct some GCLK ID definitions for SERCOM 2015-07-06 09:26:49 -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
a5e185569d Refresh configuration 2015-07-05 09:06:57 -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
0dc58cf594 Update NSH uname command documentation 2015-07-05 06:52:02 -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
04b73b58a8 Add a name string for custom boards. Used onlyby uname() 2015-07-05 06:44:06 -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
f7ba1b1eeb Remove all references to the dedunct CONFIG_SYSTEM_SYSINFO configuration from all defconfig files 2015-07-04 15:19:11 -06:00
Gregory Nutt
d37011281e Document the NSH uname command 2015-07-04 15:18:06 -06:00
Gregory Nutt
ef5531b30b 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
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
f652c770cd Refresh configuration 2015-07-04 12:46:50 -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
350925ea8e Add poweroff and reboot NSH commands as alternatives to the shutdown command 2015-07-04 12:44:38 -06:00
Gregory Nutt
588f20558e The NSH shutdown option should be called --reboot, not --reset, for compatibility with the statndard shutdown command 2015-07-04 11:39:57 -06:00
Gregory Nutt
638f0329fe The NSH shutdown command now supports the --reset option, if available in hardware 2015-07-04 11:11:36 -06:00
Gregory Nutt
724c1eacaa 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
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
70b6085927 Add support for a BOARDIOC_RESET boardctl() command 2015-07-04 10:36:47 -06:00
Gregory Nutt
48dee66356 Remove obsoleted CONFIG_SYSTEM_POWEROFF from configurations. The NSH shutdown command should be available instead 2015-07-04 09:05:59 -06:00
Gregory Nutt
d890c18c56 Update submodules 2015-07-04 08:46:14 -06:00
Gregory Nutt
36ddd9f691 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
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
0f1894bf1c Document the new NSH shutdown command 2015-07-04 08:23:23 -06:00
Gregory Nutt
b1e9b0026d Refresh submodules 2015-07-04 08:18:30 -06:00
Gregory Nutt
2760ca1cda Enable CONFIG_BOARD_POWEROFF=y. Now you can use the NSH shutdown command to terminate the NSH session 2015-07-04 08:17:40 -06:00
Gregory Nutt
749907cbbe 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
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
8db3a7a13e 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
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
149fc3f79e Update README 2015-07-04 07:24:35 -06:00
Gregory Nutt
37e681f89a Implementment board_power_off() for the simulation platform. 2015-07-04 07:22:38 -06:00
Gregory Nutt
4c54db68bd Implementment board_power_off() for the simulation platform. 2015-07-04 07:22:38 -06:00