summaryrefslogtreecommitdiff
path: root/tests/bluetooth/init
AgeCommit message (Collapse)Author
2016-11-11Bluetooth: Kconfig: Restructure for a more logical hierarchyJohan Hedberg
Restructure the Bluetooth options more logically. - Both host and controller are now behind the same high level CONFIG_BLUETOOTH. - Selecting controller support disables other HCI driver selection, so the controller isn't in the same list as HCI drivers any more. - Under the top-level there's a "Custom stack" option, which when enabled opens up the option of choosing CONFIG_NBLE. There are various other cleanups and simplifications in this patch as well, since splitting these up would have been fairly tricky while making sure all test cases still build. Change-Id: I5bb715cb9d20201cb8b72fbd149c8a09a4b2d7d2 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2016-11-04samples: tests: remove obsolete KERNEL_TYPE and kernel variablesAnas Nashif
Remove those from Makefiles and testcase.ini, we now support unified kernel only and sanitycheck script now knows how to deal with this. Change-Id: I853ebcadfa7b56a4de5737d95f2ba096babb2e13 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-10-28Bluetooth: tests/init: Limit controller+host for 32kB RAM platformsJohan Hedberg
The combined controller & host build takes up too much RAM for the 16kB arduino_101_ble target, so limit it to the 32kB nRF52 & nRF51 DevKits. Change-Id: Ib9d04765697b7f5c748633cb6244474d92f96995 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2016-10-28Bluetooth: Use unified kernel build for tests and samplesSzymon Janc
This makes all Bluetooth samples and tests being build with unified kernel. main() is now executed from init thread and specifying task for it in mdef file is no longer needed. By default main stack is 1024 bytes and this should be enough for BT samples. Change-Id: I6674eea2c028b78ada5190acef72937186738af2 Signed-off-by: Szymon Janc <ext.szymon.janc@tieto.com>
2016-10-28Bluetooth: Rename bt_driver to bt_hci_driverJohan Hedberg
The bt_driver API was created when Zephyr only had a Bluetooth host stack, but no controller-side functionality. The only "driver" that was needed for the host was the HCI driver, and hence "HCI" was omitted from the name. With support both for host and controller Zephyr will be getting more Bluetooth driver types, in particular radio drivers. To prepare for this, move all HCI drivers to drivers/bluetooth/hci/ and rename the bt_driver API bt_hci_driver. Change-Id: I82829da80aa61f26c2bb2005380f1e88d069ac7d Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2016-10-28Bluetooth: tests optimize testcase.ini for shell and initAnas Nashif
Change-Id: Ia3f09e33684075394bf5d3e91ade53aaf4443a17 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-10-18tests/bluetooth/init/testcase.ini: add missing kernel=microInaky Perez-Gonzalez
This testcase was being ran on Quark D2000 because it failed to identify itself as micro. There is not enough RAM for that. Properly tag. Change-Id: I9fd4235f4436b914b89b10616cbed0cfb3e97b40 Jira: ZEP-1014 Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
2016-10-16Bluetooth: tests: Clean up platform whitelistingJohan Hedberg
Clean up left-overs from this getting fixed first in master. Change-Id: Ief41ecfdeeb51fbc76f2fe045a412ff1643f69c9 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2016-10-16Bluetooth: tests: Add init config for BR/EDR SMP testingSzymon Janc
This test build where BR/EDR SMP support is enabled without LE central or singing support. Change-Id: I61bc17e989a5752500a7d29557609d9e54b6006d Signed-off-by: Szymon Janc <ext.szymon.janc@tieto.com>
2016-10-15Bluetooth: tests: Limit BR/EDR tests to only qemuAnas Nashif
No other board has BR/EDR support at the moment, and we're too easily hitting RAM limits on them. Change-Id: I81c800f979d34bd58f73a34c1038a9327556adb2 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-10-04Bluetooth: Enable CONFIG_BLUETOOTH_DEBUG_AVDTP with prj_20.confLuiz Augusto von Dentz
This ensures ADVTP patches are build tested with debug enabled. Change-Id: I5c09afea4a9df84b054d2383f0b53ff85fa5dcd5 Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2016-10-04Bluetooth: tests: Fix name of Quark SE C1000 SS devboardJohan Hedberg
This board was recently renamed, but apparently this reference was left out. Change-Id: I9789fa45eab6a9b3118f0f0857ef2207311597f3 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2016-10-04Bluetooth: init: Add HFP to automated testsArkadiusz Lichwa
Adds HFP HF stack code to automated tests during build coverage. Change-Id: Ic7bf5f0077b38bbe0feed167935dee73c989a523 Signed-off-by: Arkadiusz Lichwa <arkadiusz.lichwa@tieto.com>
2016-10-04Bluetooth: init: Add CONFIG_BLUETOOTH_A2DP to prj_20.confLuiz Augusto von Dentz
This makes sure A2DP support is build tested on each patch. Change-Id: I9dba5c20d44d8ac92910e80c1ad97ac8d2207652 Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2016-10-04Bluetooth: init: Add CONFIG_BLUETOOTH_AVDTP to prj_20.confLuiz Augusto von Dentz
This makes sure AVDTP support is build tested on each patch. Change-Id: Ia7cf94ca84fa01bd676a99b0df58ac745bbfc8c7 Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2016-10-04Bluetooth: init: Add CONFIG_BLUETOOTH_RFCOMM to prj_20.confLuiz Augusto von Dentz
This makes sure RFCOMM support is build tested on each patch. Change-Id: I9cd60da1b0ab0db2b41487393fb59fe1b415ea01 Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2016-09-15Bluetooth: Init: Updated filiter options for test_20Itankar, Piyush T
Added filter options to avoid building for the Arduino_101 and Quark_se ARC core as there is not enough RAM to run this test. Change-Id: I0c1172714c9827e632648fcedc67555251f25769 Signed-off-by: Itankar, Piyush T <piyush.t.itankar@intel.com>
2016-09-07Bluetooth: tests: Add BLE controller init testsVinayak Chettimada
Jira: ZEP-702 Origin: Original Change-Id: I55fa102069db155e8fd461513abbe898f64d8977 Signed-off-by: Vinayak Chettimada <vinayak.kariappa.chettimada@nordicsemi.no> Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2016-07-15altera_max10: enable and use 16550 UARTAndrew Boie
The 16550 will now be the default console device. Change-Id: I92a6b49984b055e7d5f5c97e5192150be0d5c5c7 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2016-06-30REVERTME test: bluetooth: init: exclude Nios II JTAG UARTAndrew Boie
This driver does not yet support interrupt-driven console. Revert when ZEP-280 is implemented. Change-Id: Ib430c39138194ab441c95a1b1856c3661102a625 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2016-06-22bluetooth: init: disble for CONFIG_UART_ALTERA_JTAGAndrew Boie
Interrupt-driving UART not implemented yet for this driver. Change-Id: Ida60d7e09e9eca2d7e6452a84f6d95529d0af9b6 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2016-06-14testcases: sanity check TCs get more language for real HWInaky Perez-Gonzalez
Add more specifications or qualify some to the sanity check test cases for them to be ran in real hardware: - kernel types (micro vs nano) - platforms / arches to exclude / include - one that is removed (for the PCI sample) as it cannot be ran without extra information Change-Id: Id14dc15eb89358c3656d2814ea41bb6fec051278 Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
2016-06-10Bluetooth: Update Intel copyright for files modified in 2016Johan Hedberg
Change-Id: I10a7cab9a7f911b9f64e17bf24ddce82c2f08c40 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2016-06-01Bluetooth: Add support for using SYS_LOGLuiz Augusto von Dentz
This add CONFIG_BLUETOOTH_DEBUG_LOG which depends on SYS_LOG since the later can actually use either CONFIG_PRINTK or CONFIG_STDOUT_CONSOLE. Change-Id: Ib2974d1331f6c91d119a218ec95e8bf01069377b Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2016-05-26test: bluetooth: disable test for STM32F103RB not enough RAMJavier B Perez
Disabled bluetooth test for STM32F103RB SOC because there is not enough RAM space for the test. Change-Id: I9f097d9201ed659c4970b67f42c570331b92bad8 Signed-off-by: Javier B Perez <javier.b.perez.hernandez@intel.com>
2016-05-17Bluetooth: Remove unnecessary #ifdef for micro/nano main functionJohan Hedberg
By calling the microkernel entry point 'main' there's no need to have extra hacks to share the same c-file with both nano and micro configurations. Change-Id: I6623855a87ef8624b2bddb75b95079521e0eab8b Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2016-04-29Bluetooth: Fix not being able to set CONF_FILE for init testLuiz Augusto von Dentz
Change-Id: I750cb062b88fd265c14ae3304ae33cd345683a0f Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2016-04-22Bluetooth: tests: Add automated tests for new monitor codeJohan Hedberg
Add two new test cases to exercise the code in monitor.c. Change-Id: I66ae70e0d3b61d3b852916333019e1ed2c5c6cf4 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2016-04-21Bluetooth: tests: Add DEBUG_DRIVER to automated testsJohan Hedberg
Change-Id: I9fa76816ceb1f6a49861a1145ae85394b6a64c80 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2016-04-20Bluetooth: Kconfig: Split debug selection into a choiceJohan Hedberg
This prepares for adding other debug types besides the printf-style logging to the console. Change-Id: Ic2ed305192491734da991c4f61fdaace03fd60f2 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2016-03-23Bluetooth: Provide more config options to init sampleSzymon Janc
This allows to excersize different kconfig configurations in single app. Thanks to this other samples don't have to get extra extra options enabled just to improve test build coverage. Change-Id: Ie5d261f3d38c60e227cf963d938b6fac6d0fb3b9 Signed-off-by: Szymon Janc <ext.szymon.janc@tieto.com>
2016-02-15Bluetooth: Merge init_h5 into init testSzymon Janc
There is no need to have spearate app for H5 testing as init test can use multiple configuration targets. Change-Id: I467b5939ae914e7c1ac22fdac24d8b0b6ed3f1cf Signed-off-by: Szymon Janc <ext.szymon.janc@tieto.com>
2016-02-14samples: move bluetooth shell/init to testsAnas Nashif
Combine both nano and micro tests and cleanup whitelisting for the testcases to include all buildable boards. Change-Id: I28d41b82fb60d75d4b172d9dd3ac7e71480053b8 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-02-12Bluetooth: samples: Move init and shell to testsJohan Hedberg
The init, init_h5 and shell are not really samples but fit better in the test category. Change-Id: Id1a7ff31ad8767f858705bd952311cf64ff1f3f2 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>