1. 25 Mar, 2020 2 commits
  2. 24 Mar, 2020 2 commits
  3. 21 Mar, 2020 2 commits
    • Stephanos Ioannidis's avatar
      drivers: timer: xlnx_psttc_timer: Implement tickless support · fc941d58
      Stephanos Ioannidis authored
      
      This commit reworks the Xilinx TTC timer driver to use the "match" mode
      instead of the "interval" mode which counts up to the specified value
      and resets to zero.
      
      Using the "match" mode ensures that the timer keeps counting even after
      an interrupt is triggered, and facilitates the tickless mode support
      implementation.
      
      This also allows `z_timer_cycle_get_32` to return the correct cycle
      count when interrupt is locked; thereby, fixing the k_busy_wait hang
      issue.
      
      Note that the TTC "match" mode emulation (and tickless timer operation)
      is only stable when the QEMU icount mode is enabled.
      Signed-off-by: default avatarStephanos Ioannidis <root@stephanos.io>
      fc941d58
    • Carles Cufi's avatar
      ext: lib: Move fnmatch to lib/ · d212bc4d
      Carles Cufi authored
      
      Since we already have similarly licensed 3-clause BSD files in the tree,
      and in particular in our minimal libc, move the fnmatch functionality
      from ext/ to lib/.
      Signed-off-by: default avatarCarles Cufi <carles.cufi@nordicsemi.no>
      d212bc4d
  4. 20 Mar, 2020 2 commits
  5. 19 Mar, 2020 4 commits
  6. 17 Mar, 2020 3 commits
  7. 13 Mar, 2020 1 commit
  8. 10 Mar, 2020 2 commits
  9. 12 Feb, 2020 3 commits
  10. 09 Feb, 2020 1 commit
  11. 07 Feb, 2020 1 commit
  12. 06 Feb, 2020 3 commits
  13. 05 Feb, 2020 5 commits
  14. 04 Feb, 2020 2 commits
  15. 03 Feb, 2020 2 commits
    • Oane Kingma's avatar
      drivers/watchdog: Add support for SiLabs Gecko Watchdog · dc5c2422
      Oane Kingma authored
      
      Watchdog type is found on e.g. Pearl/Jade Gecko, often
      more than 1 is present.
      
      Driver supports timeout and (minimum) window configuration
      and reset or timeout interrupt support for now.
      Signed-off-by: default avatarOane Kingma <o.kingma@interay.com>
      dc5c2422
    • Patrik Flykt's avatar
      scripts: net: Add script for running sample tests · 65ffc714
      Patrik Flykt authored
      
      Add a script that sets up Docker networking and starts the net-tools
      Docker container. If successful, run Zephyr with native_posix and
      execute the appropriate net-tools container executable. The proper
      net-tools executable and arguments is selected depending on the
      basename of the sample directory. This script needs to be updated
      if the net-tools Docker image is updated in some incompatible way.
      
      The net-tools directory is assumed to exist at the same level as
      the Zephyr base directory, but its location can be set using the
      '-N' command line argument. Likewise, '-Z' sets the Zephyr top level
      directory.
      
      When stopping Zephyr, go through all child processes since running a
      native posix or other variant of Zephyr may cause a hierarchy of
      processes to be created.
      
      Fixes: #19540
      Signed-off-by: default avatarPatrik Flykt <patrik.flykt@intel.com>
      65ffc714
  16. 01 Feb, 2020 3 commits
    • Carlo Caione's avatar
      arch: arm64: Add support for qemu_cortex_a53 board · a61290e1
      Carlo Caione authored
      
      This patch introduces support for the qemu_cortex_a53 board emulated
      using QEMU (virt platform) adding SoC, board and DTS files.
      
      | ./scripts/sanitycheck -p qemu_cortex_a53
      |
      | Total complete:  190/ 190  100%  skipped:   40, failed:    0
      | 150 of 150 tests passed (100.00%), 0 failed,
      |     40 skipped with 0 warnings in 580.93 seconds
      Signed-off-by: default avatarCarlo Caione <ccaione@baylibre.com>
      a61290e1
    • Carlo Caione's avatar
      arch: arm64: Introduce ARM64 (AArch64) architecture · 1be0c053
      Carlo Caione authored
      
      Introduce the basic ARM64 architecture support.
      
      A new CONFIG_ARM64 symbol is introduced for the new architecture and new
      cmake / Kconfig files are added to switch between ARM and ARM64.
      Signed-off-by: default avatarCarlo Caione <ccaione@baylibre.com>
      1be0c053
    • Carlo Caione's avatar
      drivers: timer: Add per-core ARM architected timer · 6f363002
      Carlo Caione authored
      
      ARM cores may have a per-core architected timer, which provides per-cpu
      timers, attached to a GIC to deliver its per-processor interrupts via
      PPIs. This is the most common case supported by QEMU in the virt
      platform.
      
      This patch introduces support for this timer abstracting the way the
      timer registers are actually accessed. This is needed because different
      architectures (for example ARMv7-R vs ARMv8-A) use different registers
      and even the same architecture (ARMv8-A) can actually use different
      timers (ELx physical timers vs ELx virtual timers).
      
      So we introduce the common driver here but the actual SoC / architecture
      / board must provide the three helpers (arm_arch_timer_set_compare(),
      arm_arch_timer_toggle(), arm_arch_timer_count()) using an header file
      imported through the arch/cpu.h header file.
      Signed-off-by: default avatarCarlo Caione <ccaione@baylibre.com>
      6f363002
  17. 30 Jan, 2020 2 commits