You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see that Rhai seems to be exhausting the stack space on the BL602, which is a bit baffling for me, since I've seen somebody compiling a bare minimum engine for the ST32 which fits under 64KB...
Two things I can suggest:
Add no_position to the rhai dependency, which saves you one entire word for each AST node
Use LTO and optimize for size - not sure if this changes anything, but should yield smaller builds
The text was updated successfully, but these errors were encountered:
dacut
pushed a commit
to dacut/bl_iot_sdk
that referenced
this issue
Jun 30, 2023
I see that Rhai seems to be exhausting the stack space on the BL602, which is a bit baffling for me, since I've seen somebody compiling a bare minimum engine for the ST32 which fits under 64KB...
Two things I can suggest:
Add
no_position
to therhai
dependency, which saves you one entire word for each AST nodeUse LTO and optimize for size - not sure if this changes anything, but should yield smaller builds
The text was updated successfully, but these errors were encountered: