Skip to content
Permalink
Branch: master
Commits on May 30, 2019
  1. boards: cc1352r1_launchxl / cc26x2r1_launchxl: enable ROM bootloader

    bwitherspoon authored and nashif committed May 14, 2019
    This enables the ROM bootloader on the CC13x2 / CC26x2 LaunchPad
    development boards. The bootloader can be started by holding BTN-1
    during reset. This can be useful during development to recover a board
    if DAPs get disabled.
    
    Signed-off-by: Brett Witherspoon <spoonb@cdspooner.com>
  2. soc: cc13x2_cc26x2: support setting CCFG values via Kconfig

    bwitherspoon authored and nashif committed May 14, 2019
    Several customer configuration (CCFG) settings are useful for
    development and deployment. This commit adds support for setting CCFG
    values via Kconfig. It follows TI's recommendation of setting CCFG
    values and then including the TI provided CCFG. This commit includes
    support for enabling the ROM bootloader and additional settings can be
    added as needed.
    
    Signed-off-by: Brett Witherspoon <spoonb@cdspooner.com>
Commits on May 27, 2019
  1. boards: cc1352r1_launchxl: enable support for SPI

    bwitherspoon authored and nashif committed Apr 26, 2019
    Enable support for the SPI peripheral on the CC1352R LaunchPad.
    
    Signed-off-by: Brett Witherspoon <spoonb@cdspooner.com>
  2. boards: cc26x2r1_launchxl: enable support for SPI

    bwitherspoon authored and nashif committed Apr 20, 2019
    Enable support for the SPI peripheral on the CC26x2R LaunchPad.
    
    Signed-off-by: Brett Witherspoon <spoonb@cdspooner.com>
  3. dts: add CC13xx / CC26xx SPI bindings and nodes

    bwitherspoon authored and nashif committed May 23, 2019
    Add bindings and device tree nodes for TI CC13xx / CC26xx SPI support.
    
    Signed-off-by: Brett Witherspoon <spoonb@cdspooner.com>
  4. drivers: add CC13xx / CC26xx SPI driver

    bwitherspoon authored and nashif committed May 23, 2019
    Add driver for the SPI peripheral on the TI CC13xx / CC26xx series SoCs.
    
    Signed-off-by: Brett Witherspoon <spoonb@cdspooner.com>
Commits on May 23, 2019
  1. drivers: adxl362: use burst transfer

    bwitherspoon authored and MaureenHelm committed May 19, 2019
    It is recommended that multibyte (burst) transfers are used to read
    acceleration and temperature data. This ensures the data is concurrent
    and complete.
    
    Signed-off-by: Brett Witherspoon <spoonb@cdspooner.com>
Commits on May 21, 2019
  1. boards: cc1352r1_launchxl: enable support for I2C

    bwitherspoon authored and nashif committed Apr 26, 2019
    Enable I2C support on the CC1352R LaunchPad.
    
    Signed-off-by: Brett Witherspoon <spoonb@cdspooner.com>
  2. boards: cc26x2r1_launchxl: enable support for I2C

    bwitherspoon authored and nashif committed Apr 23, 2019
    Enable I2C support on the CC26x2R LaunchPad.
    
    Signed-off-by: Brett Witherspoon <spoonb@cdspooner.com>
  3. drivers: add CC13xx / CC26xx I2C driver

    bwitherspoon authored and nashif committed Apr 23, 2019
    Add I2C driver for the TI CC13xx / CC26xx series SoCs.
    
    Signed-off-by: Brett Witherspoon <spoonb@cdspooner.com>
  4. drivers: adxl362: rework temperature conversion

    bwitherspoon authored and MaureenHelm committed May 19, 2019
    This commit consolidates the temperature conversion into a single
    location and subtracts the bias from the measurement using values from
    the datasheet. Also magic numbers have been replaced with more
    descriptive macros.
    
    Signed-off-by: Brett Witherspoon <spoonb@cdspooner.com>
  5. drivers: adxl362: fix acceleration sample conversion

    bwitherspoon authored and MaureenHelm committed May 18, 2019
    This driver uses magic numbers which are incorrect. A correct conversion
    is done using the LSB/g scale factors given by Table 1 in the
    specifications section of the ADXL362 (Rev. F) datasheet. The entire
    conversion has also been consolidated into a signal function.
    
    The sensitivity and offset of the accelerometer values actually vary
    with the supply voltage and temperature. Using datasheet provided values
    for 25 C and 2.0 V is the best we can do. Users will need to apply
    sensitivity and offset corrections for their application.
    
    Signed-off-by: Brett Witherspoon <spoonb@cdspooner.com>
  6. drivers: adxl362: fix control flow issue

    bwitherspoon authored and MaureenHelm committed May 15, 2019
    The return code check and error return on the interrupt register
    configuration function call should be included in the #if defined
    region.
    
    Fixes #16159
    
    Signed-off-by: Brett Witherspoon <spoonb@cdspooner.com>
Commits on May 16, 2019
  1. drivers: gpio_c13xx_cc26xx: fix control flow issue

    bwitherspoon authored and galak committed May 15, 2019
    The value of GPIO_INT_ACTIVE_LOW is 0, so the bit checking if statement
    is never executed. Use GPIO_INT_ACTIVE_HIGH when checking this bit.
    
    Fixes #16162
    
    Signed-off-by: Brett Witherspoon <spoonb@cdspooner.com>
Commits on May 15, 2019
  1. samples: add ADXL362 sensor sample application

    bwitherspoon authored and MaureenHelm committed May 9, 2019
    Add a sample application that demonstrates how to use the ADXL362 with
    data ready and threshold triggers.
    
    Signed-off-by: Brett Witherspoon <spoonb@cdspooner.com>
Commits on May 14, 2019
  1. boards: cc1352r1_launchxl: enable TRNG entropy source support

    bwitherspoon authored and galak committed Apr 25, 2019
    Enable support for the TRNG entropy source on the CC1352R LaunchPad.
    
    Signed-off-by: Brett Witherspoon <spoonb@cdspooner.com>
  2. boards: cc26x2r1_launchxl: enable TRNG entropy source support

    bwitherspoon authored and galak committed Apr 25, 2019
    Enable support for the TRNG entropy source on the CC26x2R LaunchPad.
    
    Signed-off-by: Brett Witherspoon <spoonb@cdspooner.com>
  3. drivers: add CC13xx / CC26xx entropy driver

    bwitherspoon authored and galak committed Apr 25, 2019
    Add driver for the TRNG entropy source on the TI CC13xx / CC26xx
    series SoCs.
    
    Signed-off-by: Brett Witherspoon <spoonb@cdspooner.com>
Commits on May 13, 2019
  1. drivers: adxl362: clear status independently and before mapping

    bwitherspoon authored and MaureenHelm committed May 5, 2019
    Clear status bits before mapping them to the interrupt pin, so the
    interrupt will occur on the next event instead of a pending event. Also
    the status bits are cleared independently, because the threshold and
    data ready functions can be enabled simultaneously.
    
    Signed-off-by: Brett Witherspoon <spoonb@cdspooner.com>
  2. drivers: adxl362: check interrupt status

    bwitherspoon authored and MaureenHelm committed May 5, 2019
    Check the status and only execute the callback if the event has
    occurred.
    
    Signed-off-by: Brett Witherspoon <spoonb@cdspooner.com>
  3. drivers: adxl362: don't disable callbacks

    bwitherspoon authored and MaureenHelm committed May 5, 2019
    Enabling and disabling the GPIO callbacks is error prone and unnecessary
    since the trigger data is protected with a mutex, so it has been
    removed. This resolves the following issues:
    
    - The GPIO callbacks are not being re-enabled properly in the error path
      of the trigger setting function.
    
    - The device pointer used in the GPIO callback to retrieve the ADXL362
      driver configuration data is the GPIO device not the ADXL362 device,
      so this cast is invalid and the int_gpio field is garbage.
    
    - There are potential timing issues between enabling interrupts and
      re-enabling the callbacks.
    
    Signed-off-by: Brett Witherspoon <spoonb@cdspooner.com>
Commits on May 8, 2019
  1. drivers: adxl362: use Kconfig for interrupt mode

    bwitherspoon authored and MaureenHelm committed May 8, 2019
    Commit 11295c1 added Kconfig options for interrupt mode, but then hard
    coded the interrupt mode. This commit uses the Kconfig option to set
    the interrupt mode.
    
    Applications expecting the interrupt mode to be something other than
    the default will need to be updated.
    
    Signed-off-by: Brett Witherspoon <spoonb@cdspooner.com>
  2. drivers: adxl362: don't skip mutex unlocking in error path

    bwitherspoon authored and MaureenHelm committed May 5, 2019
    The default case of the switch statement jumps over the unlocking of the
    trigger mutex. This has been fixed with more granular locking which has
    the added benefit of being more explicit about what is being protected.
    
    Signed-off-by: Brett Witherspoon <spoonb@cdspooner.com>
