summaryrefslogtreecommitdiff
path: root/docs/esp32/tutorial
diff options
context:
space:
mode:
authordanicampora <danicampora@gmail.com>2024-06-28 09:34:59 +0200
committerDamien George <damien@micropython.org>2024-09-06 20:42:56 +1000
commit6833f3dda9a1557789d4675a05811cc9a1d2c1a6 (patch)
tree604fb374dfa8719399eac3b1b14899c9019ce06e /docs/esp32/tutorial
parentaefd48b80118c45e43e591e73aea1cda778e3676 (diff)
zephyr: Add threading support.
This commit implements the `_thread` module on the zephyr port. Due to the fact that we are still using a rather old version of Zephyr, `CONFIG_DYNAMIC_THREAD` is not available and therefore the stack for threads cannot be allocated dynamically, only at compile time. So for the time being and for the purpose of this commit, a maximum of 4 Zephyr threads (besides the main thread) can be created. Once we manage to update to the latest version of Zephyr this won't be a problem anymore. Configuration for the nrf52840dk is added as part of this change, because this board was used to test the threading support. The Zephyr option `CONFIG_THREAD_CUSTOM_DATA` is used to enable threading on a per board basis. The `thread.conf` file is added as a convenient way to enable threading. Signed-off-by: danicampora <danicampora@gmail.com>
Diffstat (limited to 'docs/esp32/tutorial')
0 files changed, 0 insertions, 0 deletions