Flexible OSAL configuration #1268
TheLancashireman
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
you can use the existing #elif CFG_TUSB_OS == OPT_OS_CUSTOM
#include "tusb_os_custom.h" // implemented by application your suggestion is good, though, some of the code does check |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The OSAL selection could benefit from using a construct like:
#ifdef TUSB_OSAL_HEADER #include TUSB_OSAL_HEADER #else ... existing selection #endif
(except on separate lines, which github doesn't seem to understand)
Also: I've written an OSAL for OSEK that should work with any OSEK-compatible OS (including AUTOSAR). I'd like to submit it for inclusion.
Beta Was this translation helpful? Give feedback.
All reactions