Commits on May 4, 2019
  1. CODEOWNERS: Add codeowner for TI CC13x2 / CC26x2 files

    bwitherspoon authored and galak committed May 3, 2019
    Add myself as codeowner for TI CC13x2 / CC26x2 related files.
    
    Signed-off-by: Brett Witherspoon <spoonb@cdspooner.com>
  2. boards: cc1352r1_launchxl: add support for TI CC1352R LaunchPad

    bwitherspoon authored and galak committed Apr 9, 2019
    The TI CC1352R LaunchPad (LAUNCHXL-CC1352R1) is a development kit that
    features the CC1352R SoC.
    
    Signed-off-by: Brett Witherspoon <spoonb@cdspooner.com>
  3. boards: cc26x2r1_launchpad: add support for TI CC26x2R LaunchPad

    bwitherspoon authored and galak committed Apr 9, 2019
    The TI CC26x2R LaunchPad (LAUNCHXL-CC26X2R1) is a development kit that
    features the CC2652R SoC.
    
    Signed-off-by: Brett Witherspoon <spoonb@cdspooner.com>
  4. soc: ti_simplelink: add support for TI CC13x2 / CC26x2 series

    bwitherspoon authored and galak committed Apr 18, 2019
    Add initial support for the TI CC13x2 / CC26x2 series with the CC2652R
    and CC1352R SoCs. The UART and GPIO peripherals are supported. Drivers
    use the driverlib HAL from the TI CC13x2 / CC26x2 SDK.
    
    Signed-off-by: Brett Witherspoon <spoonb@cdspooner.com>
  5. ext: simplelink: modify CC13x2/CC26x2 CCFG to use appropriate sections

    bwitherspoon authored and galak committed May 2, 2019
    The default customer configuration (CCFG) provided by the
    TI CC13x2 / CC26x2 SDK puts the configuration in a section different
    than expected by Zephyr. It has been modified to use the appropriate
    section.
    
    Signed-off-by: Brett Witherspoon <spoonb@cdspooner.com>
  6. ext: simplelink: import HAL from TI CC13x2 / CC26x2 SDK 3.10.00.53

    bwitherspoon authored and galak committed Apr 9, 2019
    Add low level drivers (driverlib) and RF patches from the TI CC13x2 and
    CC26x2 SDK. These sources have been added unmodified with the exception
    of converting DOS to UNIX line endings.
    
    The majority of these APIs are available in ROM and inclusion of the
    headers will map functions that are not inline to the ROM versions.
    
    Origin: Texas Instruments SimpleLink CC13x2 and CC26x2 SDK
    License: BSD 3-Clause
    URL: http://www.ti.com/tool/simplelink-cc13x2-26x2-sdk
    Purpose: Provides HAL for TI CC13x2 and CC26x2 SoCs
    Maintained-by: External
    
    Signed-off-by: Brett Witherspoon <spoonb@cdspooner.com>
  7. drivers: adxl362: use logger API

    bwitherspoon authored and nashif committed May 4, 2019
    Use logger API instead of printk.
    
    Signed-off-by: Brett Witherspoon <spoonb@cdspooner.com>
Commits on Apr 28, 2019
  1. drivers: ieee802154: Make upipe configuration options depend on driver

    bwitherspoon authored and nashif committed Apr 26, 2019
    The upipe specific configuration options are selectable unconditionally.
    This commit makes them depend on the upipe driver being enabled.
    
    Signed-off-by: Brett Witherspoon <spoonb@cdspooner.com>
Commits on Apr 17, 2019
  1. net: fix errno returned without promiscuous mode support

    bwitherspoon authored and jukkar committed Apr 8, 2019
    If promiscuous mode support is disabled in Kconfig and promiscuous.h is
    included the build will fail. The returned errno should be ENOTSUP.
    
    Signed-off-by: Brett Witherspoon <spoonb@cdspooner.com>
You can’t perform that action at this time.