-
Notifications
You must be signed in to change notification settings - Fork 71
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
decoder: GCC warning fixes #30
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thanks! |
bors bot
added a commit
to RIOT-OS/RIOT
that referenced
this pull request
Aug 11, 2023
19726: mcufont: Initial addition of MCUFont package r=aabadie a=bergzand ### Contribution description This adds the MCUFont library as a package to RIOT. Only the decoder part has been packaged. I did not touch the font generation, so the test includes a manually compressed font created via the tooling included in the package. The included patch files have been submitted as PR upstream in mcufont/mcufont#30 ### Testing procedure Run the test on Native or on any board, The output should be along the lines of: ``` 2023-06-11 21:56:40,685 # Help: Press s to start test, r to print it is ready s 2023-06-11 21:56:42,651 # START 2023-06-11 21:56:42,652 # main(): This is RIOT! (Version: 2023.07-devel-512-g49ee9-pr/mcufont) 2023-06-11 21:56:42,652 # Generated RIOT application: 'mcufont' 2023-06-11 21:56:42,653 # | 2023-06-11 21:56:42,654 # | 2023-06-11 21:56:42,694 # █ █ | 2023-06-11 21:56:42,695 # █ █ █ █ █████ █ ███ ███████ █ | 2023-06-11 21:56:42,697 # █ █ █ █ █ █ █ █ █ █ █ | 2023-06-11 21:56:42,737 # █ █ ████ █ █ ████ █ █ █ █ █ █ █ | 2023-06-11 21:56:42,739 # █ █ ██ ██ █ █ ██ ██ █ █ █ █ █ █ █ | 2023-06-11 21:56:42,740 # ███████ █ █ █ █ █ █ █████ █ █ █ █ █ | 2023-06-11 21:56:42,781 # █ █ ██████ █ █ █ █ █ █ █ █ █ █ █ | 2023-06-11 21:56:42,782 # █ █ █ █ █ █ █ █ █ █ █ █ █ | 2023-06-11 21:56:42,783 # █ █ ██ █ █ █ ██ ██ █ █ █ █ █ █ █ █ | 2023-06-11 21:56:42,807 # █ █ ████ █ █ ████ █ █ █ █ ███ █ █ | 2023-06-11 21:56:42,807 # { "threads": [{ "name": "idle", "stack_size": 256, "stack_used": 220 }]} 2023-06-11 21:56:42,808 # { "threads": [{ "name": "main", "stack_size": 1280, "stack_used": 436 }]} ``` ### Issues/PRs references None Co-authored-by: Koen Zandberg <koen@bergzand.net>
bors bot
added a commit
to RIOT-OS/RIOT
that referenced
this pull request
Aug 15, 2023
19726: mcufont: Initial addition of MCUFont package r=aabadie a=bergzand ### Contribution description This adds the MCUFont library as a package to RIOT. Only the decoder part has been packaged. I did not touch the font generation, so the test includes a manually compressed font created via the tooling included in the package. The included patch files have been submitted as PR upstream in mcufont/mcufont#30 ### Testing procedure Run the test on Native or on any board, The output should be along the lines of: ``` 2023-06-11 21:56:40,685 # Help: Press s to start test, r to print it is ready s 2023-06-11 21:56:42,651 # START 2023-06-11 21:56:42,652 # main(): This is RIOT! (Version: 2023.07-devel-512-g49ee9-pr/mcufont) 2023-06-11 21:56:42,652 # Generated RIOT application: 'mcufont' 2023-06-11 21:56:42,653 # | 2023-06-11 21:56:42,654 # | 2023-06-11 21:56:42,694 # █ █ | 2023-06-11 21:56:42,695 # █ █ █ █ █████ █ ███ ███████ █ | 2023-06-11 21:56:42,697 # █ █ █ █ █ █ █ █ █ █ █ | 2023-06-11 21:56:42,737 # █ █ ████ █ █ ████ █ █ █ █ █ █ █ | 2023-06-11 21:56:42,739 # █ █ ██ ██ █ █ ██ ██ █ █ █ █ █ █ █ | 2023-06-11 21:56:42,740 # ███████ █ █ █ █ █ █ █████ █ █ █ █ █ | 2023-06-11 21:56:42,781 # █ █ ██████ █ █ █ █ █ █ █ █ █ █ █ | 2023-06-11 21:56:42,782 # █ █ █ █ █ █ █ █ █ █ █ █ █ | 2023-06-11 21:56:42,783 # █ █ ██ █ █ █ ██ ██ █ █ █ █ █ █ █ █ | 2023-06-11 21:56:42,807 # █ █ ████ █ █ ████ █ █ █ █ ███ █ █ | 2023-06-11 21:56:42,807 # { "threads": [{ "name": "idle", "stack_size": 256, "stack_used": 220 }]} 2023-06-11 21:56:42,808 # { "threads": [{ "name": "main", "stack_size": 1280, "stack_used": 436 }]} ``` ### Issues/PRs references None Co-authored-by: Koen Zandberg <koen@bergzand.net>
bors bot
added a commit
to RIOT-OS/RIOT
that referenced
this pull request
Aug 15, 2023
19726: mcufont: Initial addition of MCUFont package r=aabadie a=bergzand ### Contribution description This adds the MCUFont library as a package to RIOT. Only the decoder part has been packaged. I did not touch the font generation, so the test includes a manually compressed font created via the tooling included in the package. The included patch files have been submitted as PR upstream in mcufont/mcufont#30 ### Testing procedure Run the test on Native or on any board, The output should be along the lines of: ``` 2023-06-11 21:56:40,685 # Help: Press s to start test, r to print it is ready s 2023-06-11 21:56:42,651 # START 2023-06-11 21:56:42,652 # main(): This is RIOT! (Version: 2023.07-devel-512-g49ee9-pr/mcufont) 2023-06-11 21:56:42,652 # Generated RIOT application: 'mcufont' 2023-06-11 21:56:42,653 # | 2023-06-11 21:56:42,654 # | 2023-06-11 21:56:42,694 # █ █ | 2023-06-11 21:56:42,695 # █ █ █ █ █████ █ ███ ███████ █ | 2023-06-11 21:56:42,697 # █ █ █ █ █ █ █ █ █ █ █ | 2023-06-11 21:56:42,737 # █ █ ████ █ █ ████ █ █ █ █ █ █ █ | 2023-06-11 21:56:42,739 # █ █ ██ ██ █ █ ██ ██ █ █ █ █ █ █ █ | 2023-06-11 21:56:42,740 # ███████ █ █ █ █ █ █ █████ █ █ █ █ █ | 2023-06-11 21:56:42,781 # █ █ ██████ █ █ █ █ █ █ █ █ █ █ █ | 2023-06-11 21:56:42,782 # █ █ █ █ █ █ █ █ █ █ █ █ █ | 2023-06-11 21:56:42,783 # █ █ ██ █ █ █ ██ ██ █ █ █ █ █ █ █ █ | 2023-06-11 21:56:42,807 # █ █ ████ █ █ ████ █ █ █ █ ███ █ █ | 2023-06-11 21:56:42,807 # { "threads": [{ "name": "idle", "stack_size": 256, "stack_used": 220 }]} 2023-06-11 21:56:42,808 # { "threads": [{ "name": "main", "stack_size": 1280, "stack_used": 436 }]} ``` ### Issues/PRs references None Co-authored-by: Koen Zandberg <koen@bergzand.net>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR fixes two types warnings when compiling with GCC:
mf_get_font_list()
This is purely cosmetic and should not change any behaviour of the code.