Replies: 3 comments 1 reply
-
|
This is rather tricky, because it is not only about the interface - floating points are also used internally. So we would have to rewrite the entire library to use only integer arithmetic. Additionally, it is hard to estimate whether this would be worth it, because a couple floating point operations in the user code could easily undo it. It would be good to have an idea what would be the performance gain if we were to go ahead with this. I will transfer this to a discussion for the time being. |
Beta Was this translation helpful? Give feedback.
-
|
FYI, depended projects store parameters same way as it is defined in library, so it is starts from Radiolib that uses float as input. |
Beta Was this translation helpful? Give feedback.
-
|
I use the ESP32 MCU and it has some FP hardware but:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Problem is that small MCU dont have FPU module, like STM32WLExxxx. With few floating point operations and string converstions it adds more than 15kB of floating point arithmetic. CPU is already small flash area and now it have more overhead to handle FPU in integer way.
Describe the solution you'd like
Add begin() overload with integer bandwith and other parameters of uint32_t where float used.
Measure volts as mV uint32_t.
Describe alternatives you've considered
Please propose if you have any.
Additional context

Beta Was this translation helpful? Give feedback.
All reactions