Commit Graph

30023 Commits

Author SHA1 Message Date
Gregory Nutt
a12ff2836c Fixes from review of last PR 2017-06-21 10:15:23 -06:00
Anthony Merlino
cf53c9767e Merged in merlin17/nuttx/ieee802154 (pull request #415)
wireless/ieee802154: Minor naming change to align better with coding guidelines

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-06-21 16:11:12 +00:00
Gregory Nutt
26cfafdbca Back out a previous (good) change in hope of eliminating PR conflict. 2017-06-21 10:10:13 -06:00
Gregory Nutt
0d290904af Renaming in hope of eliminating a conflict with a pending PR. 2017-06-21 10:08:25 -06:00
Gregory Nutt
a53be51733 6LoWPAN: Correct an error in calculating the location of the UDP header. 2017-06-21 09:17:47 -06:00
Gregory Nutt
e2195077d4 Merge remote-tracking branch 'origin/master' into ieee802154 2017-06-21 08:22:07 -06:00
Gregory Nutt
a3bb6fc139 clicker2-stm32/mrf24j40-6lowpan: Network now runs on LP work queue. 2017-06-21 08:20:51 -06:00
Gregory Nutt
e7e8228b00 Missing option to select CONFIG_MAC802154_NNOTIF in Kconfig 2017-06-21 07:35:09 -06:00
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
0c3aef9591 Trivial typo fix 2017-06-21 06:48:13 -06:00
Gregory Nutt
6618336a39 pthread_mutex_unlock(): Missing check for the case where pthread_mutex_lock() is called when the mutex is not locked. In that case, it would increment the underlying semaphore avove 1. This is the fix for a problem noted by initialkjc@yahoo.com. 2017-06-21 06:40:09 -06:00
Anthony Merlino
9b2df31adc ieee802154: Fixes Kconfig naming for number of TX desc and number of notifications 2017-06-21 01:00:42 -04:00
Anthony Merlino
45a32a116b wireless/ieee802154: Minor naming change to align better with coding guidelines 2017-06-20 19:14:05 -04:00
Gregory Nutt
cca0013674 Fix some backward arguments in the debug statement 2017-06-20 16:06:35 -06:00
Gregory Nutt
691442a7df Merge branch 'ieee802154' 2017-06-20 15:09:18 -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
David Sidrane
345ea957cf Merged in david_s5/nuttx/upstream_kinetis (pull request #414)
Kinetis:I2C fixed mis-placed kinetis_i2c_endwait

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-06-20 20:22:17 +00:00
David Sidrane
839a6e09f4 Kinetis:I2C fixed mis-placed kinetis_i2c_endwait
Fixed accedently replaced post with wait.
2017-06-20 10:01:35 -10: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