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

STM32 - Add if !defined check for USE_HAL_XXX_REGISTER_CALLBACKS #14351

Merged
merged 13 commits into from
Mar 8, 2021

Conversation

ladislas
Copy link
Contributor

Summary of changes

The following PR adds #if !defined checks for USE_HAL_XXX_REGISTER_CALLBACKS on STM32F7.

Impact of changes

Allows users to register HAL callbacks.

Migration actions required

None

Documentation

None, this is very advanced use case.


Pull request type

[x] Patch update (Bug fix / Target update / Docs update / Test update / Refactor)
[] 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

@jeromecoutant


@ciarmcom ciarmcom added the release-type: patch Indentifies a PR as containing just a patch label Feb 25, 2021
@ciarmcom
Copy link
Member

@ladislas, thank you for your changes.
@jeromecoutant @ARMmbed/mbed-os-maintainers please review.

Copy link
Collaborator

@jeromecoutant jeromecoutant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you have a script in order to apply the same patch for other families,
you can send it by mail :-)

0xc0170
0xc0170 previously approved these changes Feb 25, 2021
@ladislas ladislas force-pushed the ladislas/stm32f7/use_callbacks branch from 23fd3a5 to 143176b Compare February 25, 2021 15:06
@mergify mergify bot dismissed 0xc0170’s stale review February 25, 2021 15:07

Pull request has been modified.

@ladislas
Copy link
Contributor Author

If you have a script in order to apply the same patch for other families,
you can send it by mail :-)

@jeromcoutant -- no patch, just Ctrl/Cmd + D, Ctrl/Cmd + C/V and a few keystrokes.

I'll do them all and push there

@ladislas
Copy link
Contributor Author

@jeromecoutant and voila!

Copy link
Collaborator

@jeromecoutant jeromecoutant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merci

@ladislas ladislas changed the title STM32F7 - Add if defined check for USE_HAL_XXX_REGISTER_CALLBACKS STM32 - Add if !defined check for USE_HAL_XXX_REGISTER_CALLBACKS Feb 25, 2021
@ciarmcom
Copy link
Member

@ladislas, thank you for your changes.
@jeromecoutant @ARMmbed/mbed-os-maintainers please review.

@ciarmcom ciarmcom requested a review from a team February 25, 2021 15:30
@ladislas ladislas requested review from 0xc0170 and removed request for a team February 26, 2021 08:24
@ciarmcom ciarmcom added the stale Stale Pull Request label Mar 1, 2021
@ciarmcom
Copy link
Member

ciarmcom commented Mar 1, 2021

This pull request has automatically been marked as stale because it has had no recent activity. @0xc0170, please complete review of the changes to move the PR forward. Thank you for your contributions.

@ladislas
Copy link
Contributor Author

ladislas commented Mar 3, 2021

@0xc0170 Could we start CI? :)

ladislas added a commit to leka/LekaOS that referenced this pull request Mar 6, 2021
This commit is a workaround to correctly defined
USE_HAL_JPEG_REGISTER_CALLBACKS while we wait for

> ARMmbed/mbed-os#14351

to be merge into master.

The commit can be dropped if 14351 is merged before
feature/images_and_animations
@0xc0170
Copy link
Contributor

0xc0170 commented Mar 8, 2021

CI started

@mergify mergify bot added needs: CI and removed needs: review labels Mar 8, 2021
@mbed-ci
Copy link

mbed-ci commented Mar 8, 2021

Jenkins CI Test : ✔️ SUCCESS

Build Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & Artifacts

CLICK for Detailed Summary

jobs Status
jenkins-ci/mbed-os-ci_unittests ✔️
jenkins-ci/mbed-os-ci_cmake-example-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_cmake-example-ARM ✔️
jenkins-ci/mbed-os-ci_build-greentea-ARM ✔️
jenkins-ci/mbed-os-ci_build-greentea-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_build-cloud-example-ARM ✔️
jenkins-ci/mbed-os-ci_build-cloud-example-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_build-example-ARM ✔️
jenkins-ci/mbed-os-ci_build-example-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_greentea-test ✔️
jenkins-ci/mbed-os-ci_cmake-example-test ✔️

@0xc0170 0xc0170 merged commit e37f7a6 into ARMmbed:master Mar 8, 2021
@mergify mergify bot removed ready for merge stale Stale Pull Request labels Mar 8, 2021
ladislas added a commit to leka/LekaOS that referenced this pull request Mar 9, 2021
This commit is a workaround to correctly defined
USE_HAL_JPEG_REGISTER_CALLBACKS while we wait for

> ARMmbed/mbed-os#14351

to be merge into master.

The commit can be dropped if 14351 is merged before
feature/images_and_animations
ladislas added a commit to leka/LekaOS that referenced this pull request Mar 9, 2021
This commit is a workaround to correctly defined
USE_HAL_JPEG_REGISTER_CALLBACKS while we wait for

> ARMmbed/mbed-os#14351

to be merge into master.

The commit can be dropped if 14351 is merged before
feature/images_and_animations
ladislas added a commit to leka/LekaOS that referenced this pull request Mar 15, 2021
This commit is a workaround to correctly defined
USE_HAL_JPEG_REGISTER_CALLBACKS while we wait for

> ARMmbed/mbed-os#14351

to be merge into master.

The commit can be dropped if 14351 is merged before
feature/images_and_animations
ladislas added a commit to leka/LekaOS that referenced this pull request Mar 16, 2021
This commit is a workaround to correctly defined
USE_HAL_JPEG_REGISTER_CALLBACKS while we wait for

> ARMmbed/mbed-os#14351

to be merge into master.

The commit can be dropped if 14351 is merged before
feature/images_and_animations
@mbedmain mbedmain removed release-type: patch Indentifies a PR as containing just a patch Release-pending labels Mar 18, 2021
ladislas added a commit to leka/LekaOS that referenced this pull request Mar 30, 2021
This commit is a workaround to correctly defined
USE_HAL_JPEG_REGISTER_CALLBACKS while we wait for

> ARMmbed/mbed-os#14351

to be merge into master.

The commit can be dropped if 14351 is merged before
feature/images_and_animations
ladislas added a commit to leka/LekaOS that referenced this pull request Mar 30, 2021
This commit is a workaround to correctly defined
USE_HAL_JPEG_REGISTER_CALLBACKS while we wait for

> ARMmbed/mbed-os#14351

to be merge into master.

The commit can be dropped if 14351 is merged before
feature/images_and_animations
ladislas added a commit to leka/LekaOS that referenced this pull request Mar 30, 2021
This commit is a workaround to correctly defined
USE_HAL_JPEG_REGISTER_CALLBACKS while we wait for

> ARMmbed/mbed-os#14351

to be merge into master.

The commit can be dropped if 14351 is merged before
feature/images_and_animations
ladislas added a commit to leka/LekaOS that referenced this pull request Apr 1, 2021
This commit is a workaround to correctly defined
USE_HAL_JPEG_REGISTER_CALLBACKS while we wait for

> ARMmbed/mbed-os#14351

to be merge into master.

The commit can be dropped if 14351 is merged before
feature/images_and_animations
ladislas added a commit to leka/LekaOS that referenced this pull request Apr 2, 2021
This commit is a workaround to correctly defined
USE_HAL_JPEG_REGISTER_CALLBACKS while we wait for

> ARMmbed/mbed-os#14351

to be merge into master.

The commit can be dropped if 14351 is merged before
feature/images_and_animations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants