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

Merge latest fixes in from upstream (Apr through June) #29

Merged
merged 29 commits into from
Jul 9, 2022

Commits on Jul 9, 2022

  1. add the possibility to customize the delimiter of the ATHandler in AT…

    …CellularDevice class
    merge authored and multiplemonomials committed Jul 9, 2022
    Configuration menu
    Copy the full SHA
    f9d4b70 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9810521 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7a15d0b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    698d215 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f78670a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    be045d9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4f55323 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7b92fba View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    2c4c04a View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    45271ab View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    3bdb515 View commit details
    Browse the repository at this point in the history
  12. Make STM32F412xE targets build

    Trying to inherit the STM32F412xE target makes the linker fail, since
    __CRASH_DATA_RAM_START__ is not present. Comparing LD scripts with the
    STM32F412xG (which has active targets) it seems that the xE variant has
    missed some updates somewhere. Since the LD scripts are otherwise
    identical, copying the (working) ones from STM32F412xG seems to do the
    trick.
    
    Also added flash_data.h which was missing and needed here and there
    (copied from xG and updated to fit the xE flash layout).
    mikrodust-henrikp authored and multiplemonomials committed Jul 9, 2022
    Configuration menu
    Copy the full SHA
    e7c7b9f View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    722c87b View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    4ed562b View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    bdc5b7f View commit details
    Browse the repository at this point in the history
  16. Bluetooth: Inform privacy risk of using signed writes.

    The Cordio stack uses a single CSRK. It can be used by a
    malicious device to track the Mbed OS application if signed
    writes are used.
    
    Signed-off-by: Vincent Coubard <[email protected]>
    pan- authored and multiplemonomials committed Jul 9, 2022
    Configuration menu
    Copy the full SHA
    e5dac0e View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    530f100 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    34c5222 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    82cff35 View commit details
    Browse the repository at this point in the history
  20. MPS2 CM3DS ethernet fix deprecation warnings

    The sleep_for function is updated to use the chrono time arguments since
    the regular ones are deprecated.
    Rami Elkhatib authored and multiplemonomials committed Jul 9, 2022
    Configuration menu
    Copy the full SHA
    7346a96 View commit details
    Browse the repository at this point in the history
  21. MPS2 CM3DS ethernet fix heap bug

    The function SMSC9220_EMAC::low_level_input should create a heap for the
    packet equal to the size of the message (most of which are couple hundred
    bytes). The current code uses maximum frame size (1522 bytes) for each
    packet. This will cause the heap to quickly fill up. In fact, the default
    memory size (lwip.mem-size) used for this heap is 1600 bytes. This means
    that once you have one other packet allocated (extremely common), the
    heap allocation will always fails.
    
    Also, it is recommend to increase the default lwip.mem-size because that
    amount is very small especially if you send or receive a few large packets
    in the network. This is NOT done in current commit.
    Rami Elkhatib authored and multiplemonomials committed Jul 9, 2022
    Configuration menu
    Copy the full SHA
    e48e3d7 View commit details
    Browse the repository at this point in the history
  22. MPS2 CM3DS ethernet fix packet bug

    The function smsc9220_receive_by_chunks loads data from the Ethernet port.
    It is expected to return the Ethernet frame without the 4 CRC bytes.
    However, it is required to call the Ethernet data port register (32-bit)
    an amount equal to the number of frame words (including the 4 CRC bytes)
    to pop all frame words. The current code doesn't call the register for the
    last word (which has CRC data). This causes subsequent calls to have this
    missed word at the beginning. The impact of this is huge as the high level
    API is getting fed wrong data. The fix adds one additional call to the data
    port register.
    Rami Elkhatib authored and multiplemonomials committed Jul 9, 2022
    Configuration menu
    Copy the full SHA
    2104284 View commit details
    Browse the repository at this point in the history
  23. MPS2 CM3DS ethernet words instead of bytes

    The functions smsc9220_receive_by_chunks and smsc9220_send_by_chunks are
    supposed to implement receiving and sending packets by chunks. However,
    the functions SMSC9220_EMAC::low_level_input and SMSC9220_EMAC::link_out,
    which call them respectively, already require or assemble the full packet.
    Also, smsc9220_receive_by_chunks doesn't implement the "chunks" part.
    
    This commit renames the functions to smsc9220_receive_packet and
    smsc9220_send_packet. The functions now do their operations by word
    instead of by bytes. The functions SMSC9220_EMAC::low_level_input and
    SMSC9220_EMAC::link_out already handle allocation, continuity and word
    alignment of the packet buffer.
    Rami Elkhatib authored and multiplemonomials committed Jul 9, 2022
    Configuration menu
    Copy the full SHA
    531257f View commit details
    Browse the repository at this point in the history
  24. Fix serial low speed baud

    pilotak authored and multiplemonomials committed Jul 9, 2022
    Configuration menu
    Copy the full SHA
    0dec47d View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    85e809b View commit details
    Browse the repository at this point in the history
  26. M487: Fix ECP P + P operation

    Engine doesn't support P + Q when P and Q are the same. Workaround by 2*P
    ccli8 authored and multiplemonomials committed Jul 9, 2022
    Configuration menu
    Copy the full SHA
    dd8d956 View commit details
    Browse the repository at this point in the history
  27. Mbed TLS: Fix wrong MPI N in ECP Curve448 curve

    In loading Curve448, MPI N is in uninitialized state and its sign flag N.s isn't initialized to 1.
    This is fixed by following:
    Mbed-TLS/mbedtls#5811
    ccli8 authored and multiplemonomials committed Jul 9, 2022
    Configuration menu
    Copy the full SHA
    3a8e474 View commit details
    Browse the repository at this point in the history
  28. Fix typo in yaml

    multiplemonomials committed Jul 9, 2022
    Configuration menu
    Copy the full SHA
    f9d6a0c View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    2a7efd8 View commit details
    Browse the repository at this point in the history