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

Mbed CE Build System Refactor #1

Merged
merged 44 commits into from
May 8, 2022

Conversation

multiplemonomials
Copy link
Collaborator

@multiplemonomials multiplemonomials commented Apr 9, 2022

Summary of changes

  • Make Mbed OS an OBJECT library instead of an INTERFACE library. This removes the problem of Mbed getting built multiple times when there are multiple executables in a project.
  • Clean up and refactor logic in top-level build scripts

Impact of changes

  • It now works properly to link mbed-os to multiple different exectuables in a project, as well as to STATIC library targets

Migration actions required

Documentation

None


Pull request type

[] Patch update (Bug fix / Target update / Docs update / Test update / Refactor)
[] Feature update (New feature / Functionality change / New API)
[X] 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


Sadik.Ozer and others added 30 commits April 8, 2022 10:40
Signed-off-by: Sadik.Ozer <[email protected]>
Signed-off-by: Sadik.Ozer <[email protected]>
Signed-off-by: Sadik.Ozer <[email protected]>
Signed-off-by: Sadik.Ozer <[email protected]>
Signed-off-by: Sadik.Ozer <[email protected]>
It is used by rom bootloader

Signed-off-by: Sadik.Ozer <[email protected]>
Signed-off-by: Sadik.Ozer <[email protected]>
Signed-off-by: Sadik.Ozer <[email protected]>
Signed-off-by: Sadik.Ozer <[email protected]>
See actions/checkout#762
Our tests are failing as checkout is not working (no git repository found)
Where we use git commands directly, we need to add safe directory. This is because
the recent git changes introduced, for details visit:
actions/checkout#766
…git-failure

Github actions: use safe.directory for actions invoking git
Fix typo in semihost_rename. Now it actually sends the `new_name` as well as the `old_name`.
tcp_out: fix tcp_output_fill_options() arguments
semihosting: Fix typo in semihost_rename
STM32L0: add MCU_STM32L071xB support
@multiplemonomials multiplemonomials force-pushed the mbed-ce-build-system-refactor branch from b39684a to c43d248 Compare May 8, 2022 00:52
@multiplemonomials multiplemonomials merged commit b3597c7 into master May 8, 2022
@multiplemonomials multiplemonomials deleted the mbed-ce-build-system-refactor branch May 8, 2022 18:25
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.

5 participants