Commit Graph

2632 Commits

Author SHA1 Message Date
Gregory Nutt
e4c0b889d7 Cosmetic fix to some spacing 2017-07-21 07:52:07 -06:00
Gregory Nutt
2bb3ad2e98 USB MSC: Add missing logic to define endpoints. The composite changes broke the the non-composite, USB MSC only case because it omitted the critical setup when USB MSC was not part of the composite. 2017-07-20 10:07:53 -06:00
Gregory Nutt
ee0c035a6d USB device: Rename usbdev_description_s to usbdev_devinfo_s to avoid any more confusion of naming with device descriptions in the future. Instances of usbdev_devinfo_s are now called devinfo vs devdesc when is a bad naming collision. 2017-07-20 09:34:48 -06:00
Gregory Nutt
42efcbe3a9 Merge remote-tracking branch 'origin/master' into beacon802154 2017-07-20 08:04:41 -06:00
Gregory Nutt
951017da55 CDC/ACM: Part of previous change was incorret. 2017-07-19 09:11:13 -06:00
Gregory Nutt
940b78cac2 USB device: Fix some coding standard issues. Other purely cosmetic changes. 2017-07-19 09:00:01 -06:00
Gregory Nutt
646b28223a CDC/ACM. Fix several known problems resulting from merge of USB composite device. That merge now breaks some of the non-composite USB devices. These fixes are for CDC/ACM. 2017-07-19 07:05:23 -06:00
Anthony Merlino
c13bd23ed9 drivers/mrf24j40: Trivial whitespace fix 2017-07-16 23:51:24 -04:00
Anthony Merlino
8610723ee6 ieee802154: Adds some wlinfo logs for debugging 2017-07-16 23:51:24 -04:00
Anthony Merlino
acc1ecd9a9 drivers/mrf24j40: Fixes math error for calculating sleep count values 2017-07-16 23:51:24 -04:00
Gregory Nutt
2f01b92fe2 Merge remote-tracking branch 'origin/master' into beacon802154 2017-07-16 08:58:39 -06:00
Frank Benkert
eacb4f0e84 Squashed commit of the following:
commit 69fcf3e849
Author: Alan Carvalho de Assis <acassis@gmail.com>
Date:   Sun Jul 16 08:39:33 2017 -0600

    Fix spark/stm32_composite.c: board_composite_connect cannot be static

commit 28eb253401
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Sun Jul 16 08:36:01 2017 -0600

    Composite:  Final review for coding style before merge

commit e6af1b9994
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Sun Jul 16 07:41:38 2017 -0600

    Composite:  Simplify some intiialization of data structures.

commit 771c367411
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Sun Jul 16 07:15:08 2017 -0600

    Cosmetic changes to alignment.

commit 5d67ddda4e
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Sun Jul 16 07:00:48 2017 -0600

    USBMSC: Add missing logic to saved device description.

commit 0729151d29
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Sat Jul 15 17:11:41 2017 -0600

    Trivial, costmetic

commit 74b916ff84
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Sat Jul 15 14:50:29 2017 -0600

    Composite:  Private functions need to be marked static.  Move static functions out of 'Public Functions' to 'Private Functions' where they belong.  Disable composite configuration 1 in all STM32 F1 configurations.

commit cfaa4ece13
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Sat Jul 15 13:20:34 2017 -0600

    Add some comments.

commit 8143563be6
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Sat Jul 15 12:33:10 2017 -0600

    Spark: Need to condition out MSC logic in composite setup if there is no MSC in the composite.

commit 69d3a91ef1
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Sat Jul 15 11:03:33 2017 -0600

    Composite:  Remove all dependencies on CONFIG_SYSTEM_COMPOSITE_* configuration settings.  Nothing in the OS can depend on external application settings.

commit 55a4388bbd
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Sat Jul 15 09:59:31 2017 -0600

    All composite configurations now also support a dual CDC/ACM configuration.

commit 428f2147af
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Sat Jul 15 09:24:32 2017 -0600

    Composite:  Move board_msc* interfaces from apps/system/composite to the board specific OS logic where they belong.

commit f1cc168a5c
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Sat Jul 15 08:56:33 2017 -0600

    Refresh all composite configurations.

commit 246afcaa10
Merge: 919877191d 02c6672868
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Sat Jul 15 08:22:26 2017 -0600

    Merge remote-tracking branch 'origin/master' into composite

commit 919877191d
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Sat Jul 15 08:20:02 2017 -0600

    Composite setup:  Remove useless board_cdc* wrapper.

commit 82129cf8c6
Merge: f2cb8b252a 6537e4ea20
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Fri Jul 14 16:23:57 2017 -0600

    Merge remote-tracking branch 'origin/master' into composite

commit f2cb8b252a
Author: Alan Carvalho de Assis <acassis@gmail.com>
Date:   Fri Jul 14 10:19:35 2017 -0600

    Composite:  Fix for another cloned typo.

commit 676cfd526a
Author: Alan Carvalho de Assis <acassis@gmail.com>
Date:   Fri Jul 14 09:11:37 2017 -0600

    Composite: Fix some typos

commit 1ea0368c18
Author: Alan Carvalho de Assis <acassis@gmail.com>
Date:   Fri Jul 14 09:10:18 2017 -0600

    Composite: ./stm3210e-eval/src/stm32_composite.c

commit e485caced9
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Fri Jul 14 09:08:17 2017 -0600

    Composite:  I don't think the original code should have forced minor=0.

commit 6443c29621
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Fri Jul 14 07:15:38 2017 -0600

    Composite:  Flesh out support for all of other configurations that support composite.

commit 23cbc28b05
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Fri Jul 14 06:59:45 2017 -0600

    Detangle use of board_xyzclassobject() and board_xyzuninitialize()

commit 1674cb8c8e
Merge: 6bc881a192 5033a6def7
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Thu Jul 13 13:57:40 2017 -0600

    Merge remote-tracking branch 'origin/master' into composite

commit 6bc881a192
Merge: fe3af4941d 85b8d16d8c
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Tue Jul 11 12:24:07 2017 -0600

    Merge remote-tracking branch 'origin/master' into composite

commit fe3af4941d
Merge: 0f9ad16e18 1bc0eea143
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Mon Jul 10 11:07:36 2017 -0600

    Merge remote-tracking branch 'origin/master' into composite

commit 0f9ad16e18
Merge: a4cd90d4ef aa2e9c15a5
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Fri Jul 7 20:26:53 2017 -0600

    Merge remote-tracking branch 'origin/master' into composite

commit a4cd90d4ef
Merge: 8a4be7175e 31f832d8c5
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Wed Jul 5 11:12:52 2017 -0600

    Merge remote-tracking branch 'origin/master' into composite

commit 8a4be7175e
Merge: 18a32ed2ca ae1771454a
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Fri Jun 30 16:14:04 2017 -0600

    Merge remote-tracking branch 'origin/master' into composite

commit 18a32ed2ca
Merge: aaa81ce497 6d8df90b79
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Thu Jun 29 10:18:16 2017 -0600

    Merge remote-tracking branch 'origin/master' into composite

commit aaa81ce497
Merge: 4eb548226b 8cb4636bb1
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Mon Jun 26 11:56:11 2017 -0600

    Merge remote-tracking branch 'origin/master' into composite

commit 4eb548226b
Merge: 2327f5a1b4 dc8eec0b61
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Mon Jun 19 17:27:00 2017 -0600

    Merge remote-tracking branch 'origin/master' into composite

commit 2327f5a1b4
Merge: 49cd279fc6 99bf0b522b
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Fri Jun 16 17:30:03 2017 -0600

    Merge remote-tracking branch 'origin/master' into composite

commit 49cd279fc6
Merge: bb6a13f30a 46f86982ee
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Wed Jun 14 09:17:49 2017 -0600

    Merge remote-tracking branch 'origin/master' into composite

commit bb6a13f30a
Merge: 918480047a ac93d4bda9
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Mon Jun 5 17:40:06 2017 -0600

    Merge remote-tracking branch 'origin/master' into composite

commit 918480047a
Merge: e4d262436c 4526cd665e
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Sat Jun 3 08:52:31 2017 -0600

    Merge remote-tracking branch 'origin/master' into composite

commit e4d262436c
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Fri Jun 2 07:19:27 2017 -0600

    SAMV71-Xult Composite:  Now can switch between two different composite configurations dynamically.

commit 815257743d
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Fri Jun 2 07:11:57 2017 -0600

    usbdev composite and SAMV7-Xult: Move board-specific USB composite configuration out of boardctl.c and into board-specific logic where it belongs.  Add a configuration option to the boardctl() calls to support multiple composite device configurations dynamically.

commit ac13619dc5
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Thu Jun 1 17:03:58 2017 -0600

    Cosmetic

commit 9dd41bdd2f
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Thu Jun 1 17:02:43 2017 -0600

    Composite: More compile-related fixes

commit fc1438c95d
Merge: 049ccbfcbe ff2b54a5e0
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Thu Jun 1 16:35:41 2017 -0600

    Merge remote-tracking branch 'origin/master' into composite

commit 049ccbfcbe
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Thu Jun 1 16:35:16 2017 -0600

    Composite: Add some structure definitions missed in first application of the patch.

commit ef33329e3a
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Thu Jun 1 16:14:46 2017 -0600

    Add a warning

commit 89f77cd91a
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Thu Jun 1 16:11:27 2017 -0600

    Fix some incomplete name changes

commit 0bb7af549a
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Thu Jun 1 15:09:50 2017 -0600

    It is unnecessary to pack a structure that consists only of uint8_t data fields.

commit bd9b548914
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Thu Jun 1 15:05:41 2017 -0600

    Remove COMPILE_TIME_ASSERTION

commit 7e6f481581
Author: Frank Benkert <Frank.Benkert@avat.de>
Date:   Thu Jun 1 14:58:04 2017 -0600

    Part II of the same big commit

commit dcc9b07715
Author: Frank Benkert <Frank.Benkert@avat.de>
Date:   Thu Jun 1 14:08:22 2017 -0600

    [[This is part 1 or several commits]]

    We developed a huge Changeset over a year ago to make USB Composite configuration dynamical and be able to instanciate the CDCACM multiple times inside this device.  We use this feature to switch between one in normal and up to three CDCACMs in maintenance boot.

    The control path starts in “boardctl.c” where the configuration for the device is constructed.  There are still a few issues which I’ll ask you to have a look at before this beast can be merged.

    1. To be able to construct the data dynamically I have changed some USB-Structs to be packed. Maybe there are additional structs to change (just for completeness – not for current functionality).

    2. I’ve added the Macro “COMPILE_TIME_ASSERTION” two times (in usbmsc_desc.c and in cdcacm_desc.c) to stay private. Maybe you’ll find a better place. It’s used to check the size of the structs against the assumptions.

    3. I’ve changed the interface for some USB-Functions to receive also the dynamic configuration. Maybe this can be done more elegant.

    4. The original NuttX (without the patch) seems to have problems with a Composite device holding a CDCACM and an MSC. The “USB SET CONFIGURATION” request does not to work at all. This makes the test fail under Windows and under Linux. Applying this patch doesn’t change anything – because it only changes the configuration – not the behavior. Maybe you’ll have a look at this problem before applying the patch.
2017-07-16 08:43:17 -06:00
Anthony Merlino
bd821dafcb drivers/mrf24j40: Fixes line endings in file 2017-07-13 03:23:19 -04:00
Anthony Merlino
350776eca3 drivers/mrf24j40: Fixes issues with sleeping for beacon enabled networking 2017-07-13 03:18:22 -04:00
Anthony Merlino
21bc4175fe drivers/mrf24j40: Adds header guards to mrf24j40_reg.h 2017-07-12 14:37:17 -04:00
Anthony Merlino
b1eb796d97 drivers/mrf24j40: Hook in setdevmode from newly added radio attribute setting 2017-07-12 00:54:29 -04:00
Anthony Merlino
f944a33485 drivers/mrf24j40: Fixes implicit declaration warning 2017-07-11 23:47:09 -04:00
Anthony Merlino
c3f51dce70 drivers/mrf24j40: Formatting fixes 2017-07-11 23:46:39 -04:00
Gregory Nutt
4ad0f8b68b trivial 2017-07-11 19:45:22 -06:00
Anthony Merlino
3148e62ca1 drivers/wireless/ieee802154/mrf24j40: Aligns better with coding standard after splitting up driver 2017-07-11 21:12:50 -04:00
Anthony Merlino
0eaf2925cf drivers/wireless/ieee802154/mrf24j40/: Fixes bug causing radio to cease transmitting 2017-07-11 21:11:52 -04:00
Anthony Merlino
35289e6d0e ieee802154: Minor reformatting 2017-07-11 20:36:50 -04:00
Anthony Merlino
bbf37a0db8 drivers/wireless/ieee802154/mrf24j40: Fixes issue with non-beacon enabled mode 2017-07-10 13:11:43 -04:00
Anthony Merlino
28d1db02b8 drivers/wireless/ieee802154/mrf24j40: Splits up driver into multiple files to make it easier to navigate 2017-07-10 13:11:43 -04:00
Anthony Merlino
deeb52cedc drivers/wireless/ieee802154/mrf24j40: Minor timing fix. Matches recommended value in datasheet 2017-07-10 13:11:42 -04:00
Anthony Merlino
0aabea2662 drivers/wireless/ieee802154/mrf24j40: Fixes odd extra spacing that mysteriously got introduced 2017-07-10 13:11:42 -04:00
Anthony Merlino
b9a9ba7dd0 ieee802154: Adds configuration options for verbose logging of certain features, to aid in debugging 2017-07-10 13:06:12 -04:00
Gregory Nutt
b35ee01d6a Merge remote-tracking branch 'origin/master' into beacon802154 2017-07-09 16:53:33 -06:00
Gregory Nutt
975473fed8 ICMPv6: Add 6LoWPAN and IP forwarding support. 2017-07-09 11:35:26 -06:00
Gregory Nutt
77b99c9a32 Merge remote-tracking branch 'origin/master' into beacon802154 2017-07-07 20:23:31 -06:00
Gregory Nutt
99ef7c6669 IP forwarding: A few fixes from early testing; In TUN driver, do all polling on worker thread. Otherwise, the stack gets very deep. 2017-07-07 17:33:44 -06:00
Gregory Nutt
b29c99fa6f Move TUN ioctl commnd to include/nuttx/net/ioctl.h so that it will always be unique. It a error in netdev_register: it was not handling device names properly when TUN is the only network device. 2017-07-07 13:03:04 -06:00
Julien Lecoeur
165ee0027a Eliminate a warning with arm-none-eabi-gcc 7.1.0 2017-07-06 08:32:51 -06:00
Gregory Nutt
69d3188687 Merge branch 'beacon802154' of bitbucket.org:nuttx/nuttx into beacon802154 2017-07-05 11:06:40 -06:00
Jan Pobrislo
7999822189 I've found that the interrupts aren't enabled since nothing updates them after btn_poll() marks the file descriptor structure as being polling. I've managed to make it work with this change. 2017-07-04 14:43:19 -06:00
Gregory Nutt
053b6e3d9f Fix dangling white space at the end of lines. 2017-07-03 10:08:49 -06:00
Anthony Merlino
d05cf268da drivers/wireless/ieee802154: Moved radios to individual sub-directories 2017-07-03 00:33:17 -04:00
Anthony Merlino
7d9c4ace34 ieee802154: Cleans up some wireless logging 2017-07-01 17:05:42 -04:00
Anthony Merlino
5ca18999a5 ieee802154: Random fixes to get beacon-enabled networking more stable 2017-07-01 17:05:42 -04:00
Anthony Merlino
b981ced4d4 ieee802154: Finishes beacon association functionality 2017-07-01 17:05:42 -04:00
Anthony Merlino
6b17d5ccc9 ieee802154: Minor changes to align closer with coding standard 2017-07-01 17:05:42 -04:00
Gregory Nutt
95e20afcd2 drivers/: Remove dangling space at the end of lines. 2017-06-28 13:17:17 -06:00
Jussi Kivilinna
4eaa136850 smart: fix wrong freeing of device structure and use-after-free issues on error paths 2017-06-28 07:20:07 -06:00
Anthony Merlino
da8afe9d9e ieee802154: Finishes transmission of beacon frames, and performing a passive scan 2017-06-25 18:08:00 -04:00
Anthony Merlino
683bd6e10e ieee802154: Adds some missing elements to start support for beacon-enabled networks 2017-06-25 18:08:00 -04:00
Masayuki Ishikawa
32a8d09901 drivers/net/tun.c: Use critical section instead of semaphore in tun_ifdown() 2017-06-23 14:28:53 +09:00
Gregory Nutt
05590a2228 6LoWPAN: Correct a few addressing issues. The apps/examples/udp test now appears to be fully functional. Also reserve two bytes at the end of the frame for the FCS. 2017-06-21 13:43:53 -06:00
Gregory Nutt
2397bc728b Add some comments to a Kconfig file; Fix a typo introduced in previous commit. 2017-06-21 10:40:36 -06:00
Gregory Nutt
8db9461e0e mrf24j40: Fix a warning (which is actually an error) 2017-06-21 10:28:52 -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
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
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
698dd6d7d1 Merge remote-tracking branch 'origin/master' into ieee802154 2017-06-18 08:23:42 -06:00
Gregory Nutt
afa0ab0819 Remove dangling whitespace form the end of lines 2017-06-17 14:13:25 -06:00
Oleg Evseev
70adff3ffc Merged in lukegluke/nuttx/lukegluke/kconfig-correction-edited-online-with-bi-1497624177393 (pull request #401)
Kconfig correction

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-06-16 23:34:22 +00:00
Oleg Evseev
31bde601b6 Kconfig correction
edited online with Bitbucket
2017-06-16 14:43:11 +00:00
Gregory Nutt
77757410c8 Remove dangling white space at the end of lines. 2017-06-15 10:46:48 -06:00
Gregory Nutt
535ea4e0f5 Merge remote-tracking branch 'origin/master' into ieee802154 2017-06-15 10:34:38 -06:00
Gregory Nutt
4a88d6a50a Merge branch 'ieee802154' of bitbucket.org:nuttx/nuttx into ieee802154 2017-06-15 10:32:55 -06:00
Anthony Merlino
e30501ebd4 wireless/ieee802154: Lots of fixes, cleanup, new functionality. Functional 2017-06-15 12:11:52 -04:00
Gregory Nutt
04ae3d51c2 drivers/mp2515.c: Remove an incorrect warning. 2017-06-14 10:13:38 -06:00
Gregory Nutt
a86f46bc54 MCP1515: Eliminate some warnings 2017-06-14 09:38:58 -06:00
Anthony Merlino
908d438047 WIP: wireless/ieee802154: More work on association/beacon-enabled networks 2017-06-14 02:49:32 -04:00
Jussi Kivilinna
7b8df1b930 mtd/w25: wait for BUSY flag to clear in w25_readid and w25_unprotect. W25Q128 datasheet says that all instructions expect 'Read Status Register' and 'Erase/Program Suspend' are ignored when BUSY flag in status register is '1'. Therefore wait for busy flag to clear in w25_readid() and w25_unprotect(). 2017-06-13 07:35:49 -06:00
Jussi Kivilinna
2596b14c90 mtd/w25: add missing locking and fix SPI_SELECT usage for w25_unprotect 2017-06-13 07:33:34 -06:00
Gregory Nutt
0a85a41678 MTD FLASH driver: Clone Sebastien Lorquet's m25px change to at25, is25xp, ramtron, and sst25xx. 2017-06-12 09:51:42 -06:00
Sebastien Lorquet
2851959dee MTD M2PX: If we READ while a write/erase is pending, the command is ignored and the write/erase continues. If we dont catch this situation we will return garbage to the user because the flash will not execute the command. So READ MUST wait for write completion, and before that, the bus must be locked since it's a precondition to calling waitwritecomplete(). 2017-06-12 09:34:09 -06:00
Gregory Nutt
d35a060a41 Revert "MTD: Fix problems in SPI locking in mp25x.c driver. Same problem probably in exists in several other drivers that derive from this this driver as well."
This reverts commit 85645284b3.
2017-06-12 07:23:06 -06:00
Sebastien Lorquet
85645284b3 MTD: Fix problems in SPI locking in mp25x.c driver. Same problem probably in exists in several other drivers that derive from this this driver as well. 2017-06-12 06:38:27 -06:00
Gregory Nutt
670d6a1e8d MTD FLASH drivers: The byte write method of several drivers had a cloned error: It was not locking the bus while performing byte write operations. 2017-06-06 16:10:41 -06:00
Juha Niskanen
e577072790 power: battery_charger: add ioctl for charging input current 2017-06-06 06:56:50 -06:00
Juha Niskanen
06edfae133 mtd/config: Add some error checks for I/O errors 2017-06-01 06:22:27 -06:00
Juha Niskanen
32610b53f4 drivers/{sensors,usbmisc}: Fix uninitialized I2C frequency 2017-06-01 06:19:54 -06:00
Jussi Kivilinna
1cc842794d drivers/rwbuffer.c: Fix compiler warnings 2017-05-31 09:28:20 -06:00
Jussi Kivilinna
7af5cbb833 drivers/mtd/w25.c: Enable short delay after sector/chip erase 2017-05-31 09:17:58 -06:00
Jussi Kivilinna
8b006e705e drivers/mtd/w25.c: erase sector only if it is not in erased state 2017-05-31 09:09:24 -06:00
Jussi Kivilinna
c7fcdf968d mtd/smart: Fix use of uninitialized variable 2017-05-31 09:07:25 -06:00
Juha Niskanen
80cc19d6b0 drivers/input: add Cypress MBR3108 CapSense touch button driver 2017-05-31 06:31:53 -06:00
Gregory Nutt
ae17e6bcf0 Cosmetic 2017-05-30 12:04:48 -06:00
Alan Carvalho
2b3eb7344c Merged in acassis/nuttx_acassis/pcd8544 (pull request #381)
Pcd8544

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-05-26 14:44:23 +00:00
Alan Carvalho de Assis
96e1a80f99 Replace the structure initializer with C89 style 2017-05-26 11:36:36 -03:00
Alan Carvalho de Assis
8df5c29857 Add driver for Nokia 5110 (Philips PCD8544) 2017-05-26 10:53:13 -03:00
Jussi Kivilinna
7ae8173449 button_upper: fix interrupt enabling for poll-events 2017-05-24 08:06:13 -06:00
Alan Carvalho de Assis
bab5de15f6 Remove warning from MCP2515 compilation 2017-05-23 19:41:58 -03:00
Alan Carvalho de Assis
fb7866bdc8 Use the right variable name at mcp2515_txready() 2017-05-23 19:30:12 -03:00
Gregory Nutt
38ae28e978 MCP2515: Changes from review of last PR 2017-05-23 12:22:49 -06:00
Alan Carvalho de Assis
eb7373cedf Add Microchip MCP2515 CAN Bus controller driver 2017-05-23 14:28:52 -03:00
Masayuki Ishikawa
810f9b516c drivers/bch: Fix 'Missing Unlock' in bchdev_driver.c
Jira: PDFW15IS-265
Coverity-ID: 10597
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2017-05-22 14:29:41 +09:00
Nobutaka Toyoshima
a862b653bd Replace sprintf() with snprintf() in pipe.c
Jira: PDFW15IS-265
Coverity-ID: 10696
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2017-05-22 09:22:23 +09:00
Taras Drozdovsky
4ab2a3661e STM32F4: add cs43l22 audio driver and i2s driver 2017-05-21 14:14:09 -06:00
Gregory Nutt
679a08e371 Merge remote-tracking branch 'spiriou/wapi_scan' 2017-05-21 09:25:02 -06:00
Simon Piriou
a332c4b9ce bcmf: fix issue in AP scan event processing 2017-05-21 16:04:24 +02:00
Simon Piriou
6b15c26e56 bcmf: add SIOCGIWSCAN ioctl support 2017-05-20 22:13:15 +02:00
Gregory Nutt
bc32eaa228 Merge remote-tracking branch 'origin/master' into ieee802154 2017-05-19 07:17:37 -06:00
Gregory Nutt
5ce2ece134 syslog: Add header file inclusion to eliminate a warning; mm/iob: private function needs static storage class. 2017-05-16 12:26:23 -06:00
Jussi Kivilinna
a6e556d31c I had to make following change to fix interrupt context syslog (INTBUFFER untested) 2017-05-16 10:56:49 -06:00
Gregory Nutt
9fb2fed90e Merge remote-tracking branch 'origin/master' into ieee802154 2017-05-16 08:05:38 -06:00
EunBong Song
5ef00f0b91 drivers/bch: BCH character driver bch_ioctl() always returns -ENOTTY for DIOC_GETPRIV command. It should returns OK if DIOC_GETPRIV command succeeds. 2017-05-16 08:01:05 -06:00
Anthony Merlino
06634afbe0 wireless/ieee802154: Restructuring of MAC notifications. Simplifes some interfaces 2017-05-15 21:44:57 -04:00
Juha Niskanen
34e68a569b drivers: rename newly introduced up_i2creset to I2C_RESET 2017-05-15 07:22:17 -06:00
Juha Niskanen
b9a769d65d drivers: fix some bad NULL checks 2017-05-15 07:20:32 -06:00
Gregory Nutt
fa649df52e Photon: Small update from Simon Piriou. 2017-05-14 08:39:53 -06:00
Gregory Nutt
06db5614e7 Fix a warning about can.o appearing twice in the same rule. 2017-05-13 18:05:40 -06:00
Gregory Nutt
a52967a772 Syslog interrrupt buffer: eliminate a warning about an uninitialized variable; simply some related logic. 2017-05-13 17:40:46 -06:00
Gregory Nutt
14ae6df182 locale.h: Add a bogus definition of locale_t 2017-05-12 10:13:18 -06:00
Gregory Nutt
7698790be1 Changes from review of last PR 2017-05-12 09:04:52 -06:00
Gregory Nutt
f981191ac9 Merge branch 'can_bus' of bitbucket.org:nuttx/nuttx into can_bus 2017-05-12 08:59:57 -06:00
Gregory Nutt
fc7c3f5328 syslog: I think this might speed upt the CR-LF scan in syslog_dev_write(). 2017-05-12 08:50:56 -06:00
Alan Carvalho de Assis
853d332b6c Move CAN subsystem to its own directory and put device drivers there
Signed-off-by: Alan Carvalho de Assis <acassis@gmail.com>
2017-05-12 11:48:47 -03:00
Gregory Nutt
c84a3e3519 Bitbucket Issue 47: Some of last syslog changes needed to be condition on #ifdef CONFIG_SYSLOG_BUFFER in order to be built without syslog buffering enabled. 2017-05-12 07:58:11 -06:00
Gregory Nutt
1c9859520f syslog: There is yet another place where the output can get split. That is in syslog_dev_write(): It will break up the stream to insert a CR before the LF. This can that can be avoid be generating the CR-LF sequence in the buffer and then detecting and ignoring valid CR-LF sequences, rather than expecting syslog_dev_write() to insert the CR in this case.
I don't like the idea that syslog_dev_write() still scans the entire output buffer to expand CR-LF sequence.  This seems really wasteful, especially in this case where we can be sure that the is no CR or LF without a matching LF or CR.  Bu, I think, the existing behavior in syslog_dev_write() must be retained because it is needed in other contexts.
2017-05-12 07:31:50 -06:00
Gregory Nutt
0fc068cc9c syslog: Avoid flushing syslog_stream buffer, if possible, until lib_vsprintf() completely parses the format. This assures that the flush will flush the entire output, even data that may potentially follow the linefeed. And, in that case, it cannot be interleaved with other devug output. Suggested by Jussi Kivilinna. 2017-05-12 06:58:33 -06:00
Gregory Nutt
0de294a586 Fix lots of occurrences of 'the the', 'the there', 'the these', 'the then', 'the they. 2017-05-11 13:35:56 -06:00
Juha Niskanen
0f7210b0ae mtd: fix some unallocated and NULL pointer issues. rwb->wrflush and rwb->wrmaxblocks in rwbuffer could get unallocated values from ftl_initialize() in some configurations. Also fixes related assert:
up_assert: Assertion failed at file:rwbuffer.c line: 643

that can happen with the following configuration:

  CONFIG_FTL_WRITEBUFFER=y
  CONFIG_DRVR_WRITEBUFFER=y
  # CONFIG_FS_WRITABLE is not set

These problems are caused by CONFIG variable differences between the buffer layers. TODO: This is not a perfect solution. readahead support has similar issues.
2017-05-11 07:22:21 -06:00
Juha Niskanen
58a0b09b82 mtd/config: fix byte read interface test 2017-05-11 07:19:24 -06:00
Juha Niskanen
797e3c3ca4 mtd: build RAMTRON and AT45DB drivers only if selected 2017-05-11 07:17:29 -06:00
Gregory Nutt
b5c1dd09f5 Syslog: Need inclusion of errno.h for fix building with CONFIG_SYSLOG_TIMESTMAP=y 2017-05-11 07:15:57 -06:00
Jussi Kivilinna
ba933efd9e When syslog message has addition characters after last new-line. With buffering those now get lost as vsyslog does not flush output after lib_sprintf. Additional trailing characters could be ANSI escape sequence to reset state that message setups. For example, macro here uses colors and resets state after actual message (including '\n'):
With flushing added to vsyslog, then there is problem that next syslog line might come from other task before reset sequence, causing wrong line getting color. This could be avoided by not flushing on '\n' but only if IOB is full and/or at end of vsyslog. Would this make sense?
2017-05-11 07:11:35 -06:00
Gregory Nutt
d3b9f5b37f Syslog buffering: Use IOBs to buffer data, not an on-stack buffer 2017-05-10 17:36:08 -06:00
Gregory Nutt
d8a83f16be Syslog buffering: Various corrections from early debug 2017-05-10 16:13:21 -06:00
Gregory Nutt
00075acada Merge branch 'syslog' of https://bitbucket.org/nuttx/nuttx into syslog 2017-05-10 15:04:57 -06:00
Gregory Nutt
20727d17c3 SYSLOG: Add option to buffer SYSLOG output to avoid interleaving. 2017-05-10 14:42:43 -06:00
Floxx
c2096f17d6 Moved LIS3DSH from the I2C-dependent block to the SPI-block to make Make.defs consistent with the driver (SPI only) and drivers/sensors/Kconfig. 2017-05-10 20:18:48 +02:00
Juha Niskanen
4f18b40429 mtd/config: erase block between block read and write 2017-05-10 08:25:39 -06:00
Stefan Kolb
591f35be87 I discovered a problem in the file drivers/serial/serial.c concerning the function uart_close(…). In the case that a serial device is opened with the flag O_NONBLOCK the function uart_close(…) blocks until all data in the buffer is transmitted. The function close(…) called on an handle opened with O_NONBLOCK should not block. The problem occurred with a CDC/ACM device. 2017-05-10 07:59:58 -06:00
Anthony Merlino
806dcd9a47 wireless/ieee802154: Brings closer to Nuttx coding style 2017-05-09 17:20:57 -04:00
Gregory Nutt
2043e1a114 IOBs: Move from driver/iob to a better location in mm/iob 2017-05-09 07:35:30 -06:00
Anthony Merlino
3fa8e32e36 wireless/ieee802154: MRF24J40: Finishes receive functionality, supports promicuous mode, and rxonidle attributes 2017-05-08 16:23:13 -04:00
Anthony Merlino
1490599b69 wireless/ieee802154: Reworks data_ind allocation to include IOB allocation/deallocation. Hides private data. 2017-05-06 10:20:19 -04:00
Anthony Merlino
dd40014279 wireless/ieee802154: Removes radio IOCTL. Starts bringing radio and MAC closer with well-defined interface. 2017-05-05 11:15:38 -04:00
Anthony Merlino
2c57c3f83b wireless/ieee802154: Changes rxenable at radio layer 2017-05-05 11:15:38 -04:00
Gregory Nutt
6a45afdd75 Merge remote-tracking branch 'origin/master' into ieee802154 2017-05-04 07:11:19 -06:00
Gregory Nutt
88be413a05 Remove dangling whitespace at the end of lines. 2017-05-03 18:30:40 -06:00
Gregory Nutt
97f149a40b Photon: Cosmetic changes to style detected by tools/nxstyle 2017-05-03 18:20:57 -06:00
Simon Piriou
b5e1ea4bef bcmf: fix frame not freed when dropped + cleanup 2017-05-03 23:19:28 +02:00
Gregory Nutt
2ece0c57dd Remove dangling whitespace at the end of lines 2017-05-02 14:42:40 -06:00
Gregory Nutt
e94865a317 Merge remote-tracking branch 'origin/master' into photon 2017-05-02 08:49:19 -06:00
Simon Piriou
bd5d6ce986 bcmf: implement basic wext interface for authentication 2017-05-02 08:48:13 -06:00
Anthony Merlino
f02d98d15e wireless/ieee802154: Changes transmit data path to use IOBs and exposes function for getting size of MAC header 2017-05-02 09:58:54 -04:00
Mateusz Szafoni
1feaae7222 Merged in raiden00/nuttx (pull request #338)
OPAMP support for STM32F33XX
2017-05-02 13:57:56 +00:00
Anthony Merlino
ea44684f0c Merged in merlin17/nuttx/ieee802154 (pull request #339)
Ieee802154

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-05-02 13:22:38 +00:00
Gregory Nutt
e87991bbdc Merge remote-tracking branch 'origin/master' into ieee802154 2017-05-01 18:05:38 -06:00
Anthony Merlino
c4007a111c wireless/ieee802154: Fixes semaphore logic and list logic 2017-05-01 09:27:44 -04:00
Gregory Nutt
e43b86dbd0 Merge remote-tracking branch 'origin/master' into photon 2017-04-30 17:42:37 -06:00
Simon Piriou
fe77735960 bcmf: add netdev support for Broadcom FullMAC driver 2017-04-30 20:36:35 +02:00
Gregory Nutt
193ff349ee drivers/i2c: Fix compile issus if CONFIG_DISABLE_PSEUDOFS_OPERATIONS is enabeld. 2017-04-30 08:02:38 -06:00
raiden00pl
0b6190c1c4 drivers/analog: Add basic OPAMP driver 2017-04-30 11:11:17 +02:00
Gregory Nutt
a7901f5c4c Merge remote-tracking branch 'origin/master' into photon 2017-04-29 12:35:01 -06:00
Gregory Nutt
c7264eb550 Add an instance argument to the SPIDEV definitions. 2017-04-29 12:28:19 -06:00
Gregory Nutt
f826877c61 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-29 12:27:49 -06:00
Gregory Nutt
e9a5477506 Add an instance argument to the SPIDEV definitions. 2017-04-29 12:26:52 -06:00
Gregory Nutt
3482172a16 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-29 10:06:35 -06:00
Simon Piriou
0d1a79719a bcmf: add escan ioctls support + cleanup 2017-04-28 19:44:48 +02:00
Sebastien Lorquet
0138a79028 bitbang 2017-04-28 18:15:42 +02:00
Gregory Nutt
f1aa43512a Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-27 17:00:11 -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
a134178034 Enabled wireless IOCTL commands in photon/wlan configuration 2017-04-26 12:30:18 -06:00
Anthony Merlino
b52de42d16 Merged in merlin17/nuttx/ieee802154 (pull request #336)
wireless/ieee802154: Lots of little fixes and changes to get everything to build

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-04-26 16:50:56 +00:00
Gregory Nutt
7d8140708e Merge remote-tracking branch 'origin/master' into photon 2017-04-26 10:42:19 -06:00
Gregory Nutt
feba99e99c Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-26 10:39:45 -06:00
Jussi Kivilinna
e835803166 yslog: use monotonic clock for timestamp when available 2017-04-26 10:38:15 -06:00
Anthony Merlino
9e760dcf6a wireless/ieee802154: Lots of little fixes and changes to get everything to build 2017-04-26 11:36:06 -04:00
Simon Piriou
6bb2db8c15 bcmf: enable DMA for SDIO transfers 2017-04-26 17:23:53 +02:00
Gregory Nutt
ace460ad0e configs/photon/src/stm32_wlan.c: Remove unused, inappropriate network driver registration. 2017-04-25 13:02:50 -06:00
Gregory Nutt
c5e636ad84 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-24 17:34:35 -06:00
Gregory Nutt
51f6ce7af3 Merge remote-tracking branch 'origin/master' into photon 2017-04-24 15:12:02 -06:00
Gregory Nutt
62fc578661 wireless/ieee80211: Add BSD license information to all files (except the Broadcom files -- need to revisit those). 2017-04-24 15:11:22 -06:00
Simon Piriou
a23ac02959 bcmf: register network driver + update defconfig file 2017-04-24 20:04:47 +02:00
Simon Piriou
d72f36948e bcmf: fix Kconfig file 2017-04-24 20:02:20 +02:00
Gregory Nutt
a57c79e8b3 wireless/ieee80211: Add broadcom network device registration logic. 2017-04-24 10:43:57 -06:00
Gregory Nutt
e507a3f295 wiress/ieee80211: Broadcom network driver needs to register as an ieee802.11 driver, not an Ethernet driver. 2017-04-24 10:28:06 -06:00
Gregory Nutt
50fb7b0ba0 wireless/ieee80211: Add skeleton for a broadcom network driver. 2017-04-24 10:23:31 -06: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
Gregory Nutt
0ac6fbb3c7 drivers/ieee80211/: Change all occurrences of _info, _warn, and _err to wlinfo, wlwarn, and wlerr. 2017-04-23 16:24:47 -06:00
Simon Piriou
c0862c862f photon: cleanup and refactor bcmf driver 2017-04-23 23:39:17 +02:00
Gregory Nutt
62966d915c Merge remote-tracking branch 'origin/master' into photon 2017-04-23 10:16:54 -06:00
Simon Piriou
a76266106a photon: fix compilation errors and update wlan defconfig 2017-04-23 10:00:19 -06:00
Gregory Nutt
0ea071f7eb Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-22 11:58:07 -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
d8e4cbcfd5 Merge remote-tracking branch 'spiriou/wlan_dev' into photon 2017-04-22 08:26:40 -06:00
Simon Piriou
22e5cec376 photon: add basic wlan scan function 2017-04-22 15:57:51 +02:00
Gregory Nutt
309f0abc14 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-21 16:34:10 -06:00
Gregory Nutt
d5207efb5a Be consistent... Use Name: consistent in function headers vs Function: 2017-04-21 16:33:14 -06:00
Anthony Merlino
b1c8f008d6 wireless/ieee802154: Simplifies TX completion interface. Documents and cleans up some functions 2017-04-21 14:57:27 -04:00
Anthony Merlino
795e70a952 wireless/ieee802154: Work on packet reception at radio layer (MRF24J40) 2017-04-21 13:06:26 -04:00
Gregory Nutt
d08b802998 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-20 16:19:42 -06:00
Gregory Nutt
356e71850b IOB: A file needed to include iob.h 2017-04-20 16:18:57 -06:00
Gregory Nutt
bfb93338f6 Move net/iob to drivers/iob so that the I/O buffering feature can be available to other drivers when networking is disabled. 2017-04-20 16:08:49 -06:00
Gregory Nutt
e3c9e9e0b8 UART 16550: Missing left parenthesis in function prototype. This is Bitbucket Issue #41. 2017-04-20 06:50:11 -06:00
Anthony Merlino
a5d73e42cd wireless/ieee802154: Fixes radio callback arguments 2017-04-19 18:15:09 -04:00
Gregory Nutt
9a1fe0b971 ieee802154: Cosmetic changes from review of last PR. 2017-04-19 14:52:45 -06:00
Anthony Merlino
1abe4ae4da wireless/ieee802154: Starts structuring transmission completion handling 2017-04-19 16:35:02 -04:00
Anthony Merlino
37e7c67373 wireless/ieee802154: Changes radio interface to match MAC callback design 2017-04-19 13:26:44 -04:00
Gregory Nutt
35756d6295 ieee802.15.4: Cosmetic changes from review of last PR. 2017-04-18 14:25:23 -06:00
Anthony Merlino
9ad3b375e5 wireless/ieee802154: Lots of small fixes to eliminate build issues.
Generally cleans things up and fixes lots of small issues preventing a successful build.  Does not completely build, but there are significantly less errors
2017-04-18 15:34:28 -04:00
Gregory Nutt
52cddc45de Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-18 10:38:08 -06:00
Gregory Nutt
04ebdbb336 Move: CONFIG_ADC_NO_START_CONV from drivers/adc/Kconfig to arch/arm/src/stm32[f7]/Kconfig as STM32[F7]_ADC_NO_START_CONV. Refresh all configurations with any reference to CONFIG_ADC_NO_START_CONV. 2017-04-18 07:16:35 -06:00
Gregory Nutt
6d3ec6e4a4 ieee802.15.4: Changes from review of last PR 2017-04-17 09:53:58 -06:00
Anthony Merlino
46d7a4bb03 wireless/ieee802154: Continues development on transmit structure 2017-04-17 11:34:41 -04:00
Simon Piriou
0434528732 photon: request firmware version and MAC address 2017-04-16 13:13:11 +02:00
Simon Piriou
d646bde1f8 photon: add sdpcm tx basic support 2017-04-16 11:28:08 +02:00
Anthony Merlino
d9e2139e46 wireless/ieee802154/mrf24j40: Renaming, added bind method 2017-04-15 13:20:33 -04:00
Gregory Nutt
85d97a4d74 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-15 09:34:03 -06:00
Gregory Nutt
78bc1aa6bc Argument of network device IOCTL should be unsigned long, just as will all other IOCTL methods. 2017-04-15 09:33:27 -06:00
Simon Piriou
11d3db5c35 photon: add sdpcm + thread support for wlan 2017-04-15 11:39:13 +02:00
Gregory Nutt
6b8a8bda35 ieee802.15.4 radio: Remove interface methods that duplicate IOCTL commands. 2017-04-13 11:14:02 -06:00
Gregory Nutt
63b24bc686 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-13 09:57:26 -06:00
Gregory Nutt
55c95442e1 drivers/net/skeleton.c: Add support for IOCTL handling. 2017-04-13 09:53:38 -06:00
Gregory Nutt
8288f53d4e ieee802154 radio: Implement IOCTL decode and dispatch in all radio drivers. 2017-04-13 09:13:16 -06:00
Gregory Nutt
56c5970b5b Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-13 06:57:45 -06:00
Gregory Nutt
ad9321b7b7 Trivial changes from review of last PR 2017-04-13 06:16:03 -06:00
Thomas Keh
7e293b28ee TUN driver: Implement TAP (OSI layer 2) mode.
Enable by setting the IFF_TAP flag instead of the IFF_TUN flag in ifr_flags.
2017-04-13 13:07:03 +02:00
Gregory Nutt
c3a9c7eda6 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-09 10:16:57 -06:00
Gregory Nutt
a1aca89d61 drivers/net/skeleton.c: Use more common 'Name:' vs. 'Function:' 2017-04-08 13:55:23 -06:00
Gregory Nutt
8b8ddd05c2 Fix some old-style interrupt handling logic in drivers/net/skeleton.c 2017-04-08 13:30:30 -06:00
Gregory Nutt
11ad71a2e6 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-06 10:01:02 -06:00
Jussi Kivilinna
e3b3e57e56 RTC: add interface for check if RTC time has been set
New interface allows checking if RTC time has been set.  This allows to application to detect if RTC has valid time (after
reset) or should application attempt to get real time by other means (for example, by launching ntpclient or GPS).
2017-04-06 09:53:11 -06:00
Jussi Kivilinna
e2702cbe4e STM32F7: fix UART7 and UART8 IFLOWCONTROL options 2017-04-06 08:46:24 -06:00
Simon Piriou
e5c4a28c3a photon: wlan support 2017-04-05 21:55:21 +02:00
Gregory Nutt
cdd3cb2201 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-05 13:18:52 -06:00
Gregory Nutt
cb70ce7d3c 6loWPAN: Correct some IPv6 addresses and operations on IPv6 addresses. 2017-04-05 12:11:09 -06:00
Gregory Nutt
e7f9d14118 Merge branch 'master' of bitbucket.org:nuttx/nuttx into ieee802154 2017-04-04 14:29:00 -06:00
Juha Niskanen
d64d4e02b4 sensors: lis2dh: fix hardfault when reading from unconfigured sensor 2017-04-04 07:38:49 -06:00
Gregory Nutt
1b3cb3752a Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-03 08:12:04 -06:00
Juha Niskanen
dfe6a672c1 drivers/sensors: Add driver for ST LIS2DH accelerometer. From Timo Voutilainen <time.voutilainen@haltian.com> et al. 2017-04-03 07:28:22 -06:00
Gregory Nutt
6d55ef0a08 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-01 09:08:35 -06:00
Gregory Nutt
52ead055fd 6loWPAN: Beginning of IEEE802.15.4 frame input logic. 2017-04-01 09:07:49 -06:00
Gregory Nutt
a43c0c9efb Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-31 06:41:11 -06:00
Juha Niskanen
9d13a2463f drivers/usbmisc: Add driver for Fairchild FUSB301 USB type-C controller.
From Harri Luhtala <harri.luhtala@haltian.com>. Tested with earlier
version of NuttX; with current version checked that it compiles.
2017-03-31 06:35:36 -06:00
Juha Niskanen
b5b148fef8 drivers/sensors: Add driver for ST LPS25H pressure sensor 2017-03-31 05:53:43 -06:00
Gregory Nutt
916bd8a48f HTS221 driver: Modify to use new interrupt parameter passing hooks. 2017-03-31 05:31:35 -06:00
Gregory Nutt
916bd80f9f Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-30 16:30:43 -06:00
Juha Niskanen
9e2b3da3e8 drivers/sensors: Add driver for ST HTS221 humidity sensor 2017-03-30 12:17:23 -06:00
Jussi Kivilinna
dffb8a67e3 Add entropy pool and strong random number generator
Entropy pool gathers environmental noise from device drivers, user-space, etc., and returns good random numbers, suitable for cryptographic use. Based on entropy pool design from *BSDs and uses BLAKE2Xs algorithm for CSPRNG output.

Patch also adds /dev/urandom support for using entropy pool RNG and new 'getrandom' system call for getting randomness without file-descriptor usage (thus avoiding file-descriptor exhaustion attacks). The 'getrandom' interface is similar as 'getentropy' and 'getrandom' available on OpenBSD and Linux respectively.
2017-03-30 07:38:37 -06:00
Anthony Merlino
8f67ec30a7 wireless/ieee802154: Removes ieee802154.h and makes other minor changes 2017-03-29 12:39:52 -04:00
Gregory Nutt
0fec3f9541 Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-28 15:02:54 -06:00
Martin Lederhilger
91f96b6ecb drivers/analog: Add driver for the LTC1767L ADC. 2017-03-28 06:34:37 -06:00
Gregory Nutt
b0204909b2 Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-27 18:16:19 -06:00
Gregory Nutt
6c4dac459a lcd/: PCF8574 backpack logic needs to include poll.h CONFIG_DISABLE_POLL is not set. 2017-03-27 12:28:34 -06:00
Gregory Nutt
3fbf59e2bc MRF24J40: Take advantage of new OS features for interrupt parameter passing. 2017-03-27 10:48:58 -06:00
Gregory Nutt
b315f0d851 AT86RF23x: Clean-up, standardize lower half interface. Take advantage of new OS features for interrupt parameter passing. 2017-03-27 10:28:03 -06:00
Gregory Nutt
a3304d206e Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-26 15:47:16 -06:00
Gregory Nutt
7d57a2b2bd Trivial changes from review of last PR. 2017-03-25 10:38:41 -06:00
raiden00pl
be8207d493 drivers/analog: Add basic COMP driver 2017-03-25 16:50:11 +01:00
Gregory Nutt
e97a13ea90 MRF24J40/Clicker2: Add an MRF24J40 device configuration to the Clicker2 STM32 board. Fix a few errors discovered during build. 2017-03-24 13:49:40 -06:00
Anthony Merlino
7388816629 drivers/ieee802154: Moves defines to MAC layer and adjusts some addressing functionality 2017-03-24 11:10:35 -04:00
Gregory Nutt
0be851d339 Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-22 14:26:20 -06:00
Masayuki Ishikawa
f50a075373 Merged in masayuki2009/nuttx.nuttx/lcd_aqm_1248a_support (pull request #287)
drivers/lcd/st7565.c: Use ST7565_POWERCTRL_INT instead of ST7565_POWERCTRL_BRF

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-21 23:45:47 +00:00
Masayuki Ishikawa
e336d24898 drivers/lcd/st7565.c: Use ST7565_POWERCTRL_INT instead of ST7565_POWERCTRL_BRF 2017-03-22 08:21:22 +09:00
Masayuki Ishikawa
d4e7213ddc Merged in masayuki2009/nuttx.nuttx/lcd_aqm_1248a_support (pull request #283)
drivers/lcd/st7565.c:  Extend to include support for the AQM_1248A

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-21 13:27:42 +00:00