Commit Graph

30008 Commits

Author SHA1 Message Date
Gregory Nutt
4931792700 Make naming of NTXDESC consistent. I don't know where it should be MAC or IEEE, gut I changed the one that affects the fewest files. 2017-06-21 06:56:34 -06:00
Gregory Nutt
cca0013674 Fix some backward arguments in the debug statement 2017-06-20 16:06:35 -06:00
Gregory Nutt
22257c41cb Merge remote-tracking branch 'origin/master' into ieee802154 2017-06-20 15:08:41 -06:00
Gregory Nutt
cd8ac3f070 ieee802154 MAC: Free allocated TX descriptor if an error occurs after the descriptor has been allocated. 2017-06-20 15:00:23 -06:00
Gregory Nutt
d9f549121c ieee802154_req_data: Don't modify the IOB until we are certain that no EINTR errors will occur. Otherwise, the retry will fail 2017-06-20 14:27:22 -06:00
Gregory Nutt
5de74441a6 Costmetic change from review of last PR 2017-06-20 13:33:14 -06:00
David Sidrane
1ee03d7500 Merged in david_s5/nuttx/upstream_kinetis (pull request #413)
Kinetis:I2C driver added I2C3, reference counting and reset

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-06-20 19:31:38 +00:00
Gregory Nutt
192bacbd7f ieee802154 network driver now retries if ieee802154_req_data() returns EINTR. In clicker2-stm32 6LoWPAN configuration, increased the number of TX descriptors to match then number of IOBs. 2017-06-20 13:30:17 -06:00
David Sidrane
9e0f583774 Kinetis:I2C driver added I2C3, reference counting and reset
Refactored the driver to support reference counting and reset
   added I2C3
2017-06-20 08:34:12 -10:00
Sebastien Lorquet
0bf4893b2c STM32: Allow clock frequencies > 168 Mhz on stm32f427/429. We need to enable the power overdrive for this case. This patch allows the required bits to be set in proper sequence. It also modifies the local register access operations to allow more than 16-bit registers. 2017-06-20 11:56:54 -06:00
Gregory Nutt
d3b9ea9d66 Trivial.. missing newlines in debug output 2017-06-20 11:50:04 -06:00
Gregory Nutt
e0b1bb6c5f 802.15.4 MAC: Fix some errors in the previous commit. 2017-06-20 11:33:03 -06:00
Gregory Nutt
a82ab4b729 mac802154_req_data() can return without releasing the exclsem 2017-06-20 11:23:31 -06:00
Gregory Nutt
6dafb4f532 6LoWPAN: Add debug statements; Update configuration, need to specific 6LoWPAN compatible port numbers. 2017-06-20 10:37:32 -06:00
Juha Niskanen
326ab01a91 STM32 F7: Set I2C4 SDA and SCL pins to open drain mode 2017-06-20 08:06:30 -06:00
Juha Niskanen
2c548a4e58 STM32 L4: I2C4 was writing to wrong RCC registers 2017-06-20 08:04:09 -06:00
Gregory Nutt
47ad81b3e5 Trivial spelling fix 2017-06-20 08:02:42 -06:00
Pekka Ervasti
2eb782961f STM32 L4: Set I2C SDA and SCL pins to open drain mode. 2017-06-20 07:59:27 -06:00
Gregory Nutt
68a2b84277 Update a README 2017-06-19 16:01:35 -06:00
Anthony Merlino
03ace84b34 Merged in merlin17/nuttx/ieee802154 (pull request #412)
wireless/ieee802154: Cleans up some endianness issues and fixes poll request issue

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-06-19 21:37:02 +00:00
Anthony Merlino
0603d34ad9 wireless/ieee80215: Fixes poll request issue 2017-06-19 15:55:14 -04:00
Anthony Merlino
fc4f1de766 wireless/ieee802154: Cleans up some endianness issues 2017-06-19 15:55:14 -04:00
Gregory Nutt
dc8eec0b61 Merge branch 'ieee802154' 2017-06-19 13:37:19 -06:00
Gregory Nutt
c5ae864624 /configs/clicker2-stm32/mrf24j40-6lowpan: Enables both client and server UDP tests on the target; Update a README file. 2017-06-19 13:28:48 -06:00
Oleg Evseev
8082a5d3dc Merged in lukegluke/nuttx (pull request #411)
Use struct instead of pointer to the struct as sizeof argument in memset in usbmsc.c

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-06-19 17:51:11 +00:00
Gregory Nutt
476ca8238b Update TODO list and some defconfigs. 2017-06-19 10:56:34 -06:00
Oleg Evseev
794ecbfd86 Use struct instead of pointer to the struct as sizeof argument in memset in usbmsc.c
Otherwise it leads to error: argument to 'sizeof' in 'memset' call is the same pointer type 'struct usbmsc_lun_s *' as the destination
2017-06-19 19:45:35 +03:00
Gregory Nutt
94b607bda0 Update TODO, enable UDP example in clicker1-stm32/mrf24j40-6lowpan example, make sure that CONFIG_EXAMPLES_UDP_NETINIT is set in all other examples/udp configurations. 2017-06-19 09:59:10 -06:00
Gregory Nutt
90adeb49b7 Merge branch 'ieee802154' 2017-06-19 08:04:12 -06:00
Gregory Nutt
8782e6e561 Merge remote-tracking branch 'origin/master' into ieee802154 2017-06-19 07:53:57 -06:00
Jussi Kivilinna
a1ee9547f3 stm32_adc: invalidate dma buffer before use. Missing invalidation caused old samples being fetched from cache. 2017-06-19 07:52:19 -06:00
Gregory Nutt
25689d911c Some changes from review of last PR 2017-06-19 07:48:26 -06:00
Roland Takacs
175a49a746 Merged in rtakacs/nuttx/fix_getsockname (pull request #410)
Support listening sockets in the getsockname function

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-06-19 13:36:52 +00:00
Roland Takacs
7f59908864 Merged in rtakacs/nuttx/fix_tcp_listen (pull request #409)
Throw error when error happens in the tcp_listen function

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-06-19 13:33:46 +00:00
Gregory Nutt
cd82d03ddf IEEE 802.15.4/6LoWPAN: Correct one more usage of saddr; also update a README and the TODO list. 2017-06-19 07:31:52 -06:00
Gregory Nutt
f685f30fb2 Changes from review of last PR 2017-06-19 07:04:08 -06:00
Anthony Merlino
df660628a6 Merged in merlin17/nuttx/ieee802154 (pull request #408)
Swithches IEEE 802.15.4 based code to using byte arrays instead of uint16_t values for short address and PAN ID

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-06-19 12:49:12 +00:00
Roland Takacs
bea5140156 Support listening sockets in the getsockname function 2017-06-19 13:17:05 +02:00
Roland Takacs
4c163cf43b Throw error when error happens in the tcp_listen function 2017-06-19 12:23:35 +02:00
Anthony Merlino
b1ce07deb1 Swithches IEEE 802.15.4 based code to using byte arrays instead of uint16_t values for short address and PAN ID 2017-06-19 05:55:28 -04:00
Gregory Nutt
cfea8adacb L should be capitalized in 6LoWPAN 2017-06-18 16:00:08 -06:00
Gregory Nutt
de6999ad88 Update coding standard (with some other misc. changes to procfs strings) 2017-06-18 15:52:50 -06:00
Gregory Nutt
58c85705c0 Merge branch 'ieee802154' 2017-06-18 15:27:29 -06:00
Gregory Nutt
536cf4f8d6 Merge remote-tracking branch 'origin/master' into ieee802154 2017-06-18 15:27:15 -06:00
Gregory Nutt
84a75996fb IEEE 802.15.4 Network Driver: Add logic to setup the network mask, update the MAC-based IPv6 addressing when the network is brought up. The idea is that addressing changes are supposed to occur only while the network is down but won't take effect until the network is up again. 2017-06-18 15:26:56 -06:00
Gregory Nutt
6162a84f80 ieee 802.15.4: Need counting protection on the logic that releases the notification resources. Otherwise, notification handlers may be operating with a stale pointer. 2017-06-18 13:33:07 -06:00
Gregory Nutt
50df37931d ieee802.15.4: Missing one name change 2017-06-18 11:29:09 -06:00
Gregory Nutt
2d4ba3ee3f IEEE 802.15.4 MAC: Add list management and prioritization logic that will permit the MAC layer to support bound multiple clients. 2017-06-18 11:00:47 -06:00
Mateusz Szafoni
623d8a4337 Merged in raiden00/nuttx (pull request #407)
stm32_hrtim

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-06-18 16:48:12 +00:00
raiden00pl
c29c4e2ec2 stm32_hrtim: remove unneeded definitions 2017-06-18 18:08:25 +02:00