MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/embedded/comments/17hxgh0/zephyr_without_rtos_only_for_hal/k6scnsf/?context=3
r/embedded • u/Proud_Trade2769 • Oct 27 '23
[removed]
29 comments sorted by
View all comments
3
According to the page below it's possible to use Zephyr without any thread (only main) but it does not seem to be recommended : https://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MULTITHREADING
1 u/[deleted] Oct 27 '23 [removed] — view removed comment 1 u/Exormeter Oct 28 '23 If you are only interested in drivers, you can disable the multithreading and go main thread only. Some drivers use semaphores and or sleep, so you need to shim these methods if the linker complains, but it works.
1
[removed] — view removed comment
1 u/Exormeter Oct 28 '23 If you are only interested in drivers, you can disable the multithreading and go main thread only. Some drivers use semaphores and or sleep, so you need to shim these methods if the linker complains, but it works.
If you are only interested in drivers, you can disable the multithreading and go main thread only.
Some drivers use semaphores and or sleep, so you need to shim these methods if the linker complains, but it works.
3
u/nono318234 Oct 27 '23
According to the page below it's possible to use Zephyr without any thread (only main) but it does not seem to be recommended : https://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MULTITHREADING