-
-
Notifications
You must be signed in to change notification settings - Fork 398
feat(radio): OS compatibility layer #5840
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
Conversation
a4dd3c2
to
9a31c80
Compare
d94a177
to
dd2757a
Compare
dd2757a
to
7e79e16
Compare
This helps reducing the pressure on the timer queue.
Supports: - time - timers - asynchronous calls - tasks and mutexes
7e79e16
to
e9ea303
Compare
Tried this on T15, GX12, TX16S, everything seems ok ... except... wait for it! Display brightness in the bootloader is dim in this PR vs main/nightly (on T15 and TX16S)... 🤪 |
Apparently the bootloader was still relying on I added basic "nortos" support to fix this. |
Stop relying on `per10ms()` or `per5ms()` being called.
2b59e27
to
7dae5ba
Compare
TX16S: Bootloader backlight is good again. Is there anything you can do about the responsiveness of the hard keys? As RTN / ENT seem to take abnormally long to respond now, but rotary encoder seems fine. |
|
This should avoid the lag created by screen / storage processing.
Sorry, I should have been clearer - yes, bootloader. I hadn't noticed any behaviour changes in main UI. And thanks bootloader hard keys are nice and responsive again on TX16S. :) |
This PR crashes Companion when simulator window is closed. |
This PR is aimed at providing a cleaner way to deal with differences btw. simulator and firmware.
Tasks and mutex were already kind of provided by
rtos.h
, but we lacked support for timers and async calls, which were provided exclusively by FreeRTOS timers. Now there is an implementation of timers for native platform, which is used as well for async calls, the same way it is done with FreeRTOS.Supported features: