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

Talkpod A36Plus - initial efforts #272

Closed
wants to merge 44 commits into from
Closed

Conversation

Tunas1337
Copy link

No description provided.

… 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.
@Tunas1337
Copy link
Author

GitHub messed with me and made this PR go to master. Disregard.

@Tunas1337 Tunas1337 closed this Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants