Commit Graph

29174 Commits

Author SHA1 Message Date
Gregory Nutt 5f5c82aa11 Add all network IOCTLs to include/sys/ioctl.h 2017-04-28 12:32:03 -06:00
Gregory Nutt e3d865f6c2 In last changed to poll(),cConverted timeout to unsigned to eliminate the possibility of overflow of signed overflow. 2017-04-28 11:02:54 -06:00
Jussi Kivilinna 37ca797d1c vfs/poll: round timeout up to next full tick. Calling poll() with timeout less than half tick (thus MSEC2TICK(timeout) => 0) caused returning error with EAGAIN. Instead of rounding timeout down, value should be rounded up. Open Group spec for poll says: "Implementations may place limitations on the granularity of timeout intervals. If the requested timeout interval requires a finer granularity than the implementation supports, the actual timeout interval will be rounded up to the next supported value." 2017-04-28 08:42:37 -06:00
Gregory Nutt 9431fb1d91 STM32L4: I2C was not using current interrupt handling parameter passing logic. 2017-04-28 08:21:02 -06:00
Juha Niskanen b4d2651ca9 STM32L4: stm32l4_i2c: add I2C4 code 2017-04-28 08:09:16 -06:00
Jussi Kivilinna d928b4271d net/socket: fix cloning of local and raw sockets 2017-04-28 08:00:36 -06:00
Gregory Nutt d1fc0040d7 STM32F103-Mininum: Rename an incorrectly named file. 2017-04-27 17:57:37 -06:00
Gregory Nutt 4910e073cb Correct use of _WLIOC where _WLCIOC is required. 2017-04-27 17:16:02 -06:00
Gregory Nutt 2e6908b384 IOCTLS. Separate wireless character driver IOCTL commands from wireless network driver IOCTL commands. Move from wireless.h to ioctl.h. 2017-04-27 16:58:30 -06:00
Gregory Nutt b608afc484 STM32F0: Fix some missing settings in the clock configuration logic 2017-04-27 15:44:05 -06:00
Gregory Nutt a7dc83b70d Update a README file. 2017-04-27 09:26:12 -06:00
Gregory Nutt 92d761dfe3 STM32F0 Serial: Costmetic changes to spacing. 2017-04-27 09:15:18 -06:00
Sebastien Lorquet c3119f06a2 Update STM32L4 README.txt file. 2017-04-27 08:37:14 -06:00
Gregory Nutt 8a6871b215 Merge branch 'master' of bitbucket.org:nuttx/nuttx 2017-04-27 07:27:25 -06:00
Juha Niskanen f1b71e3ae7 TM32L4: Add some defines for the new peripherals in STM32L496 parts 2017-04-27 07:26:32 -06:00
Juha Niskanen 8a6662c957 TM32L4: Add some defines for the new peripherals in STM32L496 parts 2017-04-27 07:25:20 -06:00
Juha Niskanen 707d1e67fc STM32, STM32F7, STM32L4: Remove incorrect comment about STM32L1 LSE/RTC/LCD 2017-04-27 07:18:36 -06:00
Masayuki Ishikawa bef0271e58 Merged in masayuki2009/nuttx.nuttx/bug_fix_by_sony (pull request #335)
binfmt: Fix offset value when calling elf_read() in elf_symname()
2017-04-26 21:28:30 +00:00
Gregory Nutt 1cdc90914e network IOCTLs: Correct a compilation error when wireless IOCTLs are enabled. 2017-04-26 12:31:13 -06:00
Jussi Kivilinna e835803166 yslog: use monotonic clock for timestamp when available 2017-04-26 10:38:15 -06:00
Gregory Nutt 2f9028b547 Remove all remaining references to setenv.h and setenv.bat. 2017-04-26 10:28:37 -06:00
Gregory Nutt 9aac1dd44d configs: Remove all setenv.bat files. Remove all references to setenv.sh and setenv.bat from all config README files. 2017-04-26 10:12:13 -06:00
Gregory Nutt 1620ff05f4 Remove all setenv.sh files. 2017-04-26 07:49:37 -06:00
Gregory Nutt 232fbf7f00 CONFIG_DEBUG_HARDFAULT should be available for Cortex-M0 too. configs/nucle-f072rb/nsh: Correct amount of available SRAM in defconfig. 2017-04-26 07:45:40 -06:00
Yasuhiro Osaki dd2efb909a binfmt: Fix offset value when calling elf_read() in elf_symname()
Jira: PDFW15IS-1650
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2017-04-26 14:46:34 +09:00
Masayuki Ishikawa a84ee7e8b7 Merged nuttx/nuttx into master 2017-04-26 14:45:15 +09:00
Juha Niskanen 06e4c4aedd STM32L4: add support for the STM32L496XX family 2017-04-25 08:47:50 -06:00
Masayuki Ishikawa 7ded9dffe2 Merged in masayuki2009/nuttx.nuttx/bug_fix_by_sony (pull request #334)
procfs: Fix incorrect uptime with CONFIG_SYSTEM_TIME64
2017-04-25 02:18:21 +00:00
Masatoshi Tateishi ae8d5821e0 procfs: Fix incorrect uptime with CONFIG_SYSTEM_TIME64
Jira: PDFW15IS-45
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2017-04-25 10:58:38 +09:00
Masayuki Ishikawa 795b4e963d Merged nuttx/nuttx into master 2017-04-25 10:57:15 +09:00
Gregory Nutt 3c1d85af32 Update a README 2017-04-24 09:43:30 -06:00
Masayuki Ishikawa 745d862f53 Merged in masayuki2009/nuttx.nuttx/bug_fix_by_sony (pull request #333)
sched: Fix CHILD_FLAG_EXITED in include/nuttx/sched.h

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-04-24 11:30:59 +00:00
Nobutaka Toyoshima c6376006f6 sched: Fix CHILD_FLAG_EXITED in include/nuttx/sched.h
Jira: PDFW15IS-196
Jira: PDFW15IS-1109
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2017-04-24 15:08:39 +09:00
Masayuki Ishikawa 46fa234292 Merged nuttx/nuttx into master 2017-04-24 15:06:47 +09:00
Masayuki Ishikawa 6de298f77b Merged in masayuki2009/nuttx.nuttx/bug_fix_by_sony (pull request #332)
USBMSC: Fix a wrong lun number issue

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-04-24 01:53:09 +00:00
Masatoshi Tateishi 80e22691fa USBMSC: Fix a wrong lun number issue
Jira: PDFW15IS-98
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2017-04-24 09:48:49 +09:00
Masayuki Ishikawa 33923d962d Merged nuttx/nuttx into master 2017-04-24 09:39:20 +09:00
Gregory Nutt ca7d88f6bb SAM3/4: Fix a few more naming differences noted by Alan Carvalho de Assiss. 2017-04-23 08:14:49 -06:00
kc_dtm db9143b2bd SAM3/4: Remove inappropriate semicolon. 2017-04-23 07:21:44 -06:00
Gregory Nutt eb1d4ca774 SAM3/4: Fixed configurations for TWI master. Obviously an incomplete port from SAMA5. 2017-04-23 07:17:55 -06:00
Gregory Nutt a55e937643 Correct mispelling 2017-04-22 17:03:34 -06:00
Gregory Nutt 7da031aea1 6loWPAN: Add IEEE802.15.4 Rime address to union of link layer addresses in the network driver. 2017-04-22 11:52:45 -06:00
Gregory Nutt 79256573e1 net: network drver now retains Ethernet MAC address in a union so that other link layer addresses may be used in a MULTILINK environment. 2017-04-22 11:10:30 -06:00
Gregory Nutt 1d4aee87a0 6loWPAN: Separate MAC-related definitions from sixlowpan.h. Put in ieee802154.h 2017-04-22 10:33:06 -06:00
Gregory Nutt 0184bf6787 Correct type in a cast 2017-04-21 18:42:13 -06:00
Gregory Nutt 7c6f2c3c9a Back out most of ebf05cb9f5 2017-04-21 18:31:05 -06:00
Gregory Nutt d5207efb5a Be consistent... Use Name: consistent in function headers vs Function: 2017-04-21 16:33:14 -06:00
Gregory Nutt 2c4800f511 Remove the 6loWPAN PANID IOCTLs they are redundant. 2017-04-21 14:17:46 -06:00
Jussi Kivilinna 33ddaa0b10 clock: add testing for 32-bit overflow of 64-bit system timer 2017-04-21 08:55:07 -06:00
Jussi Kivilinna c57d49f420 clock: Add new type ssystime_t for relative 64-bit ticks, change ticks<->time conversion functions to use ssystime_t 2017-04-21 08:51:31 -06:00