WARDuino icon indicating copy to clipboard operation
WARDuino copied to clipboard

:microscope: Load tidx for callbacks from memory

Open tolauwae opened this issue 1 year ago • 4 comments

tolauwae avatar Jul 12 '23 20:07 tolauwae

By any chance is this PR meant to solve an asc compilation issue related to callbacks?

In my case, I have an Assemblyscript application for which the asc compiler generates a tidx out of range https://github.com/TOPLLab/WARDuino/blob/4ce14c2457bf8fedb091de012b4563315304326a/src/Primitives/emulated.cpp#L448

The same issue also happens on the MCU.

If not, I'll create a separate issue and I will fix the issue there via another PR.

carllocos avatar Jul 13 '23 08:07 carllocos

Yes. This has been a known issue for a year, and I finally got round to fixing it. This PR is not ready to be merged.

tolauwae avatar Jul 13 '23 11:07 tolauwae

This has been broken since #73, but the behaviour/reason for the failure has changed since.

tolauwae avatar Jul 13 '23 11:07 tolauwae

I confirm what you describe in issue #73 is what I have been experiencing.

carllocos avatar Jul 13 '23 11:07 carllocos