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

GCC plugin integration #1385

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from
Open

GCC plugin integration #1385

wants to merge 9 commits into from

Conversation

sergeuz
Copy link
Member

@sergeuz sergeuz commented Sep 8, 2017

Problem

  1. The GCC plugin needs to be integrated with our build system in order to update firmware message files during the build.

  2. The firmware should be able to expand its own logging based on message IDs.

Solution

  1. Update makefiles to invoke the plugin for every source file that is being compiled.

  2. Provide a tool to convert a message file to a source file containing log messages data. Update formatter classes to perform a lookup in the log messages data for every message based on its ID.

Steps to Test

  1. Build the system firmware.

  2. Invoke the update-msg tool to generate a source file with the log messages data in the application directory.

$ update-msg <source message file> <destination source file>
  1. Build the application.

Example App

N/A

References


Completeness

  • User is totes amazing for contributing!
  • Contributor has signed CLA (Info here)
  • Problem and Solution clearly stated
  • Run unit/integration/application tests on device
  • Added documentation
  • Added to CHANGELOG.md after merging (add links to docs and issues)

@sergeuz sergeuz added this to the 0.8.0 milestone Sep 8, 2017
@m-mcgowan m-mcgowan modified the milestones: 0.8.0, 0.8.0-rc.3 Jan 18, 2018
@sergeuz sergeuz modified the milestones: 0.8.0-rc.3, 0.8.0-rc.4 Mar 26, 2018
@technobly technobly modified the milestones: 0.8.0-rc.4, 0.8.0-rc.5 May 6, 2018
@technobly technobly removed this from the 0.8.0-rc.5 milestone May 31, 2019
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.

3 participants