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

Synchronize upstream changes - May 2023 edition #160

Merged
merged 35 commits into from
May 17, 2023

Commits on May 17, 2023

  1. Configuration menu
    Copy the full SHA
    97e2e60 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e710a56 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6763253 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8ec1935 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    581b8c3 View commit details
    Browse the repository at this point in the history
  6. test: Disable failing tests due to echo server

    Some tests are failing as echo.mbedcloudtesting.com is not serving TLS
    requests anymore.
    
    Signed-off-by: Saheer Babu <saheer.babu@arm.com>
    saheerb authored and multiplemonomials committed May 17, 2023
    Configuration menu
    Copy the full SHA
    8ca354f View commit details
    Browse the repository at this point in the history
  7. Check CAN DLC length value

    Martyx00 authored and multiplemonomials committed May 17, 2023
    Configuration menu
    Copy the full SHA
    addab88 View commit details
    Browse the repository at this point in the history
  8. Fix default interface ID only being used partially

    If user sets the default interface ID for a socket (e.g. using setsockopt
    with SOCKET_INTERFACE_SELECT), the default interface should take over
    other interface selection mechanisms as a interface is bound to the socket.
    This applies for both IPv6 local and global scopes for unicast messages
    but not for multicast messages as these are bound to a multicast interface
    using SOCKET_IPV6_MULTICAST_IF socket option.
    YannCharbon authored and multiplemonomials committed May 17, 2023
    Configuration menu
    Copy the full SHA
    75d4f3b View commit details
    Browse the repository at this point in the history
  9. Targets: NXP: IMXRT: Fixed GCC_ARM lds syntax.

    Signed-off-by: Yilin Sun <imi415@imi.moe>
    imi415 authored and multiplemonomials committed May 17, 2023
    Configuration menu
    Copy the full SHA
    cae29bb View commit details
    Browse the repository at this point in the history
  10. CAN: read only up to 8 bytes

    If HAL implementation writes more than 8 bytes of data, error immediately.
    CANMessage defines only 8 bytes of data, lenght cannot be > 8.
    
    This fixes ARMmbed#15361
    
    Signed-off-by: Martin Kojtal <martin.kojtal@arm.com>
    0xc0170 authored and multiplemonomials committed May 17, 2023
    Configuration menu
    Copy the full SHA
    8203f58 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    8822dc3 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    501aac3 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    c7d1c3a View commit details
    Browse the repository at this point in the history
  14. fixed compiler inline issue

    hallard authored and multiplemonomials committed May 17, 2023
    Configuration menu
    Copy the full SHA
    5f5aa16 View commit details
    Browse the repository at this point in the history
  15. Update Mbed version block

    saheerb authored and multiplemonomials committed May 17, 2023
    Configuration menu
    Copy the full SHA
    268c239 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    6b84be0 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    1b34668 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    fa152ed View commit details
    Browse the repository at this point in the history
  19. M487: Remove unused variable 'u32EscapeFrame'

    Remove unused variable 'u32EscapeFrame' in BSP m480_ccap.h to avoid warnings
    ccli8 authored and multiplemonomials committed May 17, 2023
    Configuration menu
    Copy the full SHA
    4946e70 View commit details
    Browse the repository at this point in the history
  20. force FIFO IRQ for FDCan RX on H7

    jmcloud authored and multiplemonomials committed May 17, 2023
    Configuration menu
    Copy the full SHA
    2e07711 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    f57a772 View commit details
    Browse the repository at this point in the history
  22. add support for Nucleo-H745ZI

    jmcloud authored and multiplemonomials committed May 17, 2023
    Configuration menu
    Copy the full SHA
    e7faa11 View commit details
    Browse the repository at this point in the history
  23. Update MAX32670 peripheral drivers with final ones that use by SDK

    Signed-off-by: Sadik.Ozer <sadik.ozer@analog.com>
    ozersa authored and multiplemonomials committed May 17, 2023
    Configuration menu
    Copy the full SHA
    c6878fb View commit details
    Browse the repository at this point in the history
  24. MAX32670 apply mbed required changes on peripheral drivers

    Signed-off-by: Sadik.Ozer <sadik.ozer@analog.com>
    ozersa authored and multiplemonomials committed May 17, 2023
    Configuration menu
    Copy the full SHA
    cddc66e View commit details
    Browse the repository at this point in the history
  25. M467: Support CAN bus

    1.  Update BSP CANFD driver
    2.  Notes for implementation
        (1) Each CANFD instance supports two IRQ lines. Use only line 0. Line 1 is not used.
        (2) For Rx disabling multiple filter handles,
            1)  Map all filter handles to filter handle 0
            2)  Use Rx FIFO 0 for filter handle 0
        (3) For Rx enabling multiple filter handles,
            1)  Use Rx FIFO 0 for filter handle 0
            2)  Use Rx FIFO 1 for filter handle through first invoking can_filter()
            3)  Use dedicated Rx Buffer for other filter handles
            NOTE: H/W supports mask on Rx FIFO 0/1 but not on dedicated Rx Buffer.
        (4) For Tx, use only dedicated Tx Buffer. BSP CANFD driver doesn't support Tx FIFO/Queue.
        (5) Support no CAN FD.
    ccli8 authored and multiplemonomials committed May 17, 2023
    Configuration menu
    Copy the full SHA
    a48178c View commit details
    Browse the repository at this point in the history
  26. Fix 'new[]' array freed with 'delete'

    The array _scratch_buf is allocated using new[] in line 761 of
    mbed-os/storage/kvstore/securestore/source/SecureStore.cpp.
    But it was freed using delete.
    szsam authored and multiplemonomials committed May 17, 2023
    Configuration menu
    Copy the full SHA
    53d992c View commit details
    Browse the repository at this point in the history
  27. Define default parameters of functions of derived class the same as t…

    …he base class
    
    The member function bringup() of class ThreadInterface redefines
    parameter stack's default value to IPV6_STACK from the inherited default value
    DEFAULT_STACK (in Interface).
    The default value will be resolved statically, not by dispatch, so this
    can cause confusion.
    Similar arguments apply to LoWPANNDInterface and WisunInterface.
    szsam authored and multiplemonomials committed May 17, 2023
    Configuration menu
    Copy the full SHA
    f7c4616 View commit details
    Browse the repository at this point in the history
  28. Avoid calling virtual functions from constructors and destructors

    Virtual functions are resolved statically (not dynamically) in
    constructors and destructors for the same class. The call should be made
    explicitly static by qualifying it using the scope resolution operator.
    szsam authored and multiplemonomials committed May 17, 2023
    Configuration menu
    Copy the full SHA
    3254009 View commit details
    Browse the repository at this point in the history
  29. Fix potentially overrunning write of sprintf

    Format string "%d" requires 12 bytes (including the null terminator).
    Also, use snprintf instead of sprintf to prevent buffer overflow.
    szsam authored and multiplemonomials committed May 17, 2023
    Configuration menu
    Copy the full SHA
    ddd91dd View commit details
    Browse the repository at this point in the history
  30. Fix system_clock.c location

    Signed-off-by: Jasper Jonker <jasper.jonker@wingtra.com>
    jasperjonker authored and multiplemonomials committed May 17, 2023
    Configuration menu
    Copy the full SHA
    9423c40 View commit details
    Browse the repository at this point in the history
  31. Fix variable name

    Signed-off-by: Jasper <jasper.jonker@wingtra.com>
    jasperjonker authored and multiplemonomials committed May 17, 2023
    Configuration menu
    Copy the full SHA
    9d4afe0 View commit details
    Browse the repository at this point in the history
  32. Change storage-class of secret_buf to static

    Storing the address of a local variable (`secret_buf`)
    in non-local memory (`prf_ptr->secret`) can cause a
    dangling pointer bug if the address is used after the function returns.
    szsam authored and multiplemonomials committed May 17, 2023
    Configuration menu
    Copy the full SHA
    414bb4e View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    0de96dc View commit details
    Browse the repository at this point in the history
  34. Add OSPI support for STM32H7

    wdx04 authored and multiplemonomials committed May 17, 2023
    Configuration menu
    Copy the full SHA
    b23bd70 View commit details
    Browse the repository at this point in the history
  35. Nuvoton: Enable extending sampling time for ADC/EADC

    For all Nuvoton targets, enable extending sampling time in ADC/EADC clocks on per-pin basis.
    ccli8 authored and multiplemonomials committed May 17, 2023
    Configuration menu
    Copy the full SHA
    01a505b View commit details
    Browse the repository at this point in the history