Skip to content
Permalink
Branch: master
Commits on Jul 10, 2019
  1. boards: lpcxpresso55s69: Enable pyocd runner

    MaureenHelm authored and galak committed Jun 28, 2019
    Enables the pyocd runner on the lpcxpresso55s69 board. Note that this
    currently requires building pycod from source to pick up fixes in
    mbedmicro/pyOCD#690
    
    Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
  2. samples: net: Convert mcr20a samples to use the frdm_cr20a shield

    MaureenHelm authored and nashif committed Jun 11, 2019
    Converts all net samples that enable the mcr20a 802.15.4 driver to use
    the frdm_cr20a shield instead of hardcoding configs for the frdm_k64f
    base board. This makes it possible to build mcr20a samples for other
    base boards with compatible arduino headers.
    
    Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
  3. boards: shields: Introduce frdm_cr20a shield

    MaureenHelm authored and nashif committed Jun 11, 2019
    Introduces an arduino-compatible shield for the mcr20a radio
    transceiver.
    
    Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
Commits on May 30, 2019
  1. tests: flash_map: Configure mpu to allow flash write

    MaureenHelm authored and nashif committed May 30, 2019
    On boards that have the arm or nxp mpu, configure the mpu to allow flash
    writes. Otherwise this test will fail with an mpu fault.
    
    Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
Commits on May 25, 2019
  1. scripts: west: Add reset-after-load argument to jlink runner

    MaureenHelm authored and nashif committed Feb 11, 2019
    Adds a new argument to the jlink runner to reset the device after
    loading code to flash. This fixes a problem with the lpcxpresso54114
    board where it was necessary to manually reset the board to get new code
    to start running after the 'ninja flash' command. This new argument is
    optional and false by default because there are some cases were we must
    not reset after load, such as when we load the application into ITCM on
    imx rt devices.
    
    Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
Commits on May 23, 2019
  1. boards: mimxrt1060_evk: Enable mcux lpi2c driver and pins

    MaureenHelm committed Jan 21, 2019
    Enables the mcux lpi2c shim driver and pin muxes on the mimxrt1060_evk
    board. Updates the board documentation and yaml supported list
    accordingly.
    
    Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
Commits on May 6, 2019
  1. soc: riscv32: Move rv32m1 flash memory definitions to dts

    MaureenHelm authored and nashif committed May 6, 2019
    Moves the flash memory definitions from Kconfig to device tree for the
    rv32m1 ri5cy and zero-riscy cores.
    
    Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
  2. soc: riscv32: Move rv32m1 sram memory definitions to dts

    MaureenHelm authored and nashif committed May 6, 2019
    Moves the sram memory definitions from Kconfig to device tree for the
    rv32m1 ri5cy and zero-riscy cores.
    
    Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
  3. CODEOWNERS: Add code owner for rv32m1_vega related files

    MaureenHelm authored and galak committed Apr 18, 2019
    Adds @MaureenHelm as the code owner for all rv32m1_vega related files.
    
    Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
  4. boards: rv32m1_vega: Use different openocd config file for each core

    MaureenHelm authored and galak committed Apr 17, 2019
    Adds a new argument to the openocd runner to optionally specify the
    config file. Updates the rv32m1_vega board to use different openocd
    config files for the ri5cy and zero-riscy cores.
    
    Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
  5. boards: rv32m1_vega: Introduce zero-riscy configuration

    MaureenHelm authored and galak committed Apr 17, 2019
    Introduces a new rv32m1_vega board configuration for the zero-riscy
    core. It assumes that the soc has been reconfigured with openocd to boot
    to the zero-riscy core instead of the ri5cy core.
    
    Refactors the board-level device tree so the ri5cy and zero-riscy
    configurations share common definitions for the led, button, and sensor
    nodes.
    
    Tested with:
    - samples/hello_world
    - samples/synchronization
    - samples/basic/blinky
    - samples/basic/button
    - samples/sensor/fxos8700
    
    Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
  6. dts: riscv32: Add rv32m1 zero-riscy core support

    MaureenHelm authored and galak committed Apr 17, 2019
    Refactors peripheral addresses, clocks, and compatibles from the ri5cy
    core dtsi into a common soc dtsi, then attaches interrupts in
    core-specific dtsi files.
    
    Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
  7. arch: soc: riscv32: Separate soc offsets from soc context save

    MaureenHelm authored and galak committed Dec 3, 2018
    The zero-riscy core on the rv32m1 soc does not implement hardware loop
    extensions and thus should not enable RISCV_SOC_CONTEXT_SAVE, however it
    does still need access to the EVENTx_INTPTPENDCLEAR symbol which comes
    from GEN_SOC_OFFSET_SYMS().
    
    Split out the soc offset symbols into a separate config so we can enable
    them without enabling soc context saving.
    
    Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
  8. soc: riscv32: Use same clock freq for both rv32m1 cores

    MaureenHelm authored and galak committed Dec 3, 2018
    Both the ri5cy and zero-riscy cores in the rv32m1 soc use the same
    source clock, so we don't need to conditionalize
    SYS_CLOCK_HW_CYCLES_PER_SEC on the ri5cy core.
    
    Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
Commits on May 3, 2019
  1. scripts: west_commands: Print error message when jlink exe not found

    MaureenHelm authored and nashif committed May 2, 2019
    Adds a check in the jlink runner to look for the jlink executables and
    print a more useful error message if they are not found.
    
    Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
Commits on May 1, 2019
  1. boards: mimxrt1015_evk: Fix board image

    MaureenHelm authored and nashif committed Apr 29, 2019
    The mimxrt1015_evk board image was corrupted and did not display
    properly in the board documentation. Fix it.
    
    Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
Commits on Apr 18, 2019
  1. mimxrt1060_evk: mimxrt1064_evk: Enable pyocd runner

    MaureenHelm authored and nashif committed Apr 9, 2019
    Enables the pyocd runner on mimxrt1060_evk and mimxrt1064_evk boards
    using the generic cortex_m target. Note that this target is not capable
    of programming flash, therefore can only load an application to internal
    SRAM (set CONFIG_CODE_ITCM=y and CONFIG_DATA_DTCM=y) or attach to an
    application already programmed to flash by other means (e.g., DAPLink
    drag-and-drop).
    
    Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
Commits on Apr 16, 2019
  1. arch: arm: mpu: Lock irqs while reprogramming the nxp mpu

    MaureenHelm authored and nashif committed Apr 15, 2019
    The nxp mpu uses the logical OR of access permissions when multiple
    region descriptors apply to a given memory access. This means that we
    must partition the sram into two non-overlapping regions to implement
    the mpu stack guard. This partitioning gets reconfigured at every
    context switch, and if an interrupt occurs during this time, it can
    cause a fault because we do not have a valid mpu region descriptor for
    the sram.
    
    This scenario was observed on frdm_k64f in tests/posix/common before
    commit 2895da0, which changed timing.
    In this case, we couldn't even print fault information to the console
    and the hardware would reset. It looked a lot like a watchdog reset,
    unless you attached a debugger to see the fault.
    
    A similar problem was fixed in commit
    ec424b7, but this change temporarily
    disabled the mpu.
    
    Fix both cases by locking interrupts during the critical sections, as
    this is more secure than disabling the mpu.
    
    Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
Commits on Apr 11, 2019
  1. doc: releases: Add drivers to 1.14 release notes

    MaureenHelm authored and nashif committed Apr 11, 2019
    Adds new and significantly modified drivers to the 1.14 release notes.
    
    Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
  2. doc: releases: Add Arm, RISC-V, and shield boards to 1.14 release notes

    MaureenHelm authored and nashif committed Apr 11, 2019
    Adds all the new Arm, RISC-V, and shield boards to the 1.14 release
    notes.
    
    Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
Commits on Apr 3, 2019
  1. dts: nxp: Disable kw40/41 gpiob interrupts

    MaureenHelm authored and nashif committed Apr 2, 2019
    Ports B and C share a common interrupt vector on kw40 and kw41z socs,
    but we don't currently have a way to express this in device tree. A
    check was added in commit 77cb942 that
    correctly causes build errors on kw40/41 boards when both ports are
    enabled.
    
    Disable the port b interrupt for now until we have a better way to
    handle this.
    
    Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
Commits on Apr 1, 2019
  1. doc: boards: Edit nxp board and debug probe docs

    MaureenHelm authored and galak committed Apr 1, 2019
    Incorporates minor documentation edits recommended by David Kinder after
    PR #14000 was merged.
    
    Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
Commits on Mar 30, 2019
  1. doc: tools: Remove opensda page

    MaureenHelm authored and nashif committed Mar 15, 2019
    This page has been replaced by doc/guides/debugging/probes.rst and
    doc/guides/debugging/host-tools.rst
    
    Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
  2. boards: 96b_nitrogen: Update link to pyocd host tools

    MaureenHelm authored and nashif committed Mar 15, 2019
    Updates the 96b_nitrogen board document to link to the new debugging
    guide instead of the opensda page.
    
    Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
  3. boards: usb_kw24d512: Rework programming and debugging doc

    MaureenHelm authored and nashif committed Mar 15, 2019
    Reworks the programming and debugging section in the usb_kw24d512 board
    document to leverage the new debugging guide covering debug probes and
    host tools.
    
    This board does not have an OpenSDA microcontroller, therefore the only
    debug probe currently supported is the external J-Link.
    
    Updates the flashing section to reflect that the ``flash`` build system
    target is now supported.
    
    Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
  4. boards: lpcxpresso54114: Rework programming and debugging doc

    MaureenHelm authored and nashif committed Mar 15, 2019
    Reworks the programming and debugging section in the lpcxpresso54114
    board document to leverage the new debugging guide covering debug probes
    and host tools.
    
    This board supports the LPC-Link2 J-Link onboard debug probe.
    
    Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
  5. boards: hexiwear_{k64, kw40z}: Rework programming and debugging doc

    MaureenHelm authored and nashif committed Mar 14, 2019
    Reworks the programming and debugging section in the hexiwear board
    documents to leverage the new debugging guide covering debug probes and
    host tools.
    
    Recommends the OpenSDA J-Link debug probe because the k64 and kw40z
    share the same OpenSDA microcontroller, and the kw40z requires Segger
    RTT for a console. It is possible to use daplink firmware for the k64,
    however it is not recommended because it requires switching the firmware
    back to jlink to access the kw40z.
    
    Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
  6. boards: hexiwear_k64f: Default to jlink firmware and jlink runner

    MaureenHelm authored and nashif committed Mar 14, 2019
    The hexiwear_k64f and hexiwear_kw40z share the same OpenSDA
    microcontroller on the hexiwear docking station, so make the jlink the
    default firmware on both for consistency. We use jlink instead of
    daplink by default because hexiwear_kw40z can only use Segger RTT for
    the console (there is no UART available).
    
    Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
  7. boards: frdm_kw41z: Default to daplink firmware and pyocd runner

    MaureenHelm authored and nashif committed Mar 14, 2019
    The frdm_kw41z board was originally configured in zephyr to use the
    jlink runner by default because pyocd didn't yet support the kw41z soc.
    Support for kw41z was added in pyocd v0.9.0, so we can now default to
    daplink firmware and pyocd.
    
    Now all freedom boards in zephyr consistently use daplink and pyocd.
    
    Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
  8. boards: frdm_{kl25z, k64f, kw41z}: Rework programming and debugging doc

    MaureenHelm authored and nashif committed Mar 12, 2019
    Reworks the programming and debugging section in the freedom board
    documents to leverage the new debugging guide covering debug probes and
    host tools.
    
    These boards support OpenSDA DAPLink and OpenSDA J-Link onboard debug
    probes. They can also support an external J-Link probe, but this
    requires board modifications (cutting traces) and is therefore not
    documented.
    
    Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
  9. boards: mimxrt10{60,64}_evk: Rework programming and debugging doc

    MaureenHelm authored and nashif committed Mar 11, 2019
    Reworks the programming and debugging section in the mimxrt1060_evk and
    mimxrt1064_evk board documents to leverage the new debugging guide
    covering debug probes and host tools.
    
    Neither of these boards have OpenSDA J-Link board-specific firmware,
    therefore the only debug probe currently supported is the external
    J-Link.
    
    Updates the flashing section to reflect that the ``flash`` build system
    target is now supported.
    
    Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
  10. boards: mimxrt10{20,50}_evk: Rework programming and debugging doc

    MaureenHelm authored and nashif committed Mar 1, 2019
    Reworks the programming and debugging section in the mimxrt1020_evk and
    mimxrt1050_evk board documents to leverage the new debugging guide
    covering debug probes and host tools.
    
    These boards support both the OpenSDA J-Link onboard debug probe and the
    J-Link external debug probe.
    
    Corrects an error linking to the wrong OpenSDA J-Link firmware.
    
    Updates the flashing section to reflect that the ``flash`` build system
    target is now supported.
    
    Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
  11. doc: debugging: Introduce guide covering debug probes and host tools

    MaureenHelm authored and nashif committed Mar 1, 2019
    Zephyr boards use a wide range of debug probes and debug host tools that
    can often be confusing to users. Introduce a new debugging guide that
    documents all the different variations of debug probes and host tools in
    one place, including which combinations are valid.
    
    Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
Commits on Mar 27, 2019
  1. soc: nxp_imx: Configure NUM_IRQS independently for each rt soc

    MaureenHelm authored and nashif committed Mar 26, 2019
    Not all i.mx rt socs have the same number of irqs, so move the default
    configuration from the soc series level to the individual socs. The
    rt1020 hardware reference manual (IMXRT1020RM Rev.1 12/2018) incorrectly
    documents 160 irqs (#142-159 reserved), but the soc actually has 142
    irqs.
    
    Fixes tests/kernel/gen_isr_table for the mimxrt1020_evk board.
    
    Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
Commits on Mar 15, 2019
  1. drivers: sensor: Refactor apds9960 to use const config struct

    MaureenHelm authored and galak committed Oct 7, 2018
    Refactors the apds9960 sensor driver to get the i2c device name, i2c
    device address, gpio device name, and gpio pin from a constant device
    configuration structure, rather than using hardcoded macros. This will
    make it easier to change the names of the macros and to instantiate
    multiple instances of the driver.
    
    Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
Older
You can’t perform that action at this time.