-
Notifications
You must be signed in to change notification settings - Fork 639
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
MakeCode 2022 leaves less RAM than V4 for user code #4808
Comments
Thanks Martin! Might be worth checking, if as indicated #4788 (comment), the additional memory usage was between 4.1.5 & 4.16. |
While I found it worked with my micro:bit V1.5 on MakeCode v4, I think the customer has a micro:bit v1.3, and their code was originally created on MakeCode v2. They have now tested their original hex in each MakeCode version and report that it starts to run out of memory for them on MakeCode v3. |
Memory over occurs in both V2 and V1.5 of micro: bit. |
@martinwork can you kindly test with this build? https://microbit.staging.pxt.io/app/90d23a3465264bc5f2cb314fce5d4be956dd7b12-3596625c81# The hex it generates has a smaller footprint, but I'm having trouble pairing Bluetooth, unable to fully test with your sample. |
@eanders-ms I can pair with the original sample downloaded from that build. I reset to Bluetooth mode via A+B+RESET. because triple press didn't work. |
@eanders-ms Tested with the new live. It fails as with v5. After connecting in the iOS micro:bit app Monitor & Control, pressing gamepad button A triggers 020. |
Describe the bug
Arising from support ticket https://support.microbit.org/helpdesk/tickets/55037 (private)
The customer's Bluetooth project runs out of memory (Error 020) in micro:bit V1.5.
microbit-JBN8C-Prj-BT-DPAD-XF-ObjectSensor.zip
I created a project in MakeCode V4 by copying the Javascript, and it works without running out of memory.
microbit-ble-v4.zip
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Project that worked on V4 continues to work.
Screenshots
Add screenshots to help explain your problem. You can copy paste the screenshot in the github report. The .gif screen recording is very useful as well.
micro:bit version (please complete the following information):
You can find this information in the lower right hand corner of the back of micro:bit (the side that says BBC micro:bit).
V1.5
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: