Backports from uphy development#30
Merged
hefloryd merged 5 commits intortlabs-com:masterfrom Apr 22, 2025
Merged
Conversation
Contributor
elupus
commented
Apr 22, 2025
- Support CCA_ALIGNED on freertos
- Use lean windows headers by default
- Avoid some warnings generated by windows compilers
- Allow changing log callbacks at run time to redirect logging to other systems
- Support log timers on linux
Change-Id: Idee151cba148e1e09bbac575df3440e8041cd44b
Windows applications using winsock2.h need to ensure that winsock.h is never included as well. One method of ensuring this is to always include winsock2.h before any windows.h includes. Another method that is perhaps more suitable for osal is to define WIN32_LEAN_AND_MEAN to reduce what windows.h includes. Change-Id: I50ee5e4394c28bae39d3fde5a478702d7dc5b36d
Change-Id: I28a3386907f05ac9a3336b41959aef0179e1cc85
Make the os_log a pointer to the log function with a default value that uses standard logging on os. This allow the user of osal to override logging output by assigning an alternate function. Change-Id: I67fec7e4430898ac48a87a3229879f4fa7b78fce
The linux timer did not work for timeouts >= 1 second. The tv_nsec timespec member must be in the range 0 - 999 999 999. Change-Id: I0dda046adb345efcca52250071e939ce82baf975
This file contains hidden or 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
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.