-
-
Notifications
You must be signed in to change notification settings - Fork 101
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
Talkpod A36Plus - initial efforts #272
Closed
Closed
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
… CPS channel struct General code optimization allowing to reduce the overall binary size, especially for devices without hardware floating point support. On the MD-380 (which has the FPU) the .text size has been reduced of 4'928 bytes.
Removing 18pt and 24pt fonts from graphics layer since currently are unused and take up flash space. On MD-380, removal freed up 12'928 bytes in the .text section.
Modified type of drawSmeter() and drawSmeterLevel() input parameters from float to uint8_t.
Switched to int32_t for RSSI representation to allow running the code also on devices with limited resources. Defined a new ad-hoc type to still keep the possibility of using floating points on more capable devices.
Using the newlib's printing functions without floating point support in order to reduce the overall binary size. This allows to free up around 15kB of space in the .text section.
Dropped support for 20kHz bandwith in rtx code and radio drivers. This option is supported only by MDx radios and so far is not being used at all.
Small optimizations to layout management code, saved around 132 bytes of .text space.
Removed display_renderingInProgress() function from display interface as it has never been used so far.
Reorganized code for pixel framebuffer in order to have it instantiated once and for all the possible display drivers. Dropped the display_getFrameBuffer() function.
When compiling for ARM Cortex M4 without FPU, the input parameter of the intrinsic function __set_FPSCR generates an unused variable warning. To avoid this, the parameter is now casted to void when FPU is not present or not used.
…nteger multiple of 128 bytes
Added support for direct on-screen draw of graphic features. This feature is controlled by the macro CONFIG_GFX_NOFRAMEBUF. When defined, no framebuffer is instantiated and all the graphics functions draw directly on the screen.
GitHub messed with me and made this PR go to master. Disregard. |
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.
No description provided.