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 changes with Mbed upstream: September 2023 edition #185

Merged
merged 16 commits into from
Sep 25, 2023

Conversation

multiplemonomials
Copy link
Collaborator

Summary of changes

This PR pulls in the last ~4 months of changes from Mbed upstream.

Impact of changes

(see PRs linked above)

Migration actions required

To my knowledge, none of the PRs introduce breaking changes

Documentation

(see PRs linked above)


Pull request type

[] Patch update (Bug fix / Target update / Docs update / Test update / Refactor)
[X] Feature update (New feature / Functionality change / New API)
[] Major update (Breaking change E.g. Return code change / API behaviour change)

Test results

[] No Tests required for this change (E.g docs only update)
[X] Covered by existing mbed-os tests (Greentea or Unittest)
[] Tests / results supplied as part of this PR

Reviewers


szsam and others added 16 commits September 24, 2023 14:57
Add null check for return values of functions that are mostly (but not
always) checked for null.
E.g., since 98% of calls to protocol_stack_interface_info_get_by_id
check for null, it is likely that the function can return null values in
some cases, and omitting the check could crash the program.
Update mbed hal function as per of SDK update

Signed-off-by: Sadik.Ozer <[email protected]>
In Mbed Studio, debugging, based on pyOCD, requires Mbed OS application code starting on the sector boundary.

Modification list:
1.  Update TF-M import assets with MCUboot header padding to sector aligned
2.  Following above, change header size argument (-H) in wrapper.py command line
3.  Following below, fix min-write-size (--align) to 4 (per flash_area_align()) in wrapper.py command line
    https://docs.mcuboot.com/design.html#image-trailer

Related issue:
ARMmbed#15417
This causes issue for repeaded initialization while using BufferedSerial mode

Signed-off-by: Sadik.Ozer <[email protected]>
Calling close() with negative numbers causes out-of-bounds indexing of the filehandles array. For example, this can happen if open() returns an error and the value is later passed to close().
Moved a { to the same line as if
In IRQ Handler, to disable some interrupt type of DMA error.
It could avoid unexpected repeated interrupt.The masked bit of
DMA_IE could be recovered in next EMAC IRQ event.

Signed-off-by: cyliang tw <[email protected]>
It has been reported that disabling SPI module causes glitch for manual SS drive mode

Signed-off-by: Sadik.Ozer <[email protected]>
@multiplemonomials multiplemonomials changed the title Dev/synchronize upstream sep2023 Synchronize changes with Mbed upstream: September 2023 edition Sep 25, 2023
@multiplemonomials multiplemonomials merged commit 86723f7 into master Sep 25, 2023
9 checks passed
@multiplemonomials multiplemonomials deleted the dev/synchronize-upstream-sep2023 branch September 25, 2023 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.