-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
ports/mimxrt:Add thread support. #13755
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
base: master
Are you sure you want to change the base?
Conversation
4dcfce7
to
ba00e6a
Compare
A while ago I implemented threading for the MIMXRT port because someone had asked for it. But I did not make a PR. There were too many PR open already, and threading is a rarely asked feature compared to asyncio. Some comment about this PR:
|
Hello Robert Thanks for your time. Some customers requested the threading feature in micropython on MIMXRT platform.
|
Of the 128k only 64 k are available for the OCRM section, which holds the MicroPython heap. The stack of threads is taken from the heap, like all other dynamic data for Python scripts.
You can enable it if not already defines otherwise in the board's .mk file. May be fewer files changed. |
ba00e6a
to
fb55686
Compare
hello |
Thanks, well noticed. The interesting information is, that there are customers using MicroPython. Do you know why they did not ask at the MicroPython site? |
The test coverage for tests/thread is fine. The same as Pyboard:
|
As I know the customer is using MicroPython in some industrial products, and they need quick support, so the device vendor is the first option. |
This is an automated heads-up that we've just merged a Pull Request See #13763 A search suggests this PR might apply the STATIC macro to some C code. If it Although this is an automated message, feel free to @-reply to me directly if |
fb55686
to
29accdc
Compare
Signed-off-by: tonyzhangnxp <tony.zhang@nxp.com>
29accdc
to
d092ee8
Compare
All STATIC had been replaced with static |
Adds thread support on ports/mimxrt, mimicks it from stm32.