summaryrefslogtreecommitdiff
path: root/ext
AgeCommit message (Collapse)Author
2016-10-25drivers:ksdk:random: Rename for consistency with other KSDK shim drivers.Marcus Shawcroft
The various other KSDK shim drivers follow the name pattern <DEVICE>_KSDK, renaming the RANDOM driver to follow the pattern. Change-Id: I89409083f94c0990129726e70a964b02e0dc2802 Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
2016-10-18ext qmsi: Update to QMSI 1.2 releaseJesus Sanchez-Palencia
Update the QMSI drop we maintain in Zephyr, and fix the build where needed: - QM_USB_BASE is renamed to QM_USB_0_BASE; - parameter int_en from qm_uart cfg struct was removed; - driver's folder now has a new structure, fix makefiles accordingly; - QM_WDT_MODE and related renamed to QM_WDT_CR_RMOD; - QM_SCSS_AON renamed to QM_AONC. Change-Id: Iffe9c66b7a3f2fe64418326e20ff0894149b3044 Signed-off-by: Jesus Sanchez-Palencia <jesus.sanchez-palencia@intel.com>
2016-09-23ksdk: Build ksdk fsl_enet.c and fsl_phy.cMarcus Shawcroft
Add ksdk components necessary to build a network driver on k64f to the build process. Origin: Original Change-Id: I777ab2594b4c443d634264625c39c6c875c34d9f Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
2016-09-16boards: rename Quark SE Devboard to Quark SE C1000Anas Nashif
This board now has an official name and will be available soon: http://www.intel.com/content/www/us/en/embedded/products/quark/mcu/se-soc/overview.html Jira: ZEP-758 Change-Id: Ia16d33722308cf81471321c3063bdc75055a4d50 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-09-16boards: rename Quark SE Devboard to Quark SE C1000 (Sensor Subsystem)Anas Nashif
Jira: ZEP-758 Change-Id: I8ee5a2f9e4a6ecbd15214e59321bf27a502ef6ee Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-09-14ksdk: Add KSDK RNGA driver.Marcus Shawcroft
Provide a random driver wrapped around the KSDK RNGA driver. Origin: Original Change-Id: I43feeb37d8d5173c7b95af8e80434fb7dc77a83e Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com> Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2016-09-10drivers: i2c: fix a compilation dependency issueBaohong Liu
Fix a compilation warning. Compilation of the i2c driver requires QMSI dma object file. As a solution, the current code has "selects DMA_QMSI" in i2c Kconfig. This results in a compilation warning since "select DMA" is also required. Adding "select DMA" and "select DMA_QMSI" together in i2c Kconfig can solve the compilation issue. But, this will cause the dma driver be unnecessarily enabled. So, the solution is to fix the issue in the QMSI part instead of in the shim driver. Jira: ZEP-777 ZEP-778 Change-Id: Id4c1f749bf71eece1e70583bd586a69b596768b2 Signed-off-by: Baohong Liu <baohong.liu@intel.com>
2016-09-07i2c: ksdk: Add shim driverMaureen Helm
Add a shim layer around the ksdk I2C driver to adapt it to the Zephyr I2C interface. Currently only supports master mode. Jira: ZEP-717 Change-Id: I704b8c38e22e456bb9fa4325682b2a354a27a7ba Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2016-08-31ksdk: Import Kinetis SDK ethernet phy driverMaureen Helm
This driver was not included in the original ksdk import, but is needed to use the ksdk ethernet mac driver. Origin: NXP KSDK 2.0 URL: kex.nxp.com Maintained-by: External Change-Id: Id56037f9c8255dcc18f3eb6792080ace8c7eacd3 Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2016-08-31ext: Import nRF51 files from Nordic MDKRicardo Salveti
Include the required files for nRF51. This is to prepare the basic build infrastructure for nRF51. Origin: Nordic MDK 8.6.1 URL: https://www.nordicsemi.com/eng/nordic/Products/nRF51822/nRF5x-MDK-Pack/48803 Maintained-by: External Change-Id: Ie594984cc26acdcefac9f6f6a6748ba673ea261c Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
2016-08-30ksdk: Compile the ksdk clock driverMaureen Helm
Jira: ZEP-715 Change-Id: Ic48dd7e4a59c7e14186287d57e7837ccf2ff56be Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2016-08-16fat_fs: zfs_diskio: use same typedefs in headerAndrew Boie
The implementation was using different typedefs than the prototypes in the header. Issue: ZEP-695 Change-Id: Ia369daafe1bce39830535d184bd4388b13c986b4 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2016-08-15ext qmsi: Fix broken built-in qmsi buildKuo-Lang Tseng
Update the built-in QMSI build to add qm_flash.c into the default build due to that the clk.c from QMSI 1.1.0 added a new dependency on qm_flash file. (https://gerrit.zephyrproject.org/r/#/c/4000/3/ext/hal/qmsi/drivers/clk.c) Jira: ZEP-703 Change-Id: I9f64e308cec21477a9b96183dec9ecca37ead373 Signed-off-by: Kuo-Lang Tseng <kuo-lang.tseng@intel.com>
2016-08-12ext: qmsi: disable tx empty interrupt at the end of rx transferBaohong Liu
Disable tx fifo empty interrupt at the completion of a receive transfer. If the API caller does not send "STOP" at the end of a receive transfer, unnecessary tx fifo empty interrupt will come one by one endlessly. Jira: ZEP-556 Change-Id: I54739459dfab81c28713f6a3c77789e7903bb7f9 Signed-off-by: Baohong Liu <baohong.liu@intel.com> Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2016-08-12ext qmsi: Update to QMSI 1.1.0 releaseKuo-Lang Tseng
Update the builtin QMSI code in Zephyr with QMSI 1.1.0 release from Github:. https://github.com/quark-mcu/qmsi/releases Remove un-used QMSI library makefiles. Jira: ZEP-541 Jira: ZEP-543 Change-Id: I25da733b170d3327b5fd6df3be6fa22230266932 Signed-off-by: Kuo-Lang Tseng <kuo-lang.tseng@intel.com>
2016-08-10Revert "ext qmsi: Update to QMSI 1.1.0 release"Andrew Boie
This was merged prematurely. This reverts commit 758355779cfdf8da572db4ae1292817bc77a4fb7. Change-Id: I19d27df0b9ea9acf49382d27b5ef6ce49b915542 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2016-08-10Revert "ext: qmsi: disable tx empty interrupt at the end of rx transfer"Andrew Boie
The parent commit for this was merged prematurely. This reverts commit d38208b977733d0f8f1c6e9fe5dd7a5a6890c85c. Change-Id: I4f05f303eac7bdf176fb0522e30eabb839602b25 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2016-08-11ext: qmsi: disable tx empty interrupt at the end of rx transferBaohong Liu
Disable tx fifo empty interrupt at the completion of a receive transfer. If the API caller does not send "STOP" at the end of a receive transfer, unnecessary tx fifo empty interrupt will come one by one endlessly. Jira: ZEP-556 Change-Id: I311aba843e28685e8cca36733ac3f1e09b70d900 Signed-off-by: Baohong Liu <baohong.liu@intel.com>
2016-08-10ext qmsi: Update to QMSI 1.1.0 releaseKuo-Lang Tseng
Update the builtin QMSI code in Zephyr with QMSI 1.1.0 release from Github:. https://github.com/quark-mcu/qmsi/releases Remove un-used QMSI library makefiles. Jira: ZEP-541 Jira: ZEP-543 Signed-off-by: Kuo-Lang Tseng <kuo-lang.tseng@intel.com> Change-Id: Iab4a9433607fef374a7347da85777f0b03065f2c
2016-08-08crypto/tinycrypt: Update README fileFlavio Santes
This commit updates the tinycrypt README file. Change-Id: I7350b3bb18de106d79347fab7f89345250b580c1 Signed-off-by: Flavio Santes <flavio.santes@intel.com>
2016-08-01fs: Adds diskio interfaceRamesh Thomas
Adds the diskio interface for the FAT file system. This revision uses RAM to emulate disk storage. Origin: Original Jira: ZEP-285 Change-Id: I7a30c8761d5ed9b564f1d1e08482c5ef199d7372 Signed-off-by: Ramesh Thomas <ramesh.thomas@intel.com>
2016-07-31samples/net : Adding mbedTLS sample clientSergio Rodriguez
This is a client that uses shared keys to execute a TLS handshake and read info from the server, information on how to run the test is in the README file. Jira: ZEP-327 Jira: ZEP-340 Jira: ZEP-495 Origin: https://tls.mbed.org/download/start/mbedtls-2.3.0-apache.tgz Change-Id: I10f31f3635f346936807b7c8470b3d6ffb3af283 Signed-off-by: Sergio Rodriguez <sergio.sf.rodriguez@intel.com>
2016-07-29fs: Update FatFs Kconfig namesRamesh Thomas
Modified the Kconfig flag names to identify external FS with source. This is required to differentiate between additional external Fat FS code tht may be added in future. Jira: ZEP-285 Change-Id: Ief4d11f57494fa1f7ba234182b8b922bc82575cc Signed-off-by: Ramesh Thomas <ramesh.thomas@intel.com>
2016-07-27samples/net : Adding mbedTLS self test routineSergio Rodriguez
This contain the run of the self test for the ciphers, crypto algorithms and utilities of mbedTLS. Jira: ZEP-327 Jira: ZEP-340 Jira: ZEP-495 Origin: https://tls.mbed.org/download/start/mbedtls-2.3.0-apache.tgz Change-Id: Ic1bb30b7ed691f17421510cd914ec5096e4e70ea Signed-off-by: Sergio Rodriguez <sergio.sf.rodriguez@intel.com> Signed-off-by: Kuo-Lang Tseng <kuo-lang.tseng@intel.com>
2016-07-27build/crypto: Update build system for tinycrypt 2.0Flavio Santes
Modify tinycrypt/Kconfig and tinycrypt/Makefile to include new CTR_PRNG algorithm. Jira: ZEP-590 Change-Id: Ied0288126c326d229508c05df4a256dea29cf740 Signed-off-by: Flavio Santes <flavio.santes@intel.com>
2016-07-27crypto: Update tinycrypt source filesFlavio Santes
Update Zephyr's tinycrypt to version 2.0. This new version adds support for ECC_DH, ECC_DSA, CMAC, & CTR_PRNG. The following doxygen documentation typos were detected and fixed: - ctr_prng.h:84 change plen by pLen, - ctr_prng.h:109 change entropylen by entropyLen, - sha256.h:110 change Sha256 by s. ecc_dh.h is also modified to fix the discrepancy of ecc_make_key definition and declaration. See https://gerrit.zephyrproject.org/r/#/c/1982/ TC_FAIL and TC_SUCCESS defines are renamed in this new version of tinycrypt, so net/bluetooth/hci_core.c, net/bluetooth/hci_ecc.c and net/bluetooth/smp.c are also updated to reflect those changes. Origin: https://github.com/01org/tinycrypt/archive/v0.2.0.tar.gz Jira: ZEP-590 Change-Id: I85f4f0ab61d9b0be6a60897e2b96f245dd8c51a8 Signed-off-by: Flavio Santes <flavio.santes@intel.com>
2016-07-26ext/lib : Integrating mbedTLS to build processSergio Rodriguez
Integrating the mbedTLS to the the build proccess with the minimal Thread configuration. Change-Id: I0ae191434d26890537a29a247c409228180410f3 Jira: ZEP-327 Jira: ZEP-340 Signed-off-by: Sergio Rodriguez <sergio.sf.rodriguez@intel.com>
2016-07-26ext/lib : mbedTLS Configuration modificationsSergio Rodriguez
Adding the mbedTLS configuration neede for Thread Network Protocol support, this shows the modifications needed to be able to compile on Zephyr Jira: ZEP-327 Jira: ZEP-340 Change-Id: I80a8f44bc302905b7aa4568a40a6ca66dcaf42f8 Signed-off-by: Sergio Rodriguez <sergio.sf.rodriguez@intel.com>
2016-07-26ext/lib : mbedTLS library modificationsSergio Rodriguez
Porting the mbedTLS library with the minimal Thread supported configuration, this is a TLS/SSL library highly customizable. This show the modifications needed to be able to compile on Zephyr build enviroment which does not have a time.h header file, so we avoid compilation errors. Jira: ZEP-327 Jira: ZEP-340 Change-Id: I197ea96d33748c986c71fe5a0608225aee69c8b3 Signed-off-by: Sergio Rodriguez <sergio.sf.rodriguez@intel.com>
2016-07-26ext/lib : Adding mbedTLS librarySergio Rodriguez
Adding the pristine version of mbed TLS to the zephyr source tree as the initial step of porting the mbed TLS library to Zephyr Jira: ZEP-327 Jira: ZEP-340 Origin: https://tls.mbed.org/download/start/mbedtls-2.3.0-apache.tgz Change-Id: Iae814560310ebd00af52c7b1fb9d03195388fa0c Signed-off-by: Sergio Rodriguez <sergio.sf.rodriguez@intel.com> Signed-off-by: Kuo-Lang Tseng <kuo-lang.tseng@intel.com>
2016-07-22ksdk: Fix ARRAY_SIZE conflictMaureen Helm
Wrap the ksdk's ARRAY_SIZE macro definition with an ifndef to avoid conflicting with the same macro in include/misc/util.h. Change-Id: I102170519857ba6c593c3d3ee96e3394711c625d Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2016-07-20ext qmsi: Build the power states support from QMSIIván Briano
QMSI provides functions to set the SOC into its various power states, and for Quark SE it also allows to control the voltage regulator, but the files with these functions were not being built. Change-Id: I40f08cdc970eb6696bc5f1d6cd0c407f64bec754 Signed-off-by: Iván Briano <ivan.briano@intel.com>
2016-07-20ext qmsi: Fix registers definition for LPSSIván Briano
This is fixed in QMSI 1.1 already and this patch can be reverted when the next released is merged into Zephyr. Original commit message: While performing power measurements in LPSS, it appeared that the value for LPSS registers was incorrect. Fix this value to enable proper entry in LPSS mode. Change-Id: Ie6a4aa5c9aa01ebaad0cd2db722bb9b5c87df5e7 Signed-off-by: Julien Delayen <julien.delayen@intel.com> Signed-off-by: Iván Briano <ivan.briano@intel.com>
2016-07-20fs: PUll in rev 0.12a of open source FAT FS codeRamesh Thomas
Update latest revision of the FAT FS code. Origin: ELM Chan URL: http://elm-chan.org/fsw/ff/00index_e.html Change-Id: I602c239055c171595a46986eaa774298117055b6 Signed-off-by: Ramesh Thomas <ramesh.thomas@intel.com>
2016-07-18ext qmsi: Make QMSI headers available to more than just driversIván Briano
QMSI provides more than just peripheral drivers, and it may be used from the SOC or by applications that need finer grained control of the platform. This also makes the QMSI HAL consistent with the others. Change-Id: I27490c98ccf1c1afcc090ce1e65f0e066eddc777 Signed-off-by: Iván Briano <ivan.briano@intel.com>
2016-07-01ext qmsi: Update to QMSI 1.1-BetaJesus Sanchez-Palencia
QMSI 1.1 Beta is available on Github: https://github.com/01org/qmsi/releases/tag/v1.1.0-beta Update the QMSI drop we maintain in Zephyr and keep the modification to qm_soc_regs.h introduced on commit 6b88a6b945e8 "ext qmsi: Add USB base and interrupt defines" since that patch hasn't made into the QMSI 1.1-Beta release in time. Also, fix the build where needed: - add hard dependency from qm_i2c to qm_dma - fix spi_qmsi_ss.c due to new parameter naming - fix adc_qmsi.c and adc_qmsi_ss.c due to a new parameter Change-Id: I01388c787f5ee6ee97fece2e42b24a717522207f Signed-off-by: Jesus Sanchez-Palencia <jesus.sanchez-palencia@intel.com> Signed-off-by: Kuo-Lang Tseng <kuo-lang.tseng@intel.com>
2016-06-30ext qmsi: Add USB base and interrupt definesAdrian Bradianu
This commit should be reverted when these changes will become part of QMSI 1.1 release. Change-Id: I4cc91a10515906e3863bb9be59dbead53bd4a938 Signed-off-by: Adrian Bradianu <adrian.bradianu@windriver.com>
2016-06-29fs: [WIP] Pull in open source FAT FS implementationRamesh Thomas
This implements the top layer of the FAT FS. It exports an user API that would be abstacted by Zephyr FS API. It has another set of API to interface with a bottom layer that would provide platform specific file systems. A flash file system will be implemented for the bottom layer. Jira: ZEP-285 Origin: ELM Chan URL: http://elm-chan.org/fsw/ff/00index_e.html Change-Id: Id7c99dbdac9612b1a597bd8099b8a528824afae9 Signed-off-by: Ramesh Thomas <ramesh.thomas@intel.com>
2016-06-22drivers: dma: Add QMSI 1.1-based DMA shim driverBaohong Liu
Add DMA shim driver based on QMSI 1.1 In order to enable this driver, the following options must be set. CONFIG_DMA CONFIG_DMA_QMSI Jira: ZEP-354 Origin: Original Change-Id: I604cbf34e90f7653b956a6e4d428424beee3ef87 Signed-off-by: Baohong Liu <baohong.liu@intel.com>
2016-06-20ksdk: Add Makefile support for ksdk device and CPUMaureen Helm
Translate the SOC name and part number into the ksdk device path and CPU macro respectively. This will be used by future ksdk shim drivers and by the ksdk itself. Change-Id: I40e94441ee032bfbed7df834be8000d95be53250 Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2016-06-17ksdk: Add Kconfig support for the ksdkMaureen Helm
Add hidden configuration HAS_KSDK for SoCs to select if they have support in the ksdk. Change-Id: Ia4cd11901bc26d21a3bdfad6236d66656bb292cb Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2016-06-16doc: fix typos in doc argument names, removing doxygen warningsInaky Perez-Gonzalez
Change-Id: I9319fcb8fadd375b6bbec861636c196defcf7def Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
2016-06-03ext: Update and extend Nordic MDK header filesCarles Cufi
Update to version 8.6.0 and include nrf.h and the additional files it requires for nRF52. This is so drivers targetting the nRF Family can include nrf.h directly instead of *nrf5*.h Origin: Nordic MDK 8.6.0 URL: http://www.nordicsemi.com/eng/Products/Bluetooth-Smart-Bluetooth-low-energy/nRF52832 Maintained-by: External JIRA: ZEP-377 Change-Id: I71ad9828e1cf95e4d6ef09182a24f00e7d9f01ad Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2016-06-01ext: move tinycrypt to ext/libAnas Nashif
Tinycrypt is maintained at github and thus should be treated as an external library and hosted under ext/. Change-Id: I4c4a3bcdacf01d4922919e5ea1f9dec21a19cd37 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-05-27ext: Import Nordic MDK header filesCarles Cufi
Nordic Semiconductor's Microcontroller Development Kit provides a set of low-level header files that describe the different hardware registers and peripherals of Nordic ICs. Origin: Nordic MDK 8.5.0 URL: http://www.nordicsemi.com/eng/Products/Bluetooth-Smart-Bluetooth-low-energy/nRF52832 Maintained-by: External JIRA: ZEP-377 Change-Id: Ia28fbaf7333a84ea7462fb7fd7a5d06661a6fce0 Signed-off-by: Glenn Ruben Bakke <glenn.ruben.bakke@nordicsemi.no> Signed-off-by: Vinayak Kariappa Chettimada <vinayak.kariappa.chettimada@nordicsemi.no> Signed-off-by: Håkon Alseth <haakon.alseth@nordicsemi.no> Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2016-05-27ext: include headers based on HAL being usedAnas Nashif
For CMSIS we now have HAS_CMSIS which needs to be added to the SoC definition. Instead of changing the main Makefile we now include a sub-Makefile with all related header and library paths that are hosted in ext/ Move redifintion of LIB_INCLUDE_DIR later to get variables defined in Makefile.toolchain.* Change-Id: I9f90f90247c2a66b4565427b89d4e1d4dd5c9622 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-05-25ext: plumb out Kconfig support for external source codeKumar Gala
Add missing Kconfig files and connections to expose Kconfig options in ext/ directories. Fixup QMSI to only be exposed on platforms that utilize it. Change-Id: I6c6c5011b2bf2966f65aa8279dc594a244821956 Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2016-05-24ksdk: Import Kinetis SDK device support for K64FMaureen Helm
Import device-specific header files and clock configuration for K64F. Origin: NXP KSDK 2.0 URL: kex.nxp.com Maintained-by: External Change-Id: I8b4cc0fc0a832c736067459afec57939643181a7 Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2016-05-24ksdk: Import Kinetis SDK driversMaureen Helm
The Kinetis SDK provides device header files and peripheral drivers for Kinetis SOCs. Importing a subset of the SDK to support the K64F peripherals. This will make it possible to implement a shim layer to adapt the drivers to Zephyr APIs. Origin: NXP KSDK 2.0 URL: kex.nxp.com Maintained-by: External Change-Id: Ie14b42f75dab9126eb1ca4653538c5707b830cb5 Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2016-05-24cmsis: Import CMSIS-CORE header filesMaureen Helm
The ARM Cortex Microcontroller Software Interface Standard (CMSIS) defines a set of standard interfaces to ARM Cortex-M SOCs. In particular, the CMSIS-CORE component standardizes the software interface to core and peripheral registers, as well as exception names and the system clock frequency. Multiple SOC vendors, including NXP and Nordic Semiconductor, include the CMSIS-CORE header files in their SOC header files. These SOC header files are in turn used by the vendor's peripheral drivers. Origin: ARM CMSIS v4.5.0 URL: https://github.com/ARM-software/CMSIS.git commit: f25cf2c15304ad872a5b9761651d3f57d6202906 Maintained-by: External Change-Id: I15c3ddd04619a7608fecb8b710eb115b30cd9632 Signed-off-by: Maureen Helm <maureen.helm@nxp.com>