Maureen Helm
56c094570e
pinmux: Add hexiwear pinmux table
...
The hexiwear board has a k64 SoC, so we can reuse the k64 pinmux driver
and just add a new pinmux table for the board.
Jira: ZEP-716
Change-Id: I936691b3578db298014f44fe18433d7943b431f3
Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2016-10-18 21:42:32 +00:00
Maureen Helm
342e09c463
pinmux: Rename frdm_k64f pinmux driver to k64
...
The k64 pinmux driver can be used for any k64 board, not just frdm_k64f,
therefore renaming the driver accordingly.
Change-Id: I45e96d4a5ff6aa859d0f57fe098e44a8ae5283d1
Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2016-10-18 21:42:31 +00:00
Anas Nashif
debf5bfe63
pinmux: k64f: remove unused Kconfig section
...
Those options are not being used anywhere, so remove them and avoid some
confusion.
Change-Id: Ia3767dbd2432851dfae4b1e996f02ed1b2450505
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-10-18 20:14:52 +00:00
Justin Watson
b5e9c6d1bb
driver: Fixed Atmel SAM3 serial driver.
...
The Atmel SAM3 serial driver poll in function checked
for new characters incorrectly.
Change-Id: I9024a991404bf949226634c9f6c6ea507577cff1
Signed-off-by: Justin Watson <jwatson5@gmail.com>
2016-10-18 17:46:41 +00:00
Vinayak Chettimada
5843e8df89
drivers: clock_control: Add nRF5x Series SoC clock driver
...
In the Nordic Semiconductor's nRF5x series SoC clock control
system can source the system clocks from a range of internal or
external high and low frequency oscillators and distribute them
to modules based upon a module’s individual requirements.
In this commit the implementation adds support for 16MHz
peripheral clock, 32.768 kHz RC oscillator, and 32.768 kHz
crystal oscillator clock sources.
16MHz peripheral clock is required to use the 2.4GHz Radio
peripheral. 32.768 kHz RC or crystal oscillator clock source
is required to use the real time counter peripheral.
Jira: ZEP-896
Change-id: I1a1e22322a5a26b587f3e27bb979e6296987ac1c
Signed-off-by: Vinayak Chettimada <vinayak.kariappa.chettimada@nordicsemi.no>
2016-10-18 13:03:41 +00:00
Anas Nashif
348e61dcdc
sensors: tmp112: move tmp112 to own directory under drivers/sensor/
...
Change-Id: I85023f60ee3c5303a6c065f8ee1b238106b13e49
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-10-17 14:49:56 -04:00
Anas Nashif
623b43f5dc
sensors: tmp007: move tmp007 to own directory under drivers/sensor/
...
Change-Id: If5fd1277ec93455ee7a1e856357dfab0930a653c
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-10-17 14:41:21 -04:00
Anas Nashif
bdfeda0a73
sensors: sx9500: move sx9500 to own directory under drivers/sensor/
...
Change-Id: Ifc7dfd8a28d33f140415ca178b56d35e51aff178
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-10-17 14:39:56 -04:00
Anas Nashif
b918ae8d82
sensors: sht3xd: move sht3xd to own directory under drivers/sensor/
...
Change-Id: I8d13f5b2461169940f24a08346f0da0c291a8fef
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-10-17 18:38:00 +00:00
Anas Nashif
cce03b127d
sensors: mpu6050: move mpu6050 to own directory under drivers/sensor/
...
Change-Id: Ia0c4e81f8725da6fc5fead7a86320b613336e702
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-10-17 18:37:59 +00:00
Anas Nashif
6977cad1e2
sensors: mcp9808: move mcp9808 to own directory under drivers/sensor/
...
Change-Id: I8327d821b95b5bd8c13d5f24dd5ec46fa53b2d18
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-10-17 18:37:59 +00:00
Anas Nashif
77bbbb3618
sensors: max44009: move max44009 to own directory under drivers/sensor/
...
Change-Id: I6b063ebeb53ce6ababd027e15d8d7d94f6174a53
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-10-17 18:37:59 +00:00
Anas Nashif
109cfe5889
sensors: lsm9ds0_mfd: move lsm9ds0_mfd to own directory under drivers/sensor/
...
Change-Id: If07b2a73a8acad7f89f650ec304199961a629e28
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-10-17 18:37:58 +00:00
Anas Nashif
81c564a675
sensors: lsm9ds0_gyro: move lsm9ds0_gyro to own directory under drivers/sensor/
...
Change-Id: Ia654ab8059d656da6b4414a3fe35c81ec39654d3
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-10-17 18:37:58 +00:00
Anas Nashif
1ae2b855c1
sensors: lsm6ds0: move lsm6ds0 to own directory under drivers/sensor/
...
Change-Id: Ia2911f584da30fd583318e9730ad1ec147ba6f8b
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-10-17 18:37:57 +00:00
Anas Nashif
8298e9ac27
sensors: lps25hb: move lps25hb to own directory under drivers/sensor/
...
Change-Id: I5d9c802a8ec9d29557417b687c92b2430aca9fe1
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-10-17 18:37:57 +00:00
Anas Nashif
49f53fa3ac
sensors: lis3mdl: move lis3mdl to own directory under drivers/sensor/
...
Change-Id: Ie3140e7eb6dcfab6008af3ba85dc9119c5dbfb50
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-10-17 18:37:56 +00:00
Anas Nashif
6f0c55600a
sensors: lis3dh: move lis3dh to own directory under drivers/sensor/
...
Change-Id: Ie263f4400707fec685cd93077e764c5b77f4784d
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-10-17 18:37:56 +00:00
Anas Nashif
bdcf651cd1
sensors: isl29035: move isl29035 to own directory under drivers/sensor/
...
Change-Id: Ia0164f2891b1b2f3d19c63b8311d71e1f9abeeb5
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-10-17 18:37:56 +00:00
Anas Nashif
cc43b3017a
sensors: hts221: move hts221 to own directory under drivers/sensor/
...
Change-Id: Id568ee3fae62090ef2711d34fbfd9de214630008
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-10-17 18:37:55 +00:00
Anas Nashif
e71a133dd7
sensors: hp206c: move hp206c to own directory under drivers/sensor/
...
Change-Id: Ie218228c16584384312200522f43edbd15aadf30
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-10-17 18:37:55 +00:00
Anas Nashif
4166365c00
sensors: hmc5883l: move hmc5883l to own directory under drivers/sensor/
...
Change-Id: I5b1126238686b239a5abb73d3ddc966e7d7150d3
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-10-17 18:37:54 +00:00
Anas Nashif
37cf07df27
sensors: hdc1008: move hdc1008 to own directory under drivers/sensor/
...
Change-Id: If1a7805ab2053b3588318c2a3d5b549a667cb0fb
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-10-17 18:37:54 +00:00
Anas Nashif
9078ad7982
sensors: dht: move dht to own directory under drivers/sensor/
...
Change-Id: Id19b4ea414347caa23730e3ccd4f79761878af01
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-10-17 18:37:53 +00:00
Anas Nashif
49a6d13849
sensors: bmi160: move bmi160 to own directory under drivers/sensor/
...
Change-Id: I14bfabf77b7aa64acbf25a922a94f92c559b13f7
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-10-17 18:37:53 +00:00
Anas Nashif
0005f2ff06
sensors: bmg160: move bmg160 to own directory under drivers/sensor/
...
Change-Id: Ifae44714f08537835c8466fba11b6853f258f148
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-10-17 18:37:53 +00:00
Anas Nashif
c445de3bbb
sensors: bme280: move bme280 to own directory under drivers/sensor/
...
Change-Id: I53f5504773c914b0936091c459b80ab133b9e4ac
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-10-17 18:37:52 +00:00
Anas Nashif
57b13ec890
sensors: bmc150_magn: move bmc150_magn to own directory under drivers/sensor/
...
Change-Id: I725438747b3208ebd49f4f7d9ef6277721eaa48f
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-10-17 18:37:52 +00:00
Anas Nashif
c31bbc32d8
sensors: bma280: move bma280 to own directory under drivers/sensor/
...
Change-Id: I1c73d36a51ea88fbda3707c7d6630d54f8fd3545
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-10-17 18:37:51 +00:00
Anas Nashif
db04446964
sensors: ak8975: move ak8975 to own directory under drivers/sensor/
...
Change-Id: Ib3a8e8a74430d30843db77954737c3ce5dfdce14
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-10-17 18:37:51 +00:00
Anas Nashif
2f042d65a0
grove lcd: cleanup includes
...
Change-Id: If9c7b505c1233c8e86bc3142ac803dc1a5ac5272
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-10-17 00:24:34 +00:00
Anas Nashif
915eac4625
sensors: add TH02 temperature sensor (Grove)
...
Support for the Temperature&Humidity Sensor (High-Accuracy &Mini)
v1.0 sensor, see:
http://wiki.seeed.cc/Grove-TemptureAndHumidity_Sensor-High-Accuracy_AndMini-v1.0/
Change-Id: I439eafc863116f21e3b3385175d1935e60a5e9b1
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-10-17 00:24:33 +00:00
Johan Hedberg
efe7c939c2
Merge bluetooth branch into master
...
Main changes:
- Fixes to IPSP & L2CAP buffering to prepare for Native IP stack
- Fixes to SMP (Security Manager Protocol) over BR/EDR
- Improvements to persistent storage API
- Support for specifying BR/EDR Page Timeout in Kconfig
----------------------------------------------------------------
Flavio Santes (1):
Bluetooth: Fix Kconfig typo
Itankar, Piyush T (3):
Bluetooth: HCI: Add OpCode definition for setting page timeout
Bluetooth: Kconfig: Option to set page timeout value
Bluetooth: HCI: Set the Page timeout
Johan Hedberg (7):
Bluetooth: Use proper const type for bt_storage_clear()
Bluetooth: Improve storage API documentation
Bluetooth: Add BT_STORAGE_ADDRESSES key to storage API
Bluetooth: samples/btusb: Rename main c-file
Bluetooth: samples: Rename btusb to hci-usb
Bluetooth: SMP: Take advantage of new byte swap helpers
Bluetooth: tests: Clean up platform whitelisting
Luiz Augusto von Dentz (4):
Bluetooth: L2CAP: Fix sending buffer with not enough space
Bluetooth: L2CAP: Allow sending fragmented buffers
Bluetooth: L2CAP: Allow receiving fragmented buffers
Bluetooth: IPSS: Remove ipss_listen
Mariusz Skamra (3):
Bluetooth: tester: Rework discovery procedure
Bluetooth: tester: Add Identity Resolved event implementation
Bluetooth: tester: Add GAP Unpair command handler
Roger Lendenmann (1):
Bluetooth: Add well known keys to storage API for legacy pairing
Szymon Janc (13):
Bluetooth: L2CAP: Initialize iterator inside for statement
Bluetooth: L2CAP: Build fixed channels mask on runtime
Bluetooth: L2CAP: Move BR/EDR specific code to l2cap_br.c
Bluetooth: L2CAP: Connect optional fixed channel only if supported
Bluetooth: L2CAP: Treat fixed channel as connected on incoming data
Bluetooth: SMP: Fix getting context for BR/EDR pairing
Bluetooth: SMP: Use separate pool for BR/EDR connections
Bluetooth: Start SMP over BR/EDR on pairing complete
Bluetooth: SMP: Fix build without central role support
Bluetooth: SMP: Fix build without signing support
Bluetooth: tests: Add init config for BR/EDR SMP testing
Bluetooth: Track role change for BR/EDR connections
Bluetooth: SMP: Check for connection role before BR/EDR pairing
drivers/bluetooth/nble/gap.c | 2 +-
include/bluetooth/hci.h | 9 +
include/bluetooth/storage.h | 55 +++-
net/bluetooth/Kconfig | 10 +-
net/bluetooth/hci_core.c | 57 +++-
net/bluetooth/l2cap.c | 119 ++++++---
net/bluetooth/l2cap_br.c | 117 +++++++--
net/bluetooth/l2cap_internal.h | 3 +
net/bluetooth/smp.c | 259 +++++++++++--------
net/bluetooth/smp.h | 2 +
samples/bluetooth/gatt/ipss.c | 121 ---------
samples/bluetooth/gatt/ipss.h | 1 -
samples/bluetooth/{btusb => hci-usb}/Makefile | 0
samples/bluetooth/{btusb => hci-usb}/prj.conf | 0
samples/bluetooth/{btusb => hci-usb}/src/Makefile | 2 +-
.../{btusb/src/btusb.c => hci-usb/src/main.c} | 0
samples/bluetooth/{btusb => hci-usb}/testcase.ini | 0
samples/bluetooth/ipsp/src/main.c | 121 ++++++++-
tests/bluetooth/init/prj_22.conf | 5 +
tests/bluetooth/init/testcase.ini | 9 +-
tests/bluetooth/tester/btp_spec.txt | 8 +
tests/bluetooth/tester/src/bttester.h | 9 +
tests/bluetooth/tester/src/gap.c | 182 ++++++++++++-
23 files changed, 780 insertions(+), 311 deletions(-)
rename samples/bluetooth/{btusb => hci-usb}/Makefile (100%)
rename samples/bluetooth/{btusb => hci-usb}/prj.conf (100%)
rename samples/bluetooth/{btusb => hci-usb}/src/Makefile (86%)
rename samples/bluetooth/{btusb/src/btusb.c => hci-usb/src/main.c} (100%)
rename samples/bluetooth/{btusb => hci-usb}/testcase.ini (100%)
create mode 100644 tests/bluetooth/init/prj_22.conf
Change-Id: Ic85dc1773947ce6229fe8364a81ce9876bb1effb
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2016-10-16 14:43:32 +03:00
Marcus Shawcroft
87077727bf
eth: Add KSDK ENET driver.
...
Provide a network driver wrapped around the KSDK ENET and PHY
drivers.
The driver performs one shot PHY setup. There is no support for PHY
disconnect, reconnect or configuration change. The PHY setup,
implement via KSDK contains polled code that can block the
initialization thread for a few seconds.
There is no statistics collection for either normal operation or error
behaviour.
Origin: Original
Change-Id: Ia0f2e89a61348ed949976070353e823c178fcb24
Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
2016-10-16 09:57:35 +00:00
Johan Hedberg
7d0eef5f96
Bluetooth: Use proper const type for bt_storage_clear()
...
The bt_storage_clear() function doesn't modify the data behind the
addr parameter, so the pointer should be decared const.
Change-Id: Icce676f9df80bac26ba4877bb63752559a43339f
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2016-10-16 09:00:57 +03:00
Marcus Shawcroft
7ee5ce75e9
serial/ns16550: Move RW objects from driver config to driver context.
...
PCI enumeration modifies pci_dev and port at driver initialization,
these objects move from config_info to driver_data in preparation for
config_info becoming const.
This driver shares a unified uart configuration structure with other
uart device drivers. The structure uses 'union' and the preprocessor
to customize the structure to the drivers specific requirement. There
appears to be no compelling reason why all the uart drivers should
share the same (customized) config_info structure. In order to
re-organize the structure for this driver to get config_info const, an
ns16550 specific config structure is defined and the driver switched
over from the generic uart_config.
Change-Id: I31932d811f623a9370b69903114ae97b15d65886
Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
2016-10-15 16:44:06 +00:00
Marcus Shawcroft
be6872f5ca
spi/dw: Make config structure static.
...
Change-Id: I15236d62b330ffe2363fa438179fe1f79c168592
Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
2016-10-15 16:44:06 +00:00
Marcus Shawcroft
df098b7012
ipm: Make config_info pointers const.
...
Change-Id: I616c215f98f57d74ba495959d220de6d38ada9d0
Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
2016-10-15 12:29:23 +00:00
Marcus Shawcroft
9f308df473
pwm: qmsi: Remove RW data from driver config structure.
...
Move the RW channel_period object from the driver config structure to
the driver context. Remove the now empty driver config structure.
Change-Id: I38df7877f1bfb9bb55bcd61e7f35cebb6e4916bd
Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
2016-10-15 12:29:23 +00:00
Marcus Shawcroft
2650747983
serial/uart_qmsi: Make pointers to config_info const.
...
Change-Id: I667315671aeb8eaa5a5f1e4157c804e9028793de
Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
2016-10-15 12:29:23 +00:00
Marcus Shawcroft
0f1d0d465b
i2c/qmsi_ss: Make pointers to config_info const.
...
Change-Id: I7786f9c65e62eee27395d53b6e923dec6c13f1f4
Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
2016-10-15 12:29:22 +00:00
Marcus Shawcroft
3d32b19726
i2c/qmsi: Make pointers to config_info const.
...
Change-Id: I95e17cda100c068bfd61e66c568b5adb6f58c42c
Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
2016-10-15 12:29:22 +00:00
Marcus Shawcroft
6b7616698b
qmsi/dma: Make config_info pointers const.
...
Change-Id: I6569049d06853355b73735bfddedc827e4764780
Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
2016-10-15 12:29:21 +00:00
Marcus Shawcroft
b8d6ce241c
qmsi/dma: Remove unused channel[] from config_info
...
Change-Id: Iab5f976c61674f6955d50a882911c790eba3fb21
Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
2016-10-15 12:29:20 +00:00
Marcus Shawcroft
2d1678c632
gpio/sam3: Move RW data from driver config to runtime.
...
The callback list within the driver config is updated dynamically
hence the list itself cannot be const. Create a runtime context
driver data structure and relocate the callback list to the new
structure.
Change-Id: Ied20846e6a78e43967239afa7797456a9abd8548
Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
2016-10-15 12:29:19 +00:00
Marcus Shawcroft
389e606b06
i2c/sam3: Make config_info pointers const.
...
Change-Id: I5e388ff91430d052c84553a8cf9ece12cae29993
Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
2016-10-15 12:29:19 +00:00
Anas Nashif
e05fa64f4c
frdm_k64: spi: fixed wrong kconfig used in driver
...
Change-Id: I43f31562cdfa0b722907e5c6018e3e56d141ed4f
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-10-10 21:26:30 +00:00
Marcus Shawcroft
02dcceef29
clock/quark: Make config_info pointers const.
...
Preparation for const driver configuration data.
Change-Id: I0337cb574d8bac0877643b2116920d4a0c08c8f3
Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
2016-10-08 11:40:15 +00:00
Marcus Shawcroft
ec7d259fa3
eth/enc28j60: Make config_info pointers const.
...
Preparation for const driver configuration data.
Change-Id: I75e51f396ce9dbe5d9f2339b551c142a5afcbfce
Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
2016-10-08 11:40:13 +00:00
Marcus Shawcroft
3316cb3898
serial/uart_nsim: Make config_info pointers const.
...
Preparation for const driver configuration data.
Change-Id: Ide7c5cae8c57e3b30c7bb6611b574b86562c241d
Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
2016-10-08 11:40:12 +00:00