Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • src-vorago-common src-vorago-common
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • source
  • src-vorago-commonsrc-vorago-common
  • Merge requests
  • !24

added weak attribute to all IRQ handlers

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Robin Mueller requested to merge mueller/reduced-code-size into develop Nov 28, 2021
  • Overview 0
  • Commits 1
  • Changes 4

I was investigating the bloated code size even when the main function was empty and found another way to reduce the code size

The Vorago IRQ handlers were not declared weak so they were always loaded even if they were not used with no way for the user to override these functions. I declared them weak now which allows users to override them with a custom function or make them empty to save code size. I was able to save around 5-6kB by doing this.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: mueller/reduced-code-size