Skip to content
Permalink
Branch: master
Commits on Jul 18, 2019
  1. logging: Removing redundant code from xtensa sim backend

    nordic-krch authored and nashif committed Jul 17, 2019
    Refactored xtensa sim backend to use standard backend functions
    
    Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
  2. logging: Removing redundant code from UART backend

    nordic-krch authored and nashif committed Jul 17, 2019
    Refactored UART backend to use standard backend functions
    
    Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
  3. logging: Removing redundant code from SWO backend

    nordic-krch authored and nashif committed Jul 17, 2019
    Refactored SWO backend to use standard backend functions
    
    Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
  4. logging: Removing redundant code from RTT backend

    nordic-krch authored and nashif committed Jul 17, 2019
    Refactored RTT backend to use standard backend functions
    
    Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
  5. logging: Add qemu_x86_64 backend

    nordic-krch authored and nashif committed Jul 17, 2019
    Added backend for qemu_x86_64
    
    Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
  6. logging: Add header with common log backend functions

    nordic-krch authored and nashif committed Jul 17, 2019
    Simple backends, like UART or RTT, implementation is very similar.
    Header has functions which can be reused by simple backends and
    remove redundant code.
    
    Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
Commits on Jul 10, 2019
  1. drivers: counter: Extend set channel alarm flags

    nordic-krch authored and MaureenHelm committed May 20, 2019
    Added flags for controling detection of setting alarm to late.
    Updated drivers to return -ENOTSUP when new option is requested.
    
    Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
  2. drivers: counter: Add optional flags to alarm configuration structure

    nordic-krch authored and MaureenHelm committed May 20, 2019
    Flags in alarm configuration structure will allow further extention
    without breaking API. Initially, existing absolute flag was added
    as the only flag.
    
    Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
Commits on Jul 9, 2019
  1. logging: Fix corruption in log panic when scheduler was active

    nordic-krch authored and ioannisg committed Jul 3, 2019
    Logger had false assumption that once log_panic is called then
    context switch will never occur and was not protecting against
    reentrancy in panic mode. Added interrupt locking when accessing
    unprotected part.
    
    Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
Commits on Jul 4, 2019
  1. drivers: counter: Fix references in the doxygen comment

    nordic-krch authored and ioannisg committed Jul 3, 2019
    Doxygen comment was referencing deprecated function counter_set_alarm
    when the intention was to reference counter_set_channel_alarm.
    
    Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
Commits on Jul 2, 2019
  1. drivers: sensor: temp_nrf5: Code cleanup

    nordic-krch authored and nashif committed Jul 2, 2019
    Reworked nrf5 internal temperature sensor driver to use hal
    
    Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
  2. drivers: clock_control: nrf: Add option to use external LF source

    nordic-krch authored and ioannisg committed Jul 2, 2019
    Extended clock configuration to allow usage of external clock
    source for nrf52 series.
    
    Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
  3. ext: hal: nordic: Fix nrf_clock external clock source control

    nordic-krch authored and ioannisg committed Jul 2, 2019
    Support for external LF clock source for nrf52811 was missing.
    This is a temporary fix until it is replaced with new version of
    nrfx which will contain the fix.
    
    Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
Commits on Jun 25, 2019
  1. drivers: clock_control: API extension proposal

    nordic-krch authored and carlescufi committed Jun 7, 2019
    Proposal which extends api to allow asynchronous clock enabling.
    
    Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
  2. samples: drivers: counter: alarm: add nordic boards to the whitelist

    nordic-krch authored and carlescufi committed Jun 25, 2019
    Add nordic boards to the whitelist to ensure that compilation is
    checked by the CI.
    
    Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
Commits on Jun 17, 2019
  1. drivers: counter: Add helper macros for logging

    nordic-krch authored and carlescufi committed May 20, 2019
    Added macros to simplify logging in the counter driver.
    
    Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
  2. tests: drivers: counter: Add device name to zassert strings

    nordic-krch authored and carlescufi committed May 17, 2019
    Prefix strings printed on zassert failure with device name.
    
    Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
Commits on Jun 14, 2019
  1. samples: drivers: counter: alarm: Fix compilation for nrf boards

    nordic-krch authored and nashif committed Jun 11, 2019
    Sample was not compiling for nordic boards because RTC_0
    instance was not enabled by default and RTC_0 device is using
    different DT define.
    
    Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
  2. logging: Fix log_strdup detection on non-standard messages

    nordic-krch authored and nashif committed Jun 10, 2019
    Detection of missing log_strdup call was applied to every message
    while it applies only to standard messages (string + arguments).
    Appling it to hexdump messages could lead to fault as seen on
    nrf9160_pca10090ns board.
    
    Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
Commits on Jun 7, 2019
  1. logging: Duplicate only strings from rw memory

    nordic-krch authored and nashif committed Jun 7, 2019
    If argument for log_strdup is from ro memory then there is
    no point to duplicate it. This may happen if function logs
    variables coming from outside, e.g. function argument.
    
    Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
Commits on Jun 4, 2019
  1. shell: Fix shell uart not waking up shell on mcumgr data

    nordic-krch authored and carlescufi committed Jun 3, 2019
    When mcumgr smp data was received over shell uart transport
    it was not waking up shell thread and thus request was not
    processed. Shell thread must be waken up on any incoming
    data, even data which is only dedicated for mcumgr smp.
    
    Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
Commits on May 30, 2019
  1. CODEOWNERS: Adding tests/subsys/shell codeowners

    nordic-krch authored and nashif committed Apr 24, 2019
    Adding @jarz-nordic and @nordic-krch as shell codeowners.
    
    Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
  2. tests: shell: shell_history: Add more tests

    nordic-krch authored and nashif committed Feb 6, 2019
    Extended test suite with more tests for shell_history module.
    
    Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
  3. shell: Refactor shell_history to use less RW memory

    nordic-krch authored and nashif committed Feb 5, 2019
    Shell history module reworked to use ring buffer for storing
    commands. Dedicated buffer is used to story all command lineary.
    History capacity is in bytes not in number of entries, e.g.
    many short commands can be stored or few long (depending on
    CONFIG_SHELL_HISTORY_BUFFER).
    
    Removed implicit command null termination from shell_history and
    added it to shell after fetching command line from the history.
    
    Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
  4. tests: lib: ring_buffer: Test for ring_buf_reset, ring_buf_capacity_get

    nordic-krch authored and nashif committed May 30, 2019
    Added tests for new API calls.
    
    Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
  5. ring_buffer: Add functions for getting capacity and reseting

    nordic-krch authored and nashif committed Feb 6, 2019
    Extend ring_buffer with following functions:
    - getting capacity of the ring buffer (which is smaller than
      buffer size)
    - resetting ring buffer to initial state
    
    Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
  6. tests: subsys: shell: Add shell_history test

    nordic-krch authored and nashif committed Feb 5, 2019
    Add test suite for shell_history module.
    
    Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
Commits on May 29, 2019
  1. tests: subsys: logging: Test for detection of missed log_strdup

    nordic-krch authored and carlescufi committed May 23, 2019
    Added test to validate algorithm for missed log_strdup() call.
    
    Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
  2. logging: Add option to detect missed transient string duplication

    nordic-krch authored and carlescufi committed May 21, 2019
    Added CONFIG_LOG_DETECT_MISSED_STRDUP (by default on) which enables
    scanning of log message strings in search for %s and reports if
    string address is not from strdup buffer pool and outside read only
    memory section which indicates that log_strdup() wrapping is missing
    
    Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
  3. samples: drivers: led_lp3943: Rename log module

    nordic-krch authored and carlescufi committed May 22, 2019
    main.c in the sample was registered to the logger as 'log'. Changed
    to 'app'.
    
    Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
Commits on May 27, 2019
  1. drivers: counter: Add flags to counter_config_info structure

    nordic-krch authored and nashif committed May 17, 2019
    Allow further extention of counter API by replacing count_up bool in
    the structure with u8_t flags where one bit is used for count up
    feature.
    
    Change is not breaking API as count up property is read using
    counter_is_counting_up() that didn't change.
    
    Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
  2. logging: Add string duplicates pool profiling

    nordic-krch authored and carlescufi committed May 22, 2019
    Added option profiling instrumentation which can help determine
    string duplicates pool configuration. Added shell command to
    read current peak utilization of the pool.
    
    Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
Commits on May 15, 2019
  1. drivers: counter: Move nRF TIMER and RTC configuration to device tree

    nordic-krch authored and carlescufi committed May 14, 2019
    Reduced Kconfig for counter with nRF TIMER and RTC. Added overlays
    for TIMER and RTC configuration in the counter test.
    
    Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
  2. dts: bindings: Document missing property boolean type

    nordic-krch authored and carlescufi committed May 14, 2019
    Boolean type was not mentioned in the documentation.
    
    Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
Commits on May 13, 2019
  1. shell: Move signals initialization from thread to init

    nordic-krch authored and carlescufi committed May 13, 2019
    By moving signals initialization to shell instance init function,
    shell instance is ready to receive RX signals from backend before
    thread is ready to handle them.
    
    Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
Older
You can’t perform that action at this time.