Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update zephyr 3.4 #7

Merged
merged 7,333 commits into from
Oct 4, 2023
Merged

Update zephyr 3.4 #7

merged 7,333 commits into from
Oct 4, 2023
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Jun 6, 2023

  1. Bluetooth: ATT: Add documentation for ATT error codes

    Add the description of each error code as defined by the
    core spec and the CSS.
    
    Signed-off-by: Emil Gydesen <[email protected]>
    Thalley authored and nashif committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    773198d View commit details
    Browse the repository at this point in the history
  2. net: lwm2m: Fix lwm2m_socket_start() error handling

    In case lwm2m_socket_start() internal error, it should only do cleanup
    on the socket, i. e. call lwm2m_socket_close(), not lwm2m_engine_stop().
    The latter resets the entire lwm2m_context, which results in removal of
    active observations.
    
    This should not be done, as it collides with the RD client logic, where
    connection resumption may skip the full registration phase, in result
    not notifying the server that it should restart the observations.
    
    At the same time, the RD client should clean the lwm2m_context when it's
    done trying to update the registration and proceeds with regular
    registration/bootstrap in the network error handler. In that case, only
    the socket was closed, so the lwm2m_context needs to be reset
    separately.
    
    Signed-off-by: Robert Lubos <[email protected]>
    rlubos authored and nashif committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    2e0b0af View commit details
    Browse the repository at this point in the history
  3. drivers: gpio: fxl6408: Fix Kconfig dependency for log level config

    This makes Kconfig logging options for this driver depending on whether
    the driver is enabled or not.
    
    Signed-off-by: Caspar Friedrich <[email protected]>
    casparfriedrich authored and nashif committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    24622f3 View commit details
    Browse the repository at this point in the history
  4. include: sys: util_macro: Add UTIL_INC/DEC/X2

    Add UTIL_INC, UTIL_DEC and UTIL_X2 macros
    
    Signed-off-by: Erwan Gouriou <[email protected]>
    erwango authored and nashif committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    a75af34 View commit details
    Browse the repository at this point in the history
  5. drivers: interrupt_controller: Use macros to access line_range prop v…

    …alues
    
    Compiling previous code using LLVM reveals that accessing line_range
    values in runtime is not clean, as the following error is generated:
    "error: initializer element is not a compile-time constant"
    
    Replace runtime method by compile time using UTIL_INC and UTIL_x2
    macros.
    
    Signed-off-by: Erwan Gouriou <[email protected]>
    erwango authored and nashif committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    290777b View commit details
    Browse the repository at this point in the history
  6. Bluetooth: controller: Release SDU as missing if RX only unf. padding

    Based on interpretation of Clarification Errata ES-22876 Request for
    Clarification - Recombination actions when only padding unframed PDUs
    are received, it was decided that an SDU should be released as "Missing"
    when only padding PDUs are received for any SDU.
    - https://bluetooth.atlassian.net/browse/ES-22876
    
    This change will also assist streaming in the Common Central design
    where the central was found to send only padding PDUs before streaming
    starts.
    
    Signed-off-by: Nirosharn Amarasinghe <[email protected]>
    niag-Oticon authored and carlescufi committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    0398d8d View commit details
    Browse the repository at this point in the history
  7. tests: bluetooth: controller: Release SDU as missing RX unf. padding

    Testing:
    -- Receiving only padding PDUs for an SDU
    -- Receiving leading padding PDUs (not an expected use case)
    
    Signed-off-by: Nirosharn Amarasinghe <[email protected]>
    niag-Oticon authored and carlescufi committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    f043425 View commit details
    Browse the repository at this point in the history
  8. Bluetooth: controller: fix time-wrapping of cig_ref_point

    Time wrapping was omitted at some points. These were corrected or
    clarified.
    
    Signed-off-by: Nirosharn Amarasinghe <[email protected]>
    niag-Oticon authored and carlescufi committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    40dde5b View commit details
    Browse the repository at this point in the history
  9. Bluetooth: controller: Release missing / lost SDUs for framed PDUs

    -- Implemented reporting of lost / missing SDUs for framed PDUs. This
       should result in SDUs being released when only framed padding PDUs or
       error PDUs are received.
    -- Removed unused configuration params structure, storage and linked
       APIs.
    -- Reduced default logging level to INF instead of DBG.
    -- Included debug logging messaged for framed consumption.
    -- Removed separate latency_unframed and latency_framed and replaced
       with a common sdu_sync_const as they are mutually exclusive for each
       sink.
    -- Restricted framed time stamp calculation only to situations where all
       dependent information is available.
    -- Corrected SDU sequence numbering to release starting at zero.
    
    Signed-off-by: Nirosharn Amarasinghe <[email protected]>
    niag-Oticon authored and carlescufi committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    ff89e98 View commit details
    Browse the repository at this point in the history
  10. tests: Bluetooth: controller: updated ISO-AL tests for lost SDUs

    -- Updated test cases to include missing / lost SDUs.
    -- Included tests for receiving only framed padding PDUs.
    -- Removed tests linked to sink and source configuration params as these
       were unused and removed.
    
    Signed-off-by: Nirosharn Amarasinghe <[email protected]>
    niag-Oticon authored and carlescufi committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    97935bb View commit details
    Browse the repository at this point in the history
  11. ci: Fix setup of ccache in twister workflow

    Path for cache directory has changed, adapt workflow accordingly.
    
    Signed-off-by: Anas Nashif <[email protected]>
    nashif committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    1ebf0fd View commit details
    Browse the repository at this point in the history
  12. board: arm: black_f407ve: fix uart1 default pinmux and console uart

    This board as a dedicated console serial header right next to
    the stlink connector. This serial header is connected to usart1.
    
    This patch fixes the pinmux for usart1 and makes it the default
    console serial port.
    
    Signed-off-by: Sahaj Sarup <[email protected]>
    ric96 authored and nashif committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    13bf130 View commit details
    Browse the repository at this point in the history
  13. board: arm: black_f407ve: add dfu programming support

    This board has boot mode pins, 5 and 6 on the J3 header, that
    puts the board into dfu mode.
    
    This patch adds that as a supported flashing config, default still
    remains openocd with jlink.
    
    Signed-off-by: Sahaj Sarup <[email protected]>
    ric96 authored and nashif committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    e2536bb View commit details
    Browse the repository at this point in the history
  14. net: lwm2m: Allow overiding of default socket behaviour

    In order to support external IP stacks that might have Connection
    ID support, the LwM2M engine should allow client to bypass default
    behaviour.
    
    New set_socketoptions() callback added into client context
    that allows overriding all socket opetions. This is called
    after a socket is opened, but before the connect() is
    called. This cannot be combined with load_credentials() callback
    on all platforms as for example nRF91 requires modem offline
    when credentials are written. This would cause socket to be closed
    as well.
    
    Second change is that we allow fine tuning of what we do with
    socket handle when QUEUE mode is enabled and engine enters idle
    state.
    
    First option would be to close the socket. That would cause
    TLS Alert(Close Notify) to be send. This is a band choice if
    LTE modem was already in PSM or eDRX power saving mode.
    
    Second option would be to delay socket closing until we
    are going to send LwM2M update. There TLS Alert is also send,
    but most probably lost due to NAT mapping timed out. This
    is a best choice for LTE modem with DTL session cache enabled.
    
    Two new options are to keep socket open, and either stop listening
    or just keep listening. Both of these options work fine when
    we have DTLS Connection ID support.
    
    Signed-off-by: Seppo Takalo <[email protected]>
    SeppoTakalo authored and nashif committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    a1cfe98 View commit details
    Browse the repository at this point in the history
  15. net: tcp: populate context's local address for incoming connections

    `local_addr` would only be initialized if `context->local->sin*_addr` was
    non-null. However, since `context` is a fresh context object, `local_addr`
    always remains at its initial value of `INADDR_ANY`, which is propagated to
    the context by `net_context_bind()`.
    
    By populating `local_addr` using the TCP endpoint, `getsockname()` now
    returns the correct local address.
    
    Signed-off-by: Armin Brauns <[email protected]>
    arbrauns authored and nashif committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    fdde5bd View commit details
    Browse the repository at this point in the history
  16. net: mqtt-sn: fix port in mqtt-sn debug message

    The port we are connecting to is stored in network byte order,
    thus, we need to convert it to the CPU's byte order before logging
    
    Signed-off-by: Mark Oude Elberink <[email protected]>
    markxoe authored and nashif committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    67dd584 View commit details
    Browse the repository at this point in the history
  17. drivers: intc: stm32: use BIT macro with type cast argument

    1. use 'BIT' macro instead of explicit left shift operations, since
    'BIT' macro implicitly adds unsigned type suffix, avoiding possible
    [shiftTooManyBitsSigned] scenarios, and
    
    2. add an explicit uint32_t cast to 'BIT' macro argument, complying with
    required [misra-c2012-10.1] rule which states; operands shall not be of
    an inappropriate essential type.
    
    Found as a coding guideline violation (Rule 10.1) by static code
    scanning tool.
    
    Note: Tested on STM32L5 Nucleo-144 board (stm32l552xx).
    
    Signed-off-by: ferar alashkar <[email protected]>
    feraralashkar authored and nashif committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    9d93863 View commit details
    Browse the repository at this point in the history
  18. drivers: intc: stm32: add break to switch-clause

    add an unconditional break to switch-clause's default case, complying
    with required [misra-c2012-16.3] rule which states; An unconditional
    break statement terminate every switch-clause.
    
    Found as a coding guideline violation (Rule 16.3) by static code
    scanning tool.
    
    Note: Tested on STM32L5 Nucleo-144 board (stm32l552xx).
    
    Signed-off-by: ferar alashkar <[email protected]>
    feraralashkar authored and nashif committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    b6d8989 View commit details
    Browse the repository at this point in the history
  19. Bluetooth: audio: tbs_client: Fix possible override of GATT read para…

    …meters
    
    This fixes missing guard access to GATT read parameters.
    The code checks `busy` flag and returns an error in case there's ongoing
    GATT Read operation already.
    
    Fixes: zephyrproject-rtos#58425
    Signed-off-by: Mariusz Skamra <[email protected]>
    MariuszSkamra authored and nashif committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    6656d33 View commit details
    Browse the repository at this point in the history
  20. Bluetooth: audio: tbs_client: Fix missing cleanup

    This fixes repeated attempt to bt_tbs_client_discover that failed
    because srv_inst->current_inst was not cleared during previous discovery
    process. The issue seen in case the GATT Read CCID returned an error.
    The code has been factored out to separate helper function.
    
    Signed-off-by: Mariusz Skamra <[email protected]>
    MariuszSkamra authored and nashif committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    2d593a1 View commit details
    Browse the repository at this point in the history
  21. Bluetooth: audio: tbs_client: Remove GATT subscriptions upon disconne…

    …ction
    
    As long as we do not have NVS support in TBS, the subscriptions shall be
    removed once ACL is disconnected to avoid potential crash on
    reconnection, as the subscription parameters might be not valid anymore.
    
    Signed-off-by: Mariusz Skamra <[email protected]>
    MariuszSkamra authored and nashif committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    a84ecc2 View commit details
    Browse the repository at this point in the history
  22. net: tcp: Fix possible double TCP context dereferencing

    In case TCP connection is being closed from the TCP stack, due to for
    instance retransmission timeout, the stack should also switch the TCP
    state to CLOSED. Otherwise, there was a risk of dereferencing the TCP
    context twice, for example if the application was in active socket
    send(), and tried to reschedule data transmission.
    
    Additionally, make sure that the TCP_CLOSED state handling is a no-op
    state - otherwise, there is a risk that if packets keep incoming before
    the application dereferences the TCP context on its side, TCP stack
    will incorrectly dereference the context for the second time from
    within due to current TCP_CLOSED state logic.
    
    Signed-off-by: Robert Lubos <[email protected]>
    rlubos authored and nashif committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    7deabaa View commit details
    Browse the repository at this point in the history
  23. samples: usb: mass: Set next stack max LUNs to 3

    Mass storage sample contains separate Kconfig options for RAM, Flash and
    SDMMC disk drivers. All disk drivers can be enabled simultaneously and
    therefore the maximum number of concurrent LUNs is 3.
    
    Configure Mass Storage class maximum LUNs to 3 to solve initialization
    failures on targets that enable more than one disk driver at a time.
    Each additional supported LUN increases the Mass Storage class memory
    usage by 48 bytes (struct scsi_ctx) on 32-bit targets. Allocating 3 SCSI
    context structures allows the sample to work regardless what disk
    drivers are concurrently enabled.
    
    Fixes: zephyrproject-rtos#57657
    
    Signed-off-by: Tomasz Moń <[email protected]>
    tmon-nordic authored and nashif committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    5d87abc View commit details
    Browse the repository at this point in the history
  24. ci: workflows: create cache directory for ccache

    Create cache directory before moving ccache.
    
    Signed-off-by: Anas Nashif <[email protected]>
    nashif committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    135f537 View commit details
    Browse the repository at this point in the history
  25. soc/intel_adsp: fix typo in L1EXP definition

    The field offset is incorrect, L1EXP is at bit 24 and L1ETP at bit 25.
    
    Fixes: cc6e9c0 ("soc/intel_adsp: Low level HDA driver and tests")
    Signed-off-by: Pierre-Louis Bossart <[email protected]>
    plbossart authored and nashif committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    b871138 View commit details
    Browse the repository at this point in the history
  26. boards: arm: kv260_r5: doc: update board documentation

    By adding the link to an openAMP project reference
    Linux image targeted to the kv260 board which comes
    with openAMP support and remoteproc endpoints.
    
    Signed-off-by: Felipe Neves <[email protected]>
    Felipe Neves authored and nashif committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    4661a4a View commit details
    Browse the repository at this point in the history
  27. dts: mec172x: move the uart device node off espi

    Move the two UART nodes so that they are under "soc" rather than "espi",
    leave only xec-espi-host-dev nodes there.
    
    The UART device can be used indepdently by the driver uart_mchp_xec.c
    and it's normally initialized before before the espi one.
    
    Moving the device node up a level so this does not trigger a false
    positive on the build time priority checking.
    
    Signed-off-by: Fabio Baltieri <[email protected]>
    fabiobaltieri authored and nashif committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    ab7b8dd View commit details
    Browse the repository at this point in the history
  28. doc: develop: api: overview: tag Task Watchdog API as Unstable

    Promote Task Watchdog API from Experimental to Unstable.
    
    The API has proven to be suitable for its purpose.
    
    Signed-off-by: Martin Jäger <[email protected]>
    martinjaeger authored and nashif committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    059e564 View commit details
    Browse the repository at this point in the history
  29. doc: develop: api: overview: tag DAC API as Unstable

    Promote DAC API from Experimental to Unstable.
    
    The API is well adopted and used in more than 2 implementations.
    
    Signed-off-by: Martin Jäger <[email protected]>
    martinjaeger authored and nashif committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    7b2034a View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2023

  1. drivers: intc: stm32: clarify controlling expression

    add explicit boolean type to 'if' statement controlling expression,
    consolidating it with 'stm32_exti_is_pending' function return type, thus
    improving code readability and maintainability, complying with required
    [misra-c2012-14.4] rule which states; The controlling expression of an
    if statement and the controlling expression of an iteration-statement
    shall have essentially boolean type.
    
    Found as a coding guideline violation (Rule 14.4) by static code
    scanning tool.
    
    Note: Tested on STM32L5 Nucleo-144 board (stm32l552xx).
    
    Signed-off-by: ferar alashkar <[email protected]>
    feraralashkar authored and nashif committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    7920c6a View commit details
    Browse the repository at this point in the history
  2. doc: release-notes: fix bad links

    Added missing include/ to fix dead links re: iterable sections API
    
    Signed-off-by: Benjamin Cabé <[email protected]>
    kartben authored and nashif committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    7ed56d5 View commit details
    Browse the repository at this point in the history
  3. doc: update LittleFS Github repo URLs

    LittleFS now lives in the littlefs-project GH organization.
    
    Signed-off-by: Benjamin Cabé <[email protected]>
    kartben authored and nashif committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    7cf3477 View commit details
    Browse the repository at this point in the history
  4. boards: doc: fix stale blackpill repo URL

    Updated GitHub links to point to active repos.
    
    Signed-off-by: Benjamin Cabé <[email protected]>
    kartben authored and nashif committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    9cae080 View commit details
    Browse the repository at this point in the history
  5. doc: update stale srecord links

    Updated 404 links to point to valid locations.
    
    Signed-off-by: Benjamin Cabé <[email protected]>
    kartben authored and nashif committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    23f2a20 View commit details
    Browse the repository at this point in the history
  6. doc: update stale links to MCUboot documentation

    mcuboot.com/documentation --> docs.mcuboot.com
    
    Signed-off-by: Benjamin Cabé <[email protected]>
    kartben authored and nashif committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    a76396f View commit details
    Browse the repository at this point in the history
  7. samples: doc: fix dead links

    Fixed deadlinks reported by Sphinx linkchecker
    
    Signed-off-by: Benjamin Cabé <[email protected]>
    kartben authored and nashif committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    21f473a View commit details
    Browse the repository at this point in the history
  8. boards: doc: fix dead links

    Fixed various dead links reported by Sphinx linkchecker, from typos to
    moved datasheets / technical documentations.
    
    Signed-off-by: Benjamin Cabé <[email protected]>
    kartben authored and nashif committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    f1bdb35 View commit details
    Browse the repository at this point in the history
  9. west: doc: update link to SPDX doc

    fixed 404 link to SPDX documentation
    
    Signed-off-by: Benjamin Cabé <[email protected]>
    kartben authored and nashif committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    4ef2493 View commit details
    Browse the repository at this point in the history
  10. doc: snippets: fix bad link

    Fixed incorrect reference to snippets/ folder
    
    Signed-off-by: Benjamin Cabé <[email protected]>
    kartben authored and nashif committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    8cbe2d8 View commit details
    Browse the repository at this point in the history
  11. doc: peripherals: fix bad link to Display API

    fixed incorrect link reference to Display API
    
    Signed-off-by: Benjamin Cabé <[email protected]>
    kartben authored and nashif committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    21c1a61 View commit details
    Browse the repository at this point in the history
  12. doc: i2c: fixed non-working link to I2C spec

    Fixed improperly formatted link to I2C spec.
    
    Signed-off-by: Benjamin Cabé <[email protected]>
    kartben authored and nashif committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    46f7c04 View commit details
    Browse the repository at this point in the history
  13. doc: mcumgr: update link to mcumgr root folder

    MCUmgr does not live in subsys/mgmt/mcumgr/lib anymore.
    
    Signed-off-by: Benjamin Cabé <[email protected]>
    kartben authored and nashif committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    c778115 View commit details
    Browse the repository at this point in the history
  14. doc: pinctrl: fix link to ELC2021 slide deck

    updated link to point to a working location.
    
    Signed-off-by: Benjamin Cabé <[email protected]>
    kartben authored and nashif committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    b7e23b8 View commit details
    Browse the repository at this point in the history
  15. doc: fixed stale link to sbs emulator

    Fixed bad link reported by Sphinx linkchecker
    
    Signed-off-by: Benjamin Cabé <[email protected]>
    kartben authored and nashif committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    8426396 View commit details
    Browse the repository at this point in the history
  16. doc: spi: fix doxygen comment for MISO Lines doc

    Update SPI MISO Lines documentation to remove incorrect use of @kconfig.
    Fixes zephyrproject-rtos#58912.
    
    Signed-off-by: Benjamin Cabé <[email protected]>
    kartben authored and nashif committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    e82e5a6 View commit details
    Browse the repository at this point in the history
  17. rp2040: Fix USB self powered for all boards

    The USB configuration for all rp2040 boards wrongfully left
    USB_SELF_POWERED as true by default. This commit fixes it for
    all rp2040 boards.
    
    Fixes zephyrproject-rtos#53993
    
    Signed-off-by: Yonatan Schachter <[email protected]>
    yonsch authored and carlescufi committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    bb437e3 View commit details
    Browse the repository at this point in the history
  18. tests: mcumgr: update tags

    add mcumgr as a tag for mcumgr tests.
    
    Signed-off-by: Anas Nashif <[email protected]>
    nashif committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    7eea4b5 View commit details
    Browse the repository at this point in the history
  19. test: ARC: skip div-by-zero test in case of SW div implementation

    The SW div implementation from libgcc doesn't handle division by
    zero case, so the HW exception isn't triggered.
    
    So, skip this test case (as we are already doing for some other
    ARC targets).
    
    Signed-off-by: Eugeniy Paltsev <[email protected]>
    Signed-off-by: Evgeniy Paltsev <[email protected]>
    evgeniy-paltsev authored and nashif committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    e9b0b6a View commit details
    Browse the repository at this point in the history
  20. drivers: regulator: pca9420: fix support for DVS modes

    Fix support for DVS modes, as the dvs_state_set implementation
    previously had the mask and value parameters in the
    i2c_reg_update_byte_dt function swapped.
    
    Also, record the active DVS state and update the voltage get/set and
    regulator enable/disable function to target the active DVS mode. This
    will enable a user to configure multiple run modes, and modify target
    voltages for those modes when in the new mode. When a user is utilizing
    the MODESEL pins, update the active state but return an error so that
    the application can still edit settings for the new DVS mode once it has
    reconfigured the appropriate pins.
    
    Signed-off-by: Daniel DeGrasse <[email protected]>
    danieldegrasse authored and nashif committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    402d4eb View commit details
    Browse the repository at this point in the history
  21. net: lib: coap: Fixed unchecked send return value in CoAP client

    The retransmission attempt in CoAP client library did not verify the
    send result.
    
    Signed-off-by: Robert Lubos <[email protected]>
    rlubos authored and nashif committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    e96f1d7 View commit details
    Browse the repository at this point in the history
  22. net: lwm2m: Fix possible out-of-bound access when creating FW object

    obj_inst_id should not be used directly to index the instance array, as
    the instance ID is not tightly bound to the maximum instance count and
    can exceed this value, causing out-of-bound access.
    
    Therefore, perform some extra validation when choosing the array index
    for the object instance to make sure we stay in the array bounds, or
    return an error if there's no more room for more object instances, in a
    similar way it's done for Security object.
    
    Signed-off-by: Robert Lubos <[email protected]>
    rlubos authored and nashif committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    4790361 View commit details
    Browse the repository at this point in the history
  23. net: lwm2m: Fix pointless variable assignment

    Coverity reported that assigning ret = 0 is pointless, as in any
    scenario (loop continues or ends) the ret variable is overwritten
    anyway, w/o using the assigned value. Therefore remove the needless
    assignment.
    
    Signed-off-by: Robert Lubos <[email protected]>
    rlubos authored and nashif committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    e5aa433 View commit details
    Browse the repository at this point in the history
  24. net: websockets: Fix implicit type conversion Coverity warning

    Coverity reported potential issues with implicit signed/unsigned type
    conversions and potential problems with this. Fix this, by casing the
    byte-shifted data variable to uint64_t type explicitly.
    
    Signed-off-by: Robert Lubos <[email protected]>
    rlubos authored and nashif committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    f9a818c View commit details
    Browse the repository at this point in the history
  25. net: ieee802154_mgmt: Fix memcpy to uninitialized pointer location

    As since commit bff6a5c, params.dst.ext_addr is no longer assigned with
    the ctx->coord_ext_addr pointer, but a endianness swap is included, it
    should be assigned with a proper buffer before the memcpy.
    
    Signed-off-by: Robert Lubos <[email protected]>
    rlubos authored and nashif committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    233524f View commit details
    Browse the repository at this point in the history
  26. doc: add a section about coverity scans

    Quick intro into static code analysis and scans.
    
    Signed-off-by: Anas Nashif <[email protected]>
    nashif authored and carlescufi committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    d17d28a View commit details
    Browse the repository at this point in the history
  27. drivers: dma_mcux_lpc: Fix potential NULL pointer dereferences

    Dereference variables after NULL checking.
    
    Signed-off-by: Jacob Siverskog <[email protected]>
    jsiverskog authored and nashif committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    9a26ab4 View commit details
    Browse the repository at this point in the history
  28. fs/littlefs/sample: Increase stack size

    Increase stack size to prevent sample crashes.
    
    Fixes zephyrproject-rtos#57525
    
    Signed-off-by: Dominik Ermel <[email protected]>
    de-nordic authored and nashif committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    e0e7f58 View commit details
    Browse the repository at this point in the history
  29. Bluetooth: Samples: Remove usage of BT_DEBUG_LOG

    Remove usage of Kconfig symbol `CONFIG_BT_DEBUG_LOG` from samples. It
    has been deprecated since this PR:
    zephyrproject-rtos#56183
    
    The Kconfig symbols has been replaced by `CONFIG_LOG=y` on most of the
    cases. Or it has been removed when not needed anymore.
    
    Signed-off-by: Théo Battrel <[email protected]>
    theob-pro authored and nashif committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    e9ee3e0 View commit details
    Browse the repository at this point in the history
  30. Bluetooth: Tests: Remove usage of BT_DEBUG_LOG

    Remove usage of Kconfig symbol `CONFIG_BT_DEBUG_LOG` from tests. It has
    been deprecated since this PR:
    zephyrproject-rtos#56183
    
    The Kconfig symbols has been replaced by `CONFIG_LOG=y` on most of the
    cases. Or it has been removed when not needed anymore.
    
    Signed-off-by: Théo Battrel <[email protected]>
    theob-pro authored and nashif committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    f5ff886 View commit details
    Browse the repository at this point in the history
  31. Bluetooth: Documentation: Remove reference to BT_DEBUG_LOG

    Remove reference to deprecated Kconfig symbol `CONFIG_BT_DEBUG_LOG` in
    the documentation.
    
    Signed-off-by: Théo Battrel <[email protected]>
    theob-pro authored and nashif committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    b90fc34 View commit details
    Browse the repository at this point in the history
  32. samples: drivers: peci: Exclude MEC172x EVB from test

    PECI bus sample requires a controller and a target
    Intel system(PECI controller) + Embedded controller(PECI target),
    where EC HW can be add-on card (mec172xmodular) or onboard EC.
    
    MEC172x EVB is not intended to be connected hence excluding
    the platform.
    
    Signed-off-by: Jose Alberto Meza <[email protected]>
    albertofloyd authored and nashif committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    2602b72 View commit details
    Browse the repository at this point in the history
  33. boards: mec172xmodular_assy6930: Correct EC bootloader settings

    Changing the EC ROM bootloader mode to Quad from Dual and
    SPI drivestrength to 8mA
    This changes are required because of the different SPI flash
    used which doesn't support Dual mode.
    
    Signed-off-by: Jose Alberto Meza <[email protected]>
    albertofloyd authored and nashif committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    d281b8d View commit details
    Browse the repository at this point in the history
  34. Bluetooth: samples: ISO: Check validity of incoming data

    Only print incoming data when the data is valid. Otherwise we also
    print incoming data when no data was received.
    
    Signed-off-by: Rubin Gerritsen <[email protected]>
    rugeGerritsen authored and nashif committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    57ab4f4 View commit details
    Browse the repository at this point in the history
  35. Bluetooth: samples: central_iso: Unref if send fails

    Fixes a resource leak.
    
    Signed-off-by: Rubin Gerritsen <[email protected]>
    rugeGerritsen authored and nashif committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    58cc10b View commit details
    Browse the repository at this point in the history
  36. include: zephyr: drivers: ps2: Add missing err codes header

    Fix compilation error when enabling PS2 driver and userspace.
    
    Signed-off-by: Jose Alberto Meza <[email protected]>
    albertofloyd authored and nashif committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    8acfdae View commit details
    Browse the repository at this point in the history
  37. net: context: Fix ambigous pointer check in net_context_connect()

    Coverity reported, that laddr pointer used in net_context_connect()
    could be passed as NULL to net_tcp_connect() where it could be
    dereferenced. This is because the actual setting of laddr to a valid
    address structure was only done after
    net_sin/sin6_ptr(&context->local)->sin/sin6_addr verification.
    
    In practice though, the aforementioned pointer verification would always
    pass, as the bind_default() guarantee that the context->local address is
    set to an unspecified address (if it hasn't been set earlier).
    
    Therefore refactor the code a bit: replace the pointer verification
    with NET_ASSERT - only to assure that we can catch regression in case
    for any reason the behavior of bind_default() changes. This should also
    ensure that Coverity no longer reports that laddr is NULL when reaching
    net_tcp_connect().
    
    Signed-off-by: Robert Lubos <[email protected]>
    rlubos authored and nashif committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    22b889e View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2023

  1. Bluetooth: Mesh: Fix unable sent mesh message

    In PR (zephyrproject-rtos#58723) has introduce another bug, that,
    the flag ADV_FLAG_PROXY set before actually enabled.
    
    When ctx:: BT RX call schedule_send will atomic_test_and_clear
    ADV_FLAG_PROXY, but at this time, the proxy advertising will
    not at advertising state, maybe in update params or set adverting
    data phase,
    
    so that, call bt_le_ext_adv_stop will nothing, and then call
    k_work_reschedule --> send_pending_adv(at this time, the proxy
    advertising actually enabled, but the upper layer clear proxy flags),
    cause latest advertising unable start, because unable in advertising
    state to update params(-EINVAL).
    
    Fixes: zephyrproject-rtos#58721
    
    Signed-off-by: Lingao Meng <[email protected]>
    LingaoM authored and nashif committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    b6fc474 View commit details
    Browse the repository at this point in the history
  2. doc: api: Update status for auxdisplay API

    auxdisplay API was introduced in 3.4, not 3.3.
    Also update to "experimental" status to better reflect that the API is
    new.
    
    Signed-off-by: Benjamin Cabé <[email protected]>
    kartben authored and nashif committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    b05842e View commit details
    Browse the repository at this point in the history
  3. Bluetooth: Tests: Check CCC Update

    Check that if a bonded peer subscribed to a CCC, a non-bonded peer with
    the same address cannot update the CCC.
    
    Signed-off-by: Théo Battrel <[email protected]>
    theob-pro authored and nashif committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    24ea258 View commit details
    Browse the repository at this point in the history
  4. Bluetooth: Host: Fix GATT server handling of CCC

    GATT server was not doing enough check before udpating the CCC.
    
    For example, a non-bonded client could update the CCC of a bonded client
    by spoofing his address.
    
    This fix the issue by dissociating the CCC configuration of a bonded and
    a non-bonded peer. To do that, a new field is added to the CCC config:
    `link_encrypted`.
    
    Signed-off-by: Théo Battrel <[email protected]>
    theob-pro authored and nashif committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    cfd368f View commit details
    Browse the repository at this point in the history
  5. Bluetooth: Mesh: Avoid undefined behavior in bit shift in blob_cli.c

    block_size_log can be 0x20 which will shift 1 by 32 bits which will
    cause undefined behavior. Adding ULL to 1 is an option but this will add
    little bit more code when debug option is enabled. So simply print the
    logarithmic value.
    
    Coverity-ID: 316387
    Fixes zephyrproject-rtos#58951
    
    Signed-off-by: Pavel Vasilyev <[email protected]>
    PavelVPV authored and nashif committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    242c8f1 View commit details
    Browse the repository at this point in the history
  6. Bluetooth: Controller: Fix ISOAL sink create role for ISO Receiver

    Fix ISOAL sink create role for ISO Receiver.
    
    Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
    cvinayak authored and carlescufi committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    54aa6f1 View commit details
    Browse the repository at this point in the history
  7. doc: api: Promote EDAC API as Unstable

    Promote Error Detection And Correction (EDAC) API as Unstable.
    
    Fixes: zephyrproject-rtos#58487
    
    Signed-off-by: Andrei Emeltchenko <[email protected]>
    finikorg authored and nashif committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    124e0f5 View commit details
    Browse the repository at this point in the history
  8. samples: Bluetooth: unicast audio client and server overlay config

    Add Zephyr Bluetooth Low Energy Controller overlay config for
    the unicast audio client and server samples.
    
    Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
    cvinayak authored and nashif committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    f992029 View commit details
    Browse the repository at this point in the history
  9. Bluetooth: Controller: Fix Tx ISO SDUs dropped due to strict SN check

    Introduce a Kconfig BT_CTLR_ISOAL_SN_STRICT to relax the Tx
    ISO Data SDUs being dropped due to strict check of sequence
    numbers in ISOAL, i.e. dropped when ISO Data SDUs are
    delayed from upper layer with respect to the current
    payload number in the ISO radio events.
    
    Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
    cvinayak authored and nashif committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    5f38c4b View commit details
    Browse the repository at this point in the history
  10. samples: Bluetooth: Relax Tx ISO SDUs dropped in unicast audio samples

    Relax Tx ISO SDUs being dropped in unicast audio client and
    server samples when using the Zephyr Bluetooth Low Energy
    Controller, i.e. Tx ISO SDUs dropped due to delayed ISO data
    send calls in upper layer with respect to payload number in
    the current ISO radio events in the Controller.
    
    This option is disabled in the sample and users can use it
    when need be.
    
    Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
    cvinayak authored and nashif committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    7d7d1cb View commit details
    Browse the repository at this point in the history
  11. samples: Bluetooth: Fix Tx ISO Data packet sequence number

    Fix Tx ISO Data packet sequence number increment based on
    the send timer timeout value.
    
    Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
    cvinayak authored and nashif committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    b7c2ca4 View commit details
    Browse the repository at this point in the history
  12. Bluetooth: Controller: Update BT_CTLR_ISOAL_SN_STRICT help text

    Update BT_CTLR_ISOAL_SN_STRICT help text.
    
    Co-authored-by: Nirosharn Amarasinghe <[email protected]>
    Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
    2 people authored and nashif committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    52c5ce9 View commit details
    Browse the repository at this point in the history
  13. tests: bsim: Bluetooth: Fix BIS test ISO Tx Buffers in Controller

    Fix BIS test for ISO Tx Buffers in Controller to be 2 for
    ISO TX MTU size of 502 bytes.
    
    Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
    cvinayak authored and nashif committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    273e233 View commit details
    Browse the repository at this point in the history
  14. Bluetooth: Controller: Fix Broadcast ISO interval unit

    Fix incorrectly stored Broadcast ISO interval in
    microseconds instead of storing in 1.25 ms units.
    
    Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
    cvinayak authored and nashif committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    48f6411 View commit details
    Browse the repository at this point in the history
  15. Bluetooth: Controller: Fix read ISO Tx Sync for Broadcast ISO

    Fix missing read ISO Tx Sync for Broadcast ISO feature.
    
    Co-authored-by: Nirosharn Amarasinghe <[email protected]>
    Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
    2 people authored and nashif committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    4195ba5 View commit details
    Browse the repository at this point in the history
  16. sysbuild: ensure warning is only printed when VAR is not used

    When calling `sysbuild_get(<out-var> VAR <lookup-var> ...)` user
    specifically specify the output variable and in such cases the overwrite
    warning should not be printed, because such invocation is similar to a
    regular `set(<var> <val>)` CMake call.
    
    Only the invocation where the same variable name is used for lookup and
    return variable, then the warning must be printed to avoid unintentional
    overwriting of existing variables.
    
    Signed-off-by: Torsten Rasmussen <[email protected]>
    tejlmand authored and nashif committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    782a051 View commit details
    Browse the repository at this point in the history
  17. tests: drivers: can: api: fix test_set_timing_data_while_started test

    Change the test_set_timing_data_while_started test to actually attempt to
    set the data phase timing parameters instead of attempting to set the
    nominal/arbitration timing parameters.
    
    Update test descriptions to explicitly mention data phase timing.
    
    Fixes: zephyrproject-rtos#59046
    
    Signed-off-by: Henrik Brix Andersen <[email protected]>
    henrikbrixandersen authored and nashif committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    98ba117 View commit details
    Browse the repository at this point in the history
  18. Bluetooth: Controller: Fix cis_offset_min to have additional margin

    As the coarse tick of ACL prepare and CIG prepare jitter by
    +/- 1 tick, hence when initially scheduling the CIG place it
    with enough margin so that cis_offset_min calculated when
    there already exists a CIG can be larger than peer's
    cis_offset_min being negotiated.
    
    Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
    cvinayak authored and nashif committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    466f3e8 View commit details
    Browse the repository at this point in the history
  19. tracing: sysview: implement RTT channel selection through KConfig

    Implement Kconfig value for selecting the RTT channel to be used
    by Segger SystemView
    
    Signed-off-by: Nathan Olff <[email protected]>
    nono313 authored and nashif committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    833a228 View commit details
    Browse the repository at this point in the history
  20. tracing: sysview: implement SEGGER_SYSVIEW_APP_NAME

    Implement APP_NAME define in Kconfig for Segger SystemView module.
    Use APP_NAME in Systemview initialization function
    
    Signed-off-by: Nathan Olff <[email protected]>
    nono313 authored and nashif committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    685476d View commit details
    Browse the repository at this point in the history
  21. sysbuild: Fix value propagation of signature type to MCUboot

    Fixes an issue whereby the type of the signature was not passed
    to MCUboot.
    
    Signed-off-by: Jamie McCrae <[email protected]>
    nordicjm authored and nashif committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    65c9058 View commit details
    Browse the repository at this point in the history
  22. templates: change template file namaes for proper sorting

    prefix with numbers to get sorting based on usage. Most common files
    issue types should come first, with bugs being at the top.
    
    Signed-off-by: Anas Nashif <[email protected]>
    nashif committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    c1e40bb View commit details
    Browse the repository at this point in the history
  23. ci: testplan: do not start more runners than needed

    We have been launching 10 runners up a certain number of tests, although
    we only neeed half of that for some scenarios.
    Too many runners started that have to execute just a small number of
    tests wastes times on setup and blocks the queue. Just start the number
    of nodes needed based on initial calculation.
    
    Signed-off-by: Anas Nashif <[email protected]>
    nashif committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    7f0aff9 View commit details
    Browse the repository at this point in the history
  24. tests: drivers: dac channel structure has a buffered parameter boolean

    Add the '.buffered' field to the dac_channel_cfg structure
    when testing the DAC.
    This boolean parameter is initialised to 'true' to PASS the test.
    It follows the zephyrproject-rtos#57730
    Also changed for the samples/drivers/dac
    
    Signed-off-by: Francois Ramu <[email protected]>
    FRASTM authored and nashif committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    c908aea View commit details
    Browse the repository at this point in the history
  25. Bluetooth: Host: Set valid default for secondary adv phy

    Set the secondary advertising PHY to a valid value when using
    legacy advertising through the LE Set Extended Advertising Parameters
    command.
    
    Fixes zephyrproject-rtos#57885.
    
    Signed-off-by: Carles Cufi <[email protected]>
    carlescufi authored and nashif committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    c0c2c6e View commit details
    Browse the repository at this point in the history
  26. tests: bluetooth: tester: Fix ATT max attr size assert

    ATT attributes can be up to 512 bytes long, so the comparisong needed
    fixing.
    
    See spec v5.4, Vol 3, Part F, 3.2.9.
    
    Fixes zephyrproject-rtos#57930.
    
    Signed-off-by: Carles Cufi <[email protected]>
    carlescufi authored and nashif committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    bcd0e8c View commit details
    Browse the repository at this point in the history
  27. arch: arm64: Use atomic for fpu_owner pointer

    Currently the lazy fpu saving algorithm in arm64 is using the fpu_owner
    pointer from the cpu structure to understand the owner of the context
    in the cpu and save it in case someone different from the owner is
    accessing the fpu.
    
    The semantics for memory consistency across smp systems is quite prone
    to errors and reworks on the current code might miss some barriers that
    could lead to inconsistent state across cores, so to overcome the issue,
    use atomics to hide the complexity and be sure that the code will behave
    as intended.
    
    While there, add some isb barriers after writes to cpacr_el1, following
    the guidance of ARM ARM specs about writes on system registers.
    
    Signed-off-by: Luca Fancellu <[email protected]>
    luca-fancellu authored and nashif committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    c8a9634 View commit details
    Browse the repository at this point in the history
  28. tests: drivers: dac loopback on stm32 boards fix pinout

    Change the pinout for ADC/DAC loopback testing on the stm32 boards
    nucleo_l073rz: adc_in0_pa0/dac_out1_pa4 --> A0 to A2 on arduino CN8
    nucleo_g071rb: adc1_in0_pa0/dac1_out1_pa4 --> A0 to A2 on arduino CN8
    stm32l562e_dk: adc1_in13_pc4/dac1_out1_pa4 --> A2 to A4 on arduino CN19
    Adjust the ACQuisition time to the MAX value because the default (=0)
    is too low for several boards.
    
    Signed-off-by: Francois Ramu <[email protected]>
    FRASTM authored and nashif committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    433114e View commit details
    Browse the repository at this point in the history
  29. manifest: bsim: Do not import but replicate in main manifest

    Due to a limitation in the west import feature,
    a project cannot both have an import and be part of a group.
    Moreover, when a project has an import and is not filtered
    out, it is required for that project to be present
    for most west commands to work.
    
    As the bsim project is not filtered by default,
    it causes trouble for users who never run a
    west update but try to use west further.
    
    To work around this issue, let's disable the import
    in the bsim project, and instead replicate its content
    inside Zephyr's main manifest.
    
    Having a replica of the babblesim manifest content
    is likely to cause some confusion in users,
    wrt to which version of components they are using.
    So whenever west supports both imports and groups, or another
    simple and nicer way of working around this, it should be used.
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    aescolar authored and nashif committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    9ce0d41 View commit details
    Browse the repository at this point in the history
  30. Revert "ci: doc-build: Pull 'bsim' west project"

    This reverts commit 00130b7.
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    aescolar authored and nashif committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    1c16529 View commit details
    Browse the repository at this point in the history
  31. CI: bsim workflow: Fix getting bsim revision

    As the bsim repo is disabled by default, west list bsim -f {sha}
    fails.
    Instead get the revision field which works.
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    aescolar authored and nashif committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    9af9a81 View commit details
    Browse the repository at this point in the history
  32. Bluetooth: MPL: Modify parse_search to use bt_data_parse

    Modify the implementation of parse_search to use a
    net_buf_simple and bt_data_parse to parse the LTV
    search structure.
    
    Signed-off-by: Emil Gydesen <[email protected]>
    Thalley authored and nashif committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    f282ce9 View commit details
    Browse the repository at this point in the history
  33. Bluetooth: Shell: On disconnect set new default_conn

    When a device disconnects we previously just unref'ed it and
    set default_conn = NULL. However, if we are connected to mulitple
    devices, it makes sense to set the default_conn to one of the
    other connections.
    
    Signed-off-by: Emil Gydesen <[email protected]>
    Thalley authored and nashif committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    028e0a3 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2023

  1. ARC: SMP: fix livelock in thread abort due to exception

    We are missing setting of switch_handle for the thread which
    is aborting due to exception (i.e. in case of k_panic or
    __ASSERT triggered). This may cause livelock in SMP code
    after a08e23f commit ("kernel/sched: Fix SMP
    must-wait-for-switch conditions in abort/join").
    
    Fix that.
    
    Signed-off-by: Eugeniy Paltsev <[email protected]>
    Signed-off-by: Evgeniy Paltsev <[email protected]>
    evgeniy-paltsev authored and nashif committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    9d6ced3 View commit details
    Browse the repository at this point in the history
  2. stm32g4: adc345: set resolutions & sampling-times in dtsi

    bring back adc3/4/5 with latest "st,stm32-adc" required
    properties: resolutions & sampling-times
    
    Signed-off-by: Cyril Fougeray <[email protected]>
    fouge authored and nashif committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    a8ed28a View commit details
    Browse the repository at this point in the history
  3. tests: Bluetooth: Split CAP initiator tests to unicast and broadcast

    Split the cap_initiator_test.c to two new files
    cap_initiator_broadcast_test.c and
    cap_initiator_unicast_test.c as the two barely had any
    common functionality, and the file was getting too large.
    
    Signed-off-by: Emil Gydesen <[email protected]>
    Thalley authored and nashif committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    8eaeb73 View commit details
    Browse the repository at this point in the history
  4. samples: Bluetooth: hci_usb: Disable USB_CDC_ACM

    BlueZ btusb does not recognize hci_usb sample as Bluetooth
    Controller when CDC ACM is enabled in the sample.
    
    Refer to zephyrproject-rtos#29107
    
    Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
    cvinayak authored and nashif committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    5eb17bc View commit details
    Browse the repository at this point in the history
  5. shell: Fix shell_vfprintf when vt100 is disabled

    Without this fix, for every call to shell_vfprintf,
    a prompt string and vt100 codes are printed too,
    resulting in mangled log output.
    
    Signed-off-by: Lars Knudsen <[email protected]>
    larsgk authored and nashif committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    fb40807 View commit details
    Browse the repository at this point in the history
  6. drivers: usb_dc_native_posix: Check data length before copy

    Fail requests if the data does not fit inside buffer.
    
    This commit only adds missing sanity checks but the native posix driver
    remains broken at the design level. The amount of work to fix the native
    posix driver in legacy USB stack is deemed too great to be worth it.
    
    Coverity-CID: 195841, GitHub issue zephyrproject-rtos#58564
    Coverity-CID: 240244, GitHub issue zephyrproject-rtos#58570
    
    Signed-off-by: Tomasz Moń <[email protected]>
    tmon-nordic authored and nashif committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    3b14268 View commit details
    Browse the repository at this point in the history
  7. drivers: usb_mcux: Fix disable and reset functions

    1. Fix the reset function to reset correctly.
    2. Ensure the controller handle is initialized before
       calling the SDK functions.
    
    Signed-off-by: Mahesh Mahadevan <[email protected]>
    mmahadevan108 authored and nashif committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    e94b6f9 View commit details
    Browse the repository at this point in the history
  8. riscv: Rename Kconfig symbol to *_PRIVILEGED

    Rename SOC_FAMILY_RISCV_PRIVILEGE to SOC_FAMILY_RISCV_PRIVILEGED because
    the spec is "privileged".
    
    Signed-off-by: Carlo Caione <[email protected]>
    carlocaione authored and nashif committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    edd3437 View commit details
    Browse the repository at this point in the history
  9. riscv: Move directory to *-privileged

    Because the spec is "privileged" not "privilege".
    
    Signed-off-by: Carlo Caione <[email protected]>
    carlocaione authored and nashif committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    8eeb5c9 View commit details
    Browse the repository at this point in the history
  10. posix: pthread: reimplement pthread_barrier using zephyr objects

    Previously pthread_barrier_t was implemented in terms of wait
    queues and internal scheduler functions.
    
    This introduced some obstacles and inconsistency. In order
    to be more consistent, rely only on Zephyr's public API and
    reuse as many concepts as possible.
    
    Deprecate `PTHREAD_BARRIER_DEFINE()` since it's non-standard.
    
    Signed-off-by: Christopher Friedt <[email protected]>
    cfriedt authored and nashif committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    f35fb33 View commit details
    Browse the repository at this point in the history
  11. posix: mutex: use k_mutex instead of posix_mutex

    The internal representation of `pthread_mutex_t`,
    `struct posix_mutex`, is basically a clone of `struct k_mutex`
    but without the benefit of being able to use all of the
    existing `k_mutex_*()` suite of functions.
    
    The first step in the right direction was switching
    the external representation of `pthread_mutex_t` to a simple
    `int`. Let's take the next step in the right direction, which
    is getting rid of `struct posix_mutex`.
    
    The only significant difference between `struct k_mutex` and
    `struct posix_mutex` is that the latter needs a `type` field.
    
    Since there were a fixed number of `struct posix_mutex`, we
    can just externalize the `type` field and reuse
    `struct k_mutex` as-is.
    
    For now, let's keep this change as a simple type
    substitution. Eventually, we should be able to fully switch
    to Zephyr API internally.
    
    Signed-off-by: Christopher Friedt <[email protected]>
    cfriedt authored and nashif committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    0d7ef22 View commit details
    Browse the repository at this point in the history
  12. posix: cond: use k_condvar instead of posix_cond

    The internal representation of `pthread_cond_t`,
    `struct posix_cond`, is an identical clone of `struct k_condvar`
    but without the benefit of being able to use all of the
    existing `k_condvar_*()` suite of functions.
    
    The first step in the right direction was switching
    the external representation of `pthread_cond_t` to a simple
    `int`. Let's take the next step in the right direction, which
    is getting rid of `struct posix_cond`.
    
    For now, let's keep this change as a simple type
    substitution. Eventually, we should be able to fully switch
    to Zephyr API internally.
    
    Signed-off-by: Christopher Friedt <[email protected]>
    cfriedt authored and nashif committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    08ba176 View commit details
    Browse the repository at this point in the history
  13. posix: pthread: rework pthreads to use zephyr api

    Previously, pthreads suffered from some race conditions.
    This was almost inevitable given that it was maintained in
    parallel to Zephyr's threading and synchronization API.
    
    The unfortunate side-effect of with that is that it did not
    receive the reliability and other improvements that
    `k_thread`s did.
    
    Here, we perform a significant update of pthread code so
    that it depends directly on public Zephyr API. With that,
    we reuse as many concepts as possible and pthreads benefits for
    free from any improvement made to Zephyr's threading and
    synchronization APIs.
    
    Included with this change, we
    * implement state with `ready_q`, `run_q`, and `done_q`
    * use `pthread_barrier_wait()` to sync `pthread_create()`
    * synchronize internal state with a spinlock
    
    These pthreads are considerably more reliable than
    before.
    
    Signed-off-by: Christopher Friedt <[email protected]>
    cfriedt authored and nashif committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    85e1874 View commit details
    Browse the repository at this point in the history
  14. posix: pthread: add option for pthread_create() barrier

    To enable testing, introduce `CONFIG_PTHREAD_CREATE_BARRIER`.
    
    Some observations were made that running several Qemu SMP targets
    concurrently could lead to synchronization problems. On such
    targets, it was found that the synchronization issues were
    mitigated by introducing a `pthread_barrier_t` shared between
    `pthread_create()` and the spawned thread.
    
    It is suggested to enable the option when running many
    SMP tests concurrently in several parallel Qemu processes,
    e.g. with `twister`.
    
    Signed-off-by: Christopher Friedt <[email protected]>
    cfriedt authored and nashif committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    e1f8ea1 View commit details
    Browse the repository at this point in the history
  15. tests: posix: improvements to pthread_pressure test

    * allow `qemu_cortex_a53`
    * disallow `qemu_leon3
    * remove `TEST_DURATION_S` range
    * additional report formatting
    
    Signed-off-by: Christopher Friedt <[email protected]>
    cfriedt authored and nashif committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    d9bae7c View commit details
    Browse the repository at this point in the history
  16. posix: pthread: mitigate include order sensitivity

    Previously, the `posix_internal.h` header needed to be exposed
    to the application because we had non-trivial details for
    most posix types (pthread, mutex, cond, ...). Since most of
    those have been simplified to a typedef'ed integer, we
    no longer need to expose that header to the applicaiton.
    
    Additionally, it means that we can adopt normalized
    header order in posix.
    
    Additionally, keep more implementation details hidden
    and prefer the static keyword on internal symbols where
    possible.
    
    Signed-off-by: Christopher Friedt <[email protected]>
    cfriedt authored and nashif committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    89cf4ce View commit details
    Browse the repository at this point in the history
  17. doc: release: 3.4: add posix api release notes

    Add POSIX API release notes for v3.4.0.
    
    Signed-off-by: Christopher Friedt <[email protected]>
    cfriedt authored and nashif committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    1d71fb7 View commit details
    Browse the repository at this point in the history
  18. doc: release: 3.4: Add notes about Atmel

    Add 3.4.0 release notes for Atmel.
    
    Signed-off-by: Gerson Fernando Budke <[email protected]>
    nandojve authored and nashif committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    fb74e5e View commit details
    Browse the repository at this point in the history
  19. doc: release: 3.4: Add notes about Gigadevices

    Add 3.4.0 release notes for Gigadevices
    
    Signed-off-by: Gerson Fernando Budke <[email protected]>
    nandojve authored and nashif committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    f220e26 View commit details
    Browse the repository at this point in the history
  20. drivers: auxdisplay: Fix jhd1313 compilation issues

    Added several missing undeclared config variables causing the driver to
    not compile properly.
    Fixes zephyrproject-rtos#59078.
    
    Signed-off-by: Benjamin Cabé <[email protected]>
    kartben authored and nashif committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    f307e20 View commit details
    Browse the repository at this point in the history
  21. drivers: auxdisplay: Fix text direction handling

    Fixed Input Set handling.
    Flag had misleading names: whether "entry" happens to the left or to the
    right is dependent on whether increment mode is active or not), so
    switched to just using a "SHIFT" y/n flag instead. It also reflects better
    the contents of the datasheet).
    Updated romance text direction accordingly ("increment, no shift").
    
    Signed-off-by: Benjamin Cabé <[email protected]>
    kartben authored and nashif committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    3b18164 View commit details
    Browse the repository at this point in the history
  22. drivers: auxdisplay: Set background to white

    Fixed inconsistency between code & comments and actually set
    background to black
    
    Signed-off-by: Benjamin Cabé <[email protected]>
    kartben authored and nashif committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    0445c7e View commit details
    Browse the repository at this point in the history
  23. drivers: auxdisplay: Fix rows/columns inversion

    JHD1313 is 16 columns x 2 rows.
    
    Signed-off-by: Benjamin Cabé <[email protected]>
    kartben authored and nashif committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    7ebe488 View commit details
    Browse the repository at this point in the history
  24. Bluetooth: ISO: Log status as hex instead of decimal

    Log status values in events as hex instead of decimal
    to make it easier to compare to the spec and hci_err.h
    
    Signed-off-by: Emil Gydesen <[email protected]>
    Thalley authored and nashif committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    1a3fd59 View commit details
    Browse the repository at this point in the history
  25. Samples: iso_connected_benchmark: Use BT_LE_ADV_OPT_ONE_TIME

    It is not intentional to continue advertising once a connection has been
    established for two reasons:
     1. We do not configure enough connection contexts for this
     2. We don't want to generate controller scheduling conflicts that can
        possibly reduce performance.
    
    Signed-off-by: Rubin Gerritsen <[email protected]>
    rugeGerritsen authored and nashif committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    faecdff View commit details
    Browse the repository at this point in the history
  26. Samples: iso_connected_benchmark: Fix invalid latency

    The default transport latency was not valid.
    Set it to a value that is large enough.
    The minimum possible transport latency is 16580 us,
    but this assumes the controller ignores the RTN=2.
    If the controller uses the RTN=2, the transport latency will
    be slightly larger than 30 ms depending on
    how the controller chooses to setup the ISO link.
    
    Therefore, we set it to 40 ms to ensure the default
    configuration is valid.
    
    How these numbers were found:
    
    For unframed PDUs this is defined in Core_v5.4, Vol 6,
    Part G, Section 3.2.2:
      Transport_Latency =
        CIG_Sync_Delay + FT * ISO_Interval - SDU_Interval
    
    Because unframed PDUs are being used, the ISO interval needs
    to be a multiple of SDU interval.
    If MaxPDU = MaxSDU and the PHY is 2M, this results in that
    the maximum subevent size is:
    2120 * 2 + 2 * 150 = 4540.
    For 2 CISes this is 9080 us > 7500
    Therefore, the controller has to set the ISO interval to a
    minimum of 15000 us in order to fit the packets.
    
    Based upon this info, the controller has the freedom to ignore
    or use the requested RTN=2.
    1. Ignore -> NSE is 2: Minimum ISO interval is 15000 us
    2. RTN = 2, Increase NSE: 4 * 4540 = 18160 -> ISO_Interval = 22500 us
    3. RTN = 2, Increase the FT to 2, NSE = 2 -> ISO_Interval = 15000 us
    
    For (1):
      Transport_Latency = CIG_Sync_Delay + 15000 - 7500
                        = CIG_Sync_Delay + 7500
    For (2):
      Transport_Latency = CIG_Sync_Delay + 22500 - 7500
                        = CIG_Sync_Delay + 15000
    For (3):
      Transport_Latency = CIG_Sync_Delay + 2 * 15000 - 7500
                        = CIG_Sync_Delay + 22500
    
    As shown in Core_v5.4, Vol 6, Part B, Section 4.5.14,
    CIG_Sync_Delay needs to be larger than or equal to the length of
    all ISO events. That is, the sum of the subevents:
    
    For (1): CIG_Sync_Delay = 2 * 4540 = 9080
    For (2): CIG_Sync_Delay = 4 * 4540 = 18160
    For (3): CIG_Sync_Delay = 2 * 4540 = 9080
    
    This results in the following transport latencies:
    
    For (1): Transport_Latency = 9080 + 7500 = 16580
    For (2): Transport_Latency = 18160 + 15000 = 33160
    For (3): Transport_Latency = 9080 + 22500 = 31580
    
    Signed-off-by: Rubin Gerritsen <[email protected]>
    rugeGerritsen authored and nashif committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    9cb3391 View commit details
    Browse the repository at this point in the history
  27. doc: release notes: add 1-wire release notes for 3.4.0

    Add 1-Wire related release notes for Zephyr v3.4.0.
    
    Signed-off-by: Thomas Stranger <[email protected]>
    str4t0m authored and nashif committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    f8f8fa2 View commit details
    Browse the repository at this point in the history
  28. ARC: Fix portability.posix.common.arcmwdtlib test

    portability.posix.common.arcmwdtlib test fails with ARCMWDT libc.
    This path fixes the test.
    
    STDIN_FILENO and others macroses are used in libc-hooks.c only. So they
    defined localy.
    
    Signed-off-by: Nikolay Agishev <[email protected]>
    Nikolay Agishev authored and nashif committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    6e940c5 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2023

  1. Bluetooth: BAP: Remove bad log error from bt_audio_valid_codec

    There was a LOG_ERR from debugging.
    
    Signed-off-by: Emil Gydesen <[email protected]>
    Thalley authored and nashif committed Jun 10, 2023
    Configuration menu
    Copy the full SHA
    bc89eab View commit details
    Browse the repository at this point in the history
  2. Bluetooth: BAP: modify when ASCS disconnects the CIS

    When an audio stream in a bidirectional CIS is released,
    it should not disconnect the CIS if there is still a stream
    for the opposite direction streaming. Only if both streams
    are not in a streaming state, should ASCS attempt to disconnect
    the CIS.
    
    Signed-off-by: Emil Gydesen <[email protected]>
    Thalley authored and nashif committed Jun 10, 2023
    Configuration menu
    Copy the full SHA
    f3f8380 View commit details
    Browse the repository at this point in the history
  3. Bluetooth: BAP: Release stream on codec config if requested

    An ASCS endpoint may go into either the idle or codec configured
    state when a stream is released. However since we have such a high
    coupling between audio streams and endpoints, we need to consider
    the endpoint as having been released (i.e. gone to the IDLE state).
    
    This is handled by a boolean state variable for now, but we may
    want to consider a more generic approach where streams and
    endpoints may be less coupled.
    
    Signed-off-by: Emil Gydesen <[email protected]>
    Thalley authored and nashif committed Jun 10, 2023
    Configuration menu
    Copy the full SHA
    65c2f8e View commit details
    Browse the repository at this point in the history
  4. Bluetooth: CAP: Add Initiator cancel procedure

    Add function to cancel any current proecedure. This is useful
    in cases where the connection to one or more acceptors is lost
    or if some acceptor does not respond to our requests for whatever
    reason.
    
    Signed-off-by: Emil Gydesen <[email protected]>
    Thalley authored and nashif committed Jun 10, 2023
    Configuration menu
    Copy the full SHA
    e9c1be8 View commit details
    Browse the repository at this point in the history
  5. Bluetooth: CAP: Shell: Add cmd_cap_initiator_unicast_cancel

    Add cmd_cap_initiator_unicast_cancel to call the cancel
    function.
    
    Signed-off-by: Emil Gydesen <[email protected]>
    Thalley authored and nashif committed Jun 10, 2023
    Configuration menu
    Copy the full SHA
    7712f81 View commit details
    Browse the repository at this point in the history
  6. tests: Bluetooth: CAP: Add bsim test for unicast_audio_cancel

    Add test of the unicast audio cancel that can cancel any pending
    procedures. This is done by adding a new blocking behavior in the
    cap acceptor.
    
    Signed-off-by: Emil Gydesen <[email protected]>
    Thalley authored and nashif committed Jun 10, 2023
    Configuration menu
    Copy the full SHA
    b635a47 View commit details
    Browse the repository at this point in the history
  7. tests: Bluetooth: CAP: BSIM: Set initiator as d=0 and acceptor as d=1

    Typically the client is the first device in our babblesim tests, so
    reordered the initiator and acceptor for the CAP tests to conform to
    that.
    
    Signed-off-by: Emil Gydesen <[email protected]>
    Thalley authored and nashif committed Jun 10, 2023
    Configuration menu
    Copy the full SHA
    9ed72eb View commit details
    Browse the repository at this point in the history
  8. Bluetooth: Audio: Shell: Increase number of streams for unicast client

    Increase CONFIG_BT_BAP_UNICAST_CLIENT_GROUP_STREAM_COUNT to match
    CONFIG_BT_ISO_MAX_CHAN.
    
    Signed-off-by: Emil Gydesen <[email protected]>
    Thalley authored and nashif committed Jun 10, 2023
    Configuration menu
    Copy the full SHA
    b0d6437 View commit details
    Browse the repository at this point in the history
  9. doc: services: posix: update posix supported items

    Several items needed to be updated in POSIX documentation.
    
    * add `_POSIX_BARRIERS` top Option Requirements
    * update `_POSIX_THREAD_ATTR_STACK*` in Option Requirements
    * add `pthread_barrier_*()` to `POSIX_THREADS_BASE`
    * update `pthread_cond_destroy()` and `pthread_setcancelstate()`
    
    Signed-off-by: Christopher Friedt <[email protected]>
    cfriedt committed Jun 10, 2023
    Configuration menu
    Copy the full SHA
    533c198 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2023

  1. shell: Fix BT verbose scan logging

    Fix endianness printout of values.
    
    Handle service data output with initial UUID.
    
    Signed-off-by: Lars Knudsen <[email protected]>
    larsgk authored and nashif committed Jun 11, 2023
    Configuration menu
    Copy the full SHA
    a7254b8 View commit details
    Browse the repository at this point in the history
  2. doc: services: posix: update c-lang support section

    Several C language items have gained support in Zephyr over
    time.
    
    Signed-off-by: Christopher Friedt <[email protected]>
    cfriedt authored and nashif committed Jun 11, 2023
    Configuration menu
    Copy the full SHA
    efe9111 View commit details
    Browse the repository at this point in the history
  3. release: bump release to 3.4.0-rc3

    Bump release to 3.4.0-rc3.
    
    Signed-off-by: Anas Nashif <[email protected]>
    nashif authored and jgl-meta committed Jun 11, 2023
    Configuration menu
    Copy the full SHA
    d14519c View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2023

  1. doc: release: 3.4: add posix api deprecations

    Add POSIX API deprecations to v3.4 release notes.
    
    Signed-off-by: Christopher Friedt <[email protected]>
    cfriedt authored and jgl-meta committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    a17fc4f View commit details
    Browse the repository at this point in the history
  2. Bluetooth: Rework the HCI header set

    In order to have clean, self-contained HCI headers that do not have any
    dependencies towards the Host or any other part of the system (except
    types), reorganize the headers in the following way:
    
    - Split out the macros and structs from hci.h to a new hci_types.h
    - Merge the existing hci_err.h into the new hci_types.h
    
    Fixes zephyrproject-rtos#58214.
    
    Signed-off-by: Carles Cufi <[email protected]>
    carlescufi authored and nashif committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    22f7399 View commit details
    Browse the repository at this point in the history
  3. Bluetooth: Controller: Rework internal header includes

    Rework internal header files to not have includes, rather
    have the required includes in the c source files.
    
    Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
    cvinayak authored and nashif committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    05aabdc View commit details
    Browse the repository at this point in the history
  4. doc: release-notes/3.4: add bits for UART

    This adds bits for various additions and fixes on UART
    drivers.
    
    Signed-off-by: Daniel Leung <[email protected]>
    dcpleung authored and nashif committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    2f3a164 View commit details
    Browse the repository at this point in the history
  5. doc: release-notes/3.4: small bit about PCIe

    Added a small bit about PCIe where it can now filter
    using class/revision register.
    
    Signed-off-by: Daniel Leung <[email protected]>
    dcpleung authored and nashif committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    50c70f5 View commit details
    Browse the repository at this point in the history
  6. doc: release-notes/3.4: bits on Xtensa

    This adds a few bits on additions and changes on Xtensa.
    
    Signed-off-by: Daniel Leung <[email protected]>
    dcpleung authored and nashif committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    7839d36 View commit details
    Browse the repository at this point in the history
  7. doc: release: 3.4: Add POSIX arch and POSIX boards changes

    Add points related to the POSIX arch and boards to the
    3.4 release notes.
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    aescolar authored and nashif committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    dc90066 View commit details
    Browse the repository at this point in the history
  8. doc: release: 3.4: Add more flash simulator changes

    Add some extra relevant changes to the flash simulator
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    aescolar authored and nashif committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    6bf47f5 View commit details
    Browse the repository at this point in the history
  9. doc: release: 3.4: Add BabbleSim related points

    Add relevant bsim related changes.
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    aescolar authored and nashif committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    15ad2be View commit details
    Browse the repository at this point in the history
  10. doc: release: 3.4: Fix indent in ARCH's lists

    So they render properly.
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    aescolar authored and nashif committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    bc09017 View commit details
    Browse the repository at this point in the history
  11. doc: release-notes: add CAN release notes for v3.4.0

    Add CAN related release notes for Zephyr v3.4.0.
    
    Signed-off-by: Henrik Brix Andersen <[email protected]>
    henrikbrixandersen authored and nashif committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    b771705 View commit details
    Browse the repository at this point in the history
  12. sysbuild: Fix exporting BOARD.+ through sysbuild cache

    Lately, sysbuild started filtering out variable names matching ^BOARD
    during sysbuild cache file generation. As a result, one of the cache
    variables that is no longer exported to other domains is BOARD_ROOT,
    which breaks the recent support for out-of-tree boards in sysbuild.
    
    Of those variables, the only one which is reasonable to filter out is
    BOARD itself, because the purpose of that is to substitute a different
    value for the one found in sysbuild's own CMake cache, which has the
    board revision stripped out.
    
    Update the relevant if-condition and use a single regex for brevity.
    
    Fixes zephyrproject-rtos#59114.
    
    Signed-off-by: Grzegorz Swiderski <[email protected]>
    57300 authored and nashif committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    87aa25e View commit details
    Browse the repository at this point in the history
  13. Bluetooth: Controller: Fix disable all advertising sets

    BlueZ stack in Linux distributions use disable all
    advertising sets when advertising is turned off.
    
    Add missing implementation to support disabling all
    active advertising sets.
    
    Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
    cvinayak authored and nashif committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    fc210a8 View commit details
    Browse the repository at this point in the history
  14. drivers: can: mcan: remove excessive debug on register access

    Remove excessive debug output on Bosch M_CAN register access. This was
    accidentially included in commit bbfc1f9.
    
    Signed-off-by: Henrik Brix Andersen <[email protected]>
    henrikbrixandersen authored and nashif committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    c05d629 View commit details
    Browse the repository at this point in the history
  15. net: l2: ethernet: Fix IPv6 Kconfig

    Function net_if_ipv6_addr_rm is only defined for NATIVE_IPV6.
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    krish2718 authored and nashif committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    1b7ef97 View commit details
    Browse the repository at this point in the history
  16. Revert "net: context: Fix ambigous pointer check in net_context_conne…

    …ct()"
    
    This reverts commit 22b889e.
    
    Signed-off-by: Robert Lubos <[email protected]>
    rlubos authored and nashif committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    ad33d03 View commit details
    Browse the repository at this point in the history
  17. net: context: Verify that laddr was set before use in connect

    In previous patch fixing this issue, I've missed the fact that offloaded
    drivers would not set the context->local address, which resulted in a
    regression, where the previously introduced assert would hit in
    offloaded cases. Not setting laddr is not a problem in case of
    offloading, as it's only used in net_tcp_connect() which would not be
    reached in this case.
    
    Therefore I propose to remove previous patch to get rid of regression.
    As an alternative fix, verify the laddr just before use, so that it is
    only checked when native net stack is in use.
    
    Signed-off-by: Robert Lubos <[email protected]>
    rlubos authored and nashif committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    8287e56 View commit details
    Browse the repository at this point in the history
  18. drivers: uart_mcux_flexcomm: Unlock IRQ if error

    Currently the flexcomm uart driver will not unlock IRQ
    if there is an error, which might cause some problems, fix this.
    
    Signed-off-by: Declan Snyder <[email protected]>
    decsny authored and nashif committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    bdaa870 View commit details
    Browse the repository at this point in the history
  19. tests: timer_behavior: Use bigger drift tolerance for nRF RTC timer

    Use 13% instead of the default 10% when the nRF RTC timer is used
    so that the allowed drift is at least one tick long (~122 us in
    this case).
    
    Signed-off-by: Andrzej Głąbek <[email protected]>
    anangl authored and nashif committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    a874fdd View commit details
    Browse the repository at this point in the history
  20. tests: timer_api: Decrease tick rate for nRF RTC timer

    The default tick rate for the nRF RTC timer is 32768 Hz, so one tick
    is ~30 us. This turns out to be too little for the following loop
    executed in user mode on the Network core in nRF5340:
    ```
    	do {
    		t0 = k_uptime_ticks();
    		rem_ticks = k_timer_remaining_ticks(&remain_timer);
    		t1 = k_uptime_ticks();
    	} while (t0 != t1);
    ```
    The time between the two calls to `k_uptime_tick()` is there always
    above 30 us, so the loop never ends.
    
    This patch decreases the tick rate for all nRF platforms because on
    other nRf SoCs the time mentioned above is also close to 30 us and
    apparently changes in code completely unrelated to this test affect
    execution time of system calls in the above loop - the test started
    to fail after commit 0014dd0 that
    changes fdtable was merged and if `fdtable.c` is for example just
    temporarily excluded from the build, the test passes.
    
    The root cause of the problem seems to be related to user space
    handling and this should to be investigated further. This patch
    is applied only to allow this test to pass for the time being.
    
    Signed-off-by: Andrzej Głąbek <[email protected]>
    anangl authored and nashif committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    4d511cf View commit details
    Browse the repository at this point in the history
  21. tests: posix: pthread_pressure: enable pthread barrier in twister

    In some cases, when GitHub CI is running several Qemu processes,
    each with heavy loads, SMP tests have shown some flakiness. This
    exhibits itself as something like
    
    ```
    ... pthread_pressure on qemu_riscv32 failed (Timeout)
    ```
    
    That is actually not at all limited to POSIX or any particular
    architecture, but is mainly to do with the host scheduler and
    perhaps memory barrier operations being lost in ISA translation
    by Qemu.
    
    Collectively, we can refer to these issues as "scheduler noise".
    
    To reduce scheduler noise in the `pthread_pressure` testsuite,
    enable `CONFIG_PTHREAD_CREATE_BARRIER` in `testcase.yaml`.
    
    Note: end-users will likely not experience the need to enable
    this in `prj.conf`. E.g. the following basic test demonstrates
    0 failures locallly.
    
    ```
    TEST=tests/posix/pthread_pressure
    twister --build-only -T $TEST &>/dev/null
    FAIL=0
    for ((i=0; i < 100; i++)); do
      echo "Run $((i+1))/100"
      twister --test-only -T $TEST &>/dev/null
      if [ $? -ne 0 ]; then
        FAIL=$((FAIL+1))
        echo "Failed $FAIL times"
      fi
    done
    echo "Failure Rate: $((FAIL))/100"
    ```
    
    Signed-off-by: Christopher Friedt <[email protected]>
    cfriedt authored and nashif committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    bfa0a87 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2023

  1. drivers: gpio: pca95xx: check gpio_add_callback() return value

    Check the return value from gpio_add_callback() and fail driver
    initialization if non-zero.
    
    Fixes: zephyrproject-rtos#58584
    
    Signed-off-by: Henrik Brix Andersen <[email protected]>
    henrikbrixandersen authored and nashif committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    5e9de12 View commit details
    Browse the repository at this point in the history
  2. drivers: pwm: pwm_mcux: improve resolution by writing match register

    Write PWM match registers directly instead of using the frequency and
    duty cycle fields of the MCUX HAL driver. This allows the driver to take
    full advantage of the resolution supported by the FlexPWM when setting
    duty cycle and carrier frequency.
    
    Fixes zephyrproject-rtos#59080
    
    Signed-off-by: Daniel DeGrasse <[email protected]>
    danieldegrasse authored and nashif committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    aefecf1 View commit details
    Browse the repository at this point in the history
  3. drivers/clock_control: SAM PMC missing soc.h

    The source clock_control_sam_pmc.c can not build without the
    symbol SOC_ATMEL_SAM_MCK_FREQ_HZ which is contained in soc.h
    
    This bug only shows itself if CONFIG_ARM_MPU is not enabled,
    which probably includes soc.h through the <zephyr/arch/cpu.h>
    which is not desired behavior.
    
    This commit adds the missing header, making the source build
    regardless of CONFIG_ARM_MPU.
    
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    Bjarki Arge Andreasen authored and nashif committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    7c339e9 View commit details
    Browse the repository at this point in the history
  4. net: lib: zperf: fix kernel panic due to invalid thread prio

    Compiling an application with CONFIG_NET_ZPERF=y leaving
    CONFIG_ZPERF_WORK_Q_THREAD_PRIORITY at its default value would
    systematically cause a kernel panic during thread initialization.
    
    The Kconfig variable is NUM_PREEMPT_PRIORITIES by default. Application
    threads may not define a priority lower than NUM_PREEMPT_PRIORITIES - 1,
    though.
    
    This change limits zperf's thread priority to a valid range. It does not
    change the default value as it makes sense to default the thread
    priority to the lowest possible value (which is NUM_PREEMPT_PRIORITIES)
    but Kconfig does not allow for arithmentic. So the combination of
    CLAMP() plus the Kconfig default will ensure min priority plus limit the
    range to valid values no matter what has been defined as priority in
    Kconfig.
    
    Fixes: zephyrproject-rtos#59141
    
    Signed-off-by: Florian Grandel <[email protected]>
    fg-cfh authored and nashif committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    378f0dd View commit details
    Browse the repository at this point in the history
  5. net: l2: ieee802154: shell: fix printing ext addr

    A bug was introduced in one of my earlier commits: The shell does no
    longer print the full extended address. Fixes the issue.
    
    Fixes: zephyrproject-rtos#59125
    
    Signed-off-by: Florian Grandel <[email protected]>
    fg-cfh authored and nashif committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    8d8faae View commit details
    Browse the repository at this point in the history
  6. net: l2: ieee802154: fix buffer pointer ref

    The uncast reference caused a cbprintf() warning on the console.
    
    Fixes: zephyrproject-rtos#59125
    
    Signed-off-by: Florian Grandel <[email protected]>
    fg-cfh authored and nashif committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    d451895 View commit details
    Browse the repository at this point in the history
  7. Revert "drivers: serial: ns16550: Add support for Async APIs"

    This reverts commit 2d03aaf.
    
    The async API for NS16550 is incomplete. We are near the next
    release so it is better to revert it for now, and a proper
    correct implementation can be done before next-next release.
    
    Relates to zephyrproject-rtos#57103
    
    Signed-off-by: Daniel Leung <[email protected]>
    dcpleung authored and nashif committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    d88840a View commit details
    Browse the repository at this point in the history
  8. Bluetooth: TBS: Ensure that inst exist when notifying terminate

    When calling the `terminate_call` the `inst` would always be NULL
    as we had just terminated the call that we attempted to look up.
    
    Signed-off-by: Emil Gydesen <[email protected]>
    Thalley authored and nashif committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    bb81b42 View commit details
    Browse the repository at this point in the history
  9. drivers: pinctrl_emsdp: add dummy mux for unmuxed peripheral

    ARC EMSDP board has some peripherals are internal connected,
    such as DW spi1 and DFSS i2c0. They are unmuxed and have fix
    connection to spi-flash or sensor. For these peripheral, add
    dummy mux type to avoid pinctrl ENOENT error.
    
    Signed-off-by: Siyuan Cheng <[email protected]>
    Siyuan Cheng authored and nashif committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    1a6b6e7 View commit details
    Browse the repository at this point in the history
  10. drivers: pinctrl_emsdp: fix definition location

    Mux Control Register Index are internals of driver, now
    moved from dt-binding header to driver itself.
    
    Signed-off-by: Siyuan Cheng <[email protected]>
    Siyuan Cheng authored and nashif committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    24efa67 View commit details
    Browse the repository at this point in the history
  11. usb: device: class: rndis: Limit response length

    Prevent potential buffer overflow when encapsulated response is more
    than CONFIG_USB_REQUEST_BUFFER_SIZE. Log error and truncate response if
    USB control transfer request buffer is not large enough.
    
    Signed-off-by: Tomasz Moń <[email protected]>
    tmon-nordic authored and nashif committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    ae6c856 View commit details
    Browse the repository at this point in the history
  12. Bluetooth: Mesh: Fix printing UUID log message

    CONFIG_BT_MESH_PROV_DEVICE_LOG_LEVEL_INF may not be present while
    CONFIG_BT_MESH_PROV_DEVICE_LOG_LEVEL is always present.
    
    Signed-off-by: Pavel Vasilyev <[email protected]>
    PavelVPV authored and nashif committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    21b5d42 View commit details
    Browse the repository at this point in the history
  13. Bluetooth: Mesh: Print UUID with correct endianess

    bt_uuid_str expects UUID in little endian while UUID encoded into
    unprovisioned mesh beacon is encoded in big endian. sys_memcpy_swap will
    change endianess of uuid so that bt_uuid_str can be used.
    
    Signed-off-by: Pavel Vasilyev <[email protected]>
    PavelVPV authored and nashif committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    8902de7 View commit details
    Browse the repository at this point in the history
  14. tests: bluetooth: mesh_shell: Print correct command for provisioning

    Provisioning commands were moved under `mesh prov` subcommand.
    
    Signed-off-by: Pavel Vasilyev <[email protected]>
    PavelVPV authored and nashif committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    de61b25 View commit details
    Browse the repository at this point in the history
  15. net: coap: CoAP reply handler fix

    Fix corner case when client RX request with same token than
    own request where it wait responses.
    
    Signed-off-by: Juha Heiskanen <[email protected]>
    Juha Heiskanen authored and nashif committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    d6c85c2 View commit details
    Browse the repository at this point in the history
  16. arch: arm64: cache: fix usage of extern C linkage specification

    Reorder preprocessor condition endings in arm64/cache.h,
    this eliminates the breaking of the 'extern "C"' construction.
    
    Signed-off-by: Mykola Kvach <[email protected]>
    xakep-amatop authored and nashif committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    2756c9b View commit details
    Browse the repository at this point in the history
  17. Shell: Add missing long long type in shell_strtoull

    shell_strtoull used a unsigned long instead of a unsigned
    long long to store the result in stroull, so the return
    value may have been truncated.
    
    Signed-off-by: Emil Gydesen <[email protected]>
    Thalley authored and nashif committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    7bce75b View commit details
    Browse the repository at this point in the history
  18. mgmt: mcumgr: fs_mgmt: Fix duplicate bool ok variables

    Fixes wrongly declaring duplicate local variables that already
    exist and hiding the previous variables definitions.
    
    Signed-off-by: Jamie McCrae <[email protected]>
    nordicjm authored and nashif committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    5f9737f View commit details
    Browse the repository at this point in the history
  19. doc: services: device_mgmt: mcumgr: Update callback documentation

    Updates and fixes callback documentation to show functionality and
    definitions that were recently updated.
    
    Signed-off-by: Jamie McCrae <[email protected]>
    nordicjm authored and nashif committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    6981e2e View commit details
    Browse the repository at this point in the history
  20. modules: lvgl: define the Kconfig types used in boards

    Some boards override default for few LVGL LV_Z_* symbols. This causes
    the build to fail if the module is not present in the system, and has
    been worked around on one board by repeating the types in the board
    Kconfig file.
    
    Fix this properly by defining the known type for all symbols used in
    boards in modules/Kconfig.lvgl.
    
    Signed-off-by: Fabio Baltieri <[email protected]>
    fabiobaltieri authored and nashif committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    9d7bd52 View commit details
    Browse the repository at this point in the history
  21. modules: lvgl: replace LV_Z_DPI with LV_DPI_DEF

    It looks like LV_Z_DPI is not used anywhere and only lived in the
    context of an incorrect board symbol definition so far (moved to
    Kconfig.lvgl in the previous patch).
    
    This was probably meant to be LV_DPI_DEF (which actually exists in the
    LVGL module) and was renamed incorrectly, fix it by renaming it
    everywhere.
    
    Signed-off-by: Fabio Baltieri <[email protected]>
    fabiobaltieri authored and nashif committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    b31215e View commit details
    Browse the repository at this point in the history
  22. net: wifi_mgmt: Pass address instead of value as pointer

    Fix for not getting expected event information at application.
    net_mgmt_event_notify_with_info() expects the address
    not the value as pointer.
    
    Signed-off-by: Ajay Parida <[email protected]>
    ajayparida authored and nashif committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    6002061 View commit details
    Browse the repository at this point in the history
  23. gcc/target.cmake: fix build with gcc-13

    Configuration error:
    | -- Configuring done (4.9s)
    | CMake Error in CMakeLists.txt:
    |   Target "zephyr_interface" contains relative path in its
    |   INTERFACE_INCLUDE_DIRECTORIES:
    |
    |     "include-fixed"
    
    With GCC-13, limits.h and syslimits.h header files
    are always being installed to include folder.
    https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=be9dd80f933480
    
    Signed-off-by: Naveen Saini <[email protected]>
    saininav authored and nashif committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    0b1dd29 View commit details
    Browse the repository at this point in the history
  24. release: relnotes: Add Bluetooth release notes for 3.4.0

    As usual, populate the Bluetooth release notes.
    
    Signed-off-by: Carles Cufi <[email protected]>
    carlescufi authored and nashif committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    e31cea0 View commit details
    Browse the repository at this point in the history
  25. release-notes: v3.4: Document STM32 changes

    Document STM32 related changes on V3.4 release.
    
    Signed-off-by: Erwan Gouriou <[email protected]>
    erwango authored and nashif committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    f6d7a6a View commit details
    Browse the repository at this point in the history
  26. release-notes: v3.4: Document shield additions

    Document shields added in V3.4 release
    
    Signed-off-by: Erwan Gouriou <[email protected]>
    erwango authored and nashif committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    523ba79 View commit details
    Browse the repository at this point in the history
  27. doc: release: 3.4: Bulk of updates

    Add release notes on:
     - change in west sign internal logic;
     - additional LittleFS sample configuration for nrf52840dk_nrf52840
       using SPI communication;
    
    Signed-off-by: Dominik Ermel <[email protected]>
    de-nordic authored and nashif committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    503b367 View commit details
    Browse the repository at this point in the history
  28. doc: Added RP2040 related changes to the v3.4.0 release notes

    Added RP2040 related changes to the v3.4.0 release notes,
    including new boards, new drivers and HAL changes.
    
    Signed-off-by: Yonatan Schachter <[email protected]>
    yonsch authored and nashif committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    cd3e143 View commit details
    Browse the repository at this point in the history
  29. samples: bluetooth: remove duplicate entry in test

    Also remove platforms where we overflow on RAM.
    
    Signed-off-by: Anas Nashif <[email protected]>
    nashif committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    c1bb577 View commit details
    Browse the repository at this point in the history
  30. tests: cleanup metadata and filtering

    - Add integration_platforms to avoid excessive filtering
    - Make sure integration platforms are actually part of the filter
    - Fix some tags and test meta data
    
    Signed-off-by: Anas Nashif <[email protected]>
    nashif committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    b835b02 View commit details
    Browse the repository at this point in the history
  31. tests: synchronization: do not build on all

    Do not build on platforms, we have other tests covering this already.
    
    Signed-off-by: Anas Nashif <[email protected]>
    nashif committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    5411e7d View commit details
    Browse the repository at this point in the history
  32. tests: net: sockets: remove scneario

    This scneario does not build and does not fit on hardware, remove.
    
    Signed-off-by: Anas Nashif <[email protected]>
    nashif committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    8ffb08b View commit details
    Browse the repository at this point in the history
  33. samples: watchdog: fix twister filter

    Fix devicetree filter. dt_has_compat is not a twister support filter.
    
    Signed-off-by: Anas Nashif <[email protected]>
    nashif committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    dd43a65 View commit details
    Browse the repository at this point in the history
  34. tests/samples: set ram/rom limits on some samples/tests

    Increase RAM requirements for some test, we have many exotic platforms
    failing to link due to the size of the test.
    
    Signed-off-by: Anas Nashif <[email protected]>
    nashif committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    9f37ae9 View commit details
    Browse the repository at this point in the history
  35. doc: 3.4 release notes: Fix doc build

    Fix doc build error due to a bad indent
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    aescolar authored and nashif committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    d5815d6 View commit details
    Browse the repository at this point in the history
  36. include: crypto: Remove duplicate assignment line

    The crypto hash context has a reference to the crypto device,
    but the assignment was duplicated.
    
    Signed-off-by: Pieter De Gendt <[email protected]>
    pdgendt authored and nashif committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    5cdbd59 View commit details
    Browse the repository at this point in the history
  37. Bluetooth: hci: Add 5.4 HCI error codes

    Add new bluetooth hci error codes from Bluetooth 5.4 specification
    
    Signed-off-by: Pierce Lowe <[email protected]>
    Pieloaf authored and nashif committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    2019c04 View commit details
    Browse the repository at this point in the history
  38. drivers: serial: uart_sam0: fix uart_sam0_irq_update TXC reset

    drivers: serial: uart_sam0: fix uart_sam0_irq_update TXC reset bug
    
    uart_sam0_irq_update function resets flags that will cause int. re-entry
    existing implementation also clears the TXC flag if it is set
    this breaks transmit complete detection
    
    Per the SAMD5x/E5x Datasheet Sect. 34.8.6, writing '1' to the TXC will
    clear the flag and disable TX complete interrupts, this should be
    preserved through the irq_update for use in the tx_complete check function
    
    The proper fix will cache the TXC value before conditionally clearing the
    flag based on that cached value. If you do not condition this on the
    cached value a race condition will periodically occur where
    the TXC is cleared but never cached.
    
    Fixes zephyrproject-rtos#55386
    
    Signed-off-by: Peter McGaughey <[email protected]>
    pmcgaugh authored and nashif committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    3104ad0 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2023

  1. doc: release-notes: Add 3.4.0 release notes for networking

    Add Zephyr 3.4.0 release notes for the networking area.
    
    Signed-off-by: Robert Lubos <[email protected]>
    rlubos authored and nashif committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    a44f6bb View commit details
    Browse the repository at this point in the history
  2. samples: net: mqtt_azure: hotfix stack overflow

    running samples/net/cloud/mqtt_azure in QEMU with default
    configuration crashes with exception. This PR change doubles
    the default workqueue stack size in a attempt to fix the issue
    reported in: GH#58930.
    
    Signed-off-by: Andrei Hutanu <[email protected]>
    Andrei Hutanu authored and nashif committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    be04e30 View commit details
    Browse the repository at this point in the history
  3. release: document major changes

    added highlights to the 3.4 release notes.
    
    Signed-off-by: Anas Nashif <[email protected]>
    nashif committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    0773cc8 View commit details
    Browse the repository at this point in the history
  4. mgmt: mcumgr: grp: img_mgmt: Fix using signed values

    Fixes wrongly using signed values for slot and image number when
    listing images.
    
    Signed-off-by: Jamie McCrae <[email protected]>
    nordicjm authored and nashif committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    1edc8cc View commit details
    Browse the repository at this point in the history
  5. doc: mgmt: smp: Fix slot and image to be unsigned

    Fixes the documentation to show image and slot number for get
    state of image response being unsigned, not signed.
    
    Signed-off-by: Jamie McCrae <[email protected]>
    nordicjm authored and nashif committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    3f8156d View commit details
    Browse the repository at this point in the history
  6. doc: release: 3.4: Add MCUmgr signed type change

    Adds a note that slot and image have changed from signed to
    unsigned integer types.
    
    Signed-off-by: Jamie McCrae <[email protected]>
    nordicjm authored and nashif committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    f651292 View commit details
    Browse the repository at this point in the history
  7. device: set number_of_dynamic_devices only if needed

    This variable is only needed when gen_handles.py is called, so define it
    under the if() above.
    
    Signed-off-by: Gerard Marull-Paretas <[email protected]>
    gmarull authored and nashif committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    9f25fa2 View commit details
    Browse the repository at this point in the history
  8. device: dynamic device handles were declared as const

    When CONFIG_HAS_DYNAMIC_DEVICE_HANDLES is selected, devices handles are
    placed in RAM region so that they can be modified at runtime. However,
    the gen_handles.py script added the `const` attribute to the device
    handle arrays regardless of this setting, leading to faults when running
    the application. This may be an indicator that this feature is not
    actively used.
    
    Signed-off-by: Gerard Marull-Paretas <[email protected]>
    gmarull authored and nashif committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    e5335f3 View commit details
    Browse the repository at this point in the history
  9. doc: nrf52_bsim: Update instructions on how to get BabbleSim

    As now we point to babblesim with the zephyr manifest,
    we can tell users to get it that way.
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    aescolar authored and nashif committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    3ebdc1e View commit details
    Browse the repository at this point in the history
  10. doc: release-notes: Fix typo in networking part

    Fix typo in networking part of the release notes.
    
    Signed-off-by: Robert Lubos <[email protected]>
    rlubos authored and nashif committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    4dd3d86 View commit details
    Browse the repository at this point in the history
  11. doc: releases: updates for SDHC and Disk driver release notes

    Add release notes for SDHC and Disk drivers, highlighting addition
    of NVME support in the disk driver layer as well as CPOL/CPHA clock
    modes within the SDHC SPI driver.
    
    Signed-off-by: Daniel DeGrasse <[email protected]>
    danieldegrasse authored and nashif committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    bc13ce1 View commit details
    Browse the repository at this point in the history
  12. release-notes: 3.4: Add Aarch32 and TF-M notes

    Adds release notes for Aarch32 and TF-M for Zephyr 3.4.0.
    
    Signed-off-by: Kevin Townsend <[email protected]>
    microbuilder authored and nashif committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    79433b0 View commit details
    Browse the repository at this point in the history
  13. ARC: don't align ROM region end if not required

    This extra MPU alignment of RAMABLE_REGION is only required
    if we put ROMABLE_REGION and RAMABLE_REGION into the same
    (continuous) memory (i.e. SRAM) - so we won't get beginning of the
    RAMABLE_REGION in the end of ROMABLE_REGION MPU aperture.
    
    If we use different regions (ICCM & DCCM, FLASH & SRAM, etc...)
    we don't need this extra MPU alignment.
    
    Let's drop it to decrease ROM memory usage.
    
    Signed-off-by: Eugeniy Paltsev <[email protected]>
    Signed-off-by: Evgeniy Paltsev <[email protected]>
    evgeniy-paltsev authored and nashif committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    e1efafa View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2023

  1. cmake: boards: Fix issue with relative paths

    Fixes an issue with relative paths both with and without using
    sysbuild where they would not be updated properly or a warning
    would previously be emitted.
    
    Signed-off-by: Torsten Rasmussen <[email protected]>
    Signed-off-by: Jamie McCrae <[email protected]>
    nordicjm authored and nashif committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    9642c48 View commit details
    Browse the repository at this point in the history
  2. doc: release: 3.4: Add build system relative path fixes

    Adds a note that some relative path issues in the build system
    have been fixed.
    
    Signed-off-by: Jamie McCrae <[email protected]>
    nordicjm authored and nashif committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    83b074c View commit details
    Browse the repository at this point in the history
  3. doc: release-notes: add missing boards

    Added a bunch of missing boards that were added since v3.3.0
    
    Signed-off-by: Benjamin Cabé <[email protected]>
    kartben authored and nashif committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    8963b50 View commit details
    Browse the repository at this point in the history
  4. doc: release-notes: sort ARM boards alphabetically

    Sort ARM boards alphabetically.
    
    Signed-off-by: Benjamin Cabé <[email protected]>
    kartben authored and nashif committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    4bc46e4 View commit details
    Browse the repository at this point in the history
  5. doc: release-notes: fix typo with i.MX93 board

    NXP i.MX93 is A55 not A53.
    
    Signed-off-by: Benjamin Cabé <[email protected]>
    kartben authored and nashif committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    09a9a7e View commit details
    Browse the repository at this point in the history
  6. doc: move USB documentation to connectivity

    Mostly moved and reorganised content to the Connectivity chapter,
    separated API references. Fill in some gaps in the USB device
    documentation.
    
    Signed-off-by: Johann Fischer <[email protected]>
    jfischer-no authored and nashif committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    b335c19 View commit details
    Browse the repository at this point in the history
  7. doc: connectivity: move USB-C device stack to USB chapter

    This looks a bit lost in its own USB-C chapter,
    move it to USB under the Power Delivery heading.
    
    Signed-off-by: Johann Fischer <[email protected]>
    jfischer-no authored and nashif committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    fbb6cd1 View commit details
    Browse the repository at this point in the history
  8. kernel shell, stacks shell commands: iterate unlocked on SMP

    call k_thread_foreach_unlocked to avoid assertions caused
    by calling shell_print while holding a global lock
    
    Signed-off-by: Maxim Adelman <[email protected]>
    Maxim Adelman authored and nashif committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    ecf2cb5 View commit details
    Browse the repository at this point in the history
  9. drivers: sensor: shtcx: fix val2 calculation

    The calculation of the sensor val2 did not correctly take the sign into
    account.
    
    Signed-off-by: Thomas Stranger <[email protected]>
    str4t0m authored and nashif committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    c9f8b8b View commit details
    Browse the repository at this point in the history
  10. doc: release-notes-3.4: add release notes for USB and display

    Add release notes for USB support and display controller drivers.
    
    Signed-off-by: Johann Fischer <[email protected]>
    jfischer-no authored and nashif committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    644d024 View commit details
    Browse the repository at this point in the history
  11. release: fix layout/typos in release notes

    Fixed layout and a few typos.
    
    Signed-off-by: Anas Nashif <[email protected]>
    nashif committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    721e4aa View commit details
    Browse the repository at this point in the history
  12. soc: esp32*: do not enable HAS_DYNAMIC_DEVICE_HANDLES

    It doesn't make sense to select this option at SoC level. This feature
    is meant for subsystems/modules that need device handles to be
    modifiable at runtime.
    
    Signed-off-by: Gerard Marull-Paretas <[email protected]>
    gmarull authored and nashif committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    c59b57c View commit details
    Browse the repository at this point in the history
  13. drivers: display: fix zero-buffers-in-SRAM case in DCNANO LCDIF

    If CONFIG_MCUX_DCNANO_LCDIF_EXTERNAL_FB_MEM is not set and
    CONFIG_MCUX_DCNANO_LCDIF_FB_NUM is zero, a division by zero occurs.
    Use the same framebuffer size definition as in the external-framebuffer
    case to resolve this.
    
    Fixes zephyrproject-rtos#58908.
    
    Signed-off-by: Aedan Cullen <[email protected]>
    aedancullen authored and nashif committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    785d9bd View commit details
    Browse the repository at this point in the history
  14. doc: release-notes: Security related release-notes-3

    Added information about CVEs fixed during 3.4 release.
    
    Signed-off-by: Flavio Ceolin <[email protected]>
    Flavio Ceolin authored and nashif committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    f683b0f View commit details
    Browse the repository at this point in the history
  15. doc: vulnerabilities: Add information about new vulnerabilities

    Add a placeholder for CVE-2023-1901 and CVE-2023-1902.
    
    Signed-off-by: Flavio Ceolin <[email protected]>
    Flavio Ceolin authored and nashif committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    b7f35a8 View commit details
    Browse the repository at this point in the history
  16. doc: release-notes: PM related release notes

    Add PM release notes.
    
    Signed-off-by: Flavio Ceolin <[email protected]>
    Flavio Ceolin authored and nashif committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    68dc53b View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2023

  1. drivers: mdio: adin2111: correct prompt

    The prompt is referring to another existing driver(NXP S32),
    now the correct name is displayed.
    
    Signed-off-by: Thomas Stranger <[email protected]>
    str4t0m authored and nashif committed Jun 16, 2023
    Configuration menu
    Copy the full SHA
    3822870 View commit details
    Browse the repository at this point in the history
  2. drivers: ethernet: Fix typo in comment

    Update typo in the code comments.
    
    Signed-off-by: Divin Raj <[email protected]>
    divin-raj authored and nashif committed Jun 16, 2023
    Configuration menu
    Copy the full SHA
    733a358 View commit details
    Browse the repository at this point in the history
  3. net: utils: fix offset used before range check

    This use of offset 'i' should follow the range check.
    
    Signed-off-by: Mingjie Shen <[email protected]>
    szsam authored and nashif committed Jun 16, 2023
    Configuration menu
    Copy the full SHA
    b2c00ec View commit details
    Browse the repository at this point in the history
  4. dts: xtensa: intel: update cavs25 sram size

    Cavs25 sram size should be 3MB instead of 2MB, thus update the correct
    value.
    
    Signed-off-by: Jaska Uimonen <[email protected]>
    Jaska Uimonen authored and nashif committed Jun 16, 2023
    Configuration menu
    Copy the full SHA
    09085ef View commit details
    Browse the repository at this point in the history
  5. Bluetooth: Host: Fix wrong ID being stored

    Fix an issue causing a wrong Bluetooth identity value to be stored. It
    was happening because the `bt_dev.id_count` was incremented after the
    settings being stored.
    
    To fix this, `bt_dev.id_count` is now incremented right before the ID
    creation and is decremented if the ID creation failed.
    
    Signed-off-by: Théo Battrel <[email protected]>
    theob-pro authored and nashif committed Jun 16, 2023
    Configuration menu
    Copy the full SHA
    3636767 View commit details
    Browse the repository at this point in the history
  6. Bluetooth: Tests: New bsim test for ID

    Add a new BabbleSim test checking that the value of the Bluetooth
    identity stored in the settings is correct.
    
    Signed-off-by: Théo Battrel <[email protected]>
    theob-pro authored and nashif committed Jun 16, 2023
    Configuration menu
    Copy the full SHA
    14200f8 View commit details
    Browse the repository at this point in the history
  7. doc: release: Add v3.4 notes for ADC and PWM and Nordic related stuff

    Add release notes for ADC and PWM drivers, Nordic HAL and other things
    related to Nordic.
    
    Signed-off-by: Andrzej Głąbek <[email protected]>
    anangl authored and nashif committed Jun 16, 2023
    Configuration menu
    Copy the full SHA
    7d89f78 View commit details
    Browse the repository at this point in the history
  8. doc: ARC: add release notes for ARC

    Add release notes for ARC for 3.4 release
    
    Signed-off-by: Eugeniy Paltsev <[email protected]>
    Signed-off-by: Evgeniy Paltsev <[email protected]>
    evgeniy-paltsev authored and nashif committed Jun 16, 2023
    Configuration menu
    Copy the full SHA
    052c23b View commit details
    Browse the repository at this point in the history
  9. Bluetooth: release notes: Fix formatting of indented bullet points

    Without the extra spaces Sphinx does not render this correctly.
    
    Signed-off-by: Carles Cufi <[email protected]>
    carlescufi authored and nashif committed Jun 16, 2023
    Configuration menu
    Copy the full SHA
    e861855 View commit details
    Browse the repository at this point in the history
  10. dos: ARC: mark DSP AGU/XY extensions as supported on ARC EM

    DSP AGU/XY extensions ARC EM processors are supported now in
    Zephyr.
    
    Signed-off-by: Eugeniy Paltsev <[email protected]>
    Signed-off-by: Evgeniy Paltsev <[email protected]>
    evgeniy-paltsev authored and nashif committed Jun 16, 2023
    Configuration menu
    Copy the full SHA
    f880309 View commit details
    Browse the repository at this point in the history
  11. doc: ARC: release notes: typo fix

    Typo fix.
    
    Signed-off-by: Eugeniy Paltsev <[email protected]>
    Signed-off-by: Evgeniy Paltsev <[email protected]>
    evgeniy-paltsev authored and nashif committed Jun 16, 2023
    Configuration menu
    Copy the full SHA
    beae299 View commit details
    Browse the repository at this point in the history
  12. doc: release: adapt title of 3.4 release notes

    Remove 'Working Draft' from title.
    
    Signed-off-by: Anas Nashif <[email protected]>
    nashif committed Jun 16, 2023
    Configuration menu
    Copy the full SHA
    288fd5d View commit details
    Browse the repository at this point in the history
  13. doc: release: Use past tense on some entries

    Use past tense in some of the release notes.
    
    Signed-off-by: Anas Nashif <[email protected]>
    nashif committed Jun 16, 2023
    Configuration menu
    Copy the full SHA
    6015293 View commit details
    Browse the repository at this point in the history
  14. doc: release: remove empty sections

    Remove all placeholders and empty sections.
    
    Signed-off-by: Anas Nashif <[email protected]>
    nashif committed Jun 16, 2023
    Configuration menu
    Copy the full SHA
    7749607 View commit details
    Browse the repository at this point in the history
  15. doc: release: add one entry re ztest new API

    One more entry about ztest API being deprecated.
    
    Signed-off-by: Anas Nashif <[email protected]>
    nashif committed Jun 16, 2023
    Configuration menu
    Copy the full SHA
    8db0349 View commit details
    Browse the repository at this point in the history
  16. doc: add 3.4.0 to the index of releases

    Add the new release to the doc index.
    
    Signed-off-by: Anas Nashif <[email protected]>
    nashif committed Jun 16, 2023
    Configuration menu
    Copy the full SHA
    ee72dfa View commit details
    Browse the repository at this point in the history
  17. doc: remove releases before 2.7 from index

    Remove all old releases from the index.
    
    Signed-off-by: Anas Nashif <[email protected]>
    nashif committed Jun 16, 2023
    Configuration menu
    Copy the full SHA
    aa8c6aa View commit details
    Browse the repository at this point in the history
  18. doc: update LTS2 version in docs

    LTS is now 2.7.5.
    
    Signed-off-by: Anas Nashif <[email protected]>
    nashif committed Jun 16, 2023
    Configuration menu
    Copy the full SHA
    7ce8b55 View commit details
    Browse the repository at this point in the history
  19. release: Zephyr 3.4.0 release

    Make this the final release.
    
    Signed-off-by: Anas Nashif <[email protected]>
    nashif committed Jun 16, 2023
    Configuration menu
    Copy the full SHA
    356c8cb View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2023

  1. Merge tag 'v3.4.0' into update_zephyr_3.4

    Zephyr v3.4.0
    matthew-morgan-molex committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    18ea0c8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b03ef0c View commit details
    Browse the repository at this point in the history
  3. Merge error

    matthew-morgan-molex committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    f8f70ab View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2023

  1. Configuration menu
    Copy the full SHA
    cd2ac75 View commit details
    Browse the repository at this point in the history