Skip to content

Cellular: Disable AT traces when mbed-trace is disabled #12817

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

Merged
merged 1 commit into from
Apr 17, 2020
Merged

Cellular: Disable AT traces when mbed-trace is disabled #12817

merged 1 commit into from
Apr 17, 2020

Conversation

kivaisan
Copy link
Contributor

Summary of changes

Earlier if mbed-trace was disabled but cellular.debug-at enabled, some AT trace codes were still
enabled causing unnecessary code size increase.

This commit fixes the issue that AT debug trace code is enabled only when both
mbed-trace.enable and cellular.debug-at are enabled.

Reduces binary size by about ~340 bytes when mbed-trace is disabled but debug-at enabled.

Impact of changes

Migration actions required

Documentation


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

@ARMmbed/mbed-os-wan


Earlier if mbed-trace was disabled but debug-at enabled, some AT trace codes were still
enabled causing unnecessary code size increase.

This commit fixes the issue that AT debug trace code is enabled only when both
mbed-trace.enable and cellular.debug-at are enabled.

Reduces binary size by about ~340bytes when mbed-trace is disabled but debug-at enabled.
@mergify mergify bot added the needs: CI label Apr 16, 2020
@0xc0170
Copy link
Contributor

0xc0170 commented Apr 16, 2020

CI started

@mbed-ci
Copy link

mbed-ci commented Apr 16, 2020

Test run: SUCCESS

Summary: 6 of 6 test jobs passed
Build number : 1
Build artifacts

@0xc0170 0xc0170 merged commit b574ff5 into ARMmbed:master Apr 17, 2020
@mergify mergify bot removed the ready for merge label Apr 17, 2020
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.

4 participants