Skip to content

Update for non-beta board#86

Merged
fgrossman merged 14 commits intomainfrom
frank-next-work
Mar 14, 2025
Merged

Update for non-beta board#86
fgrossman merged 14 commits intomainfrom
frank-next-work

Conversation

@fgrossman
Copy link
Copy Markdown
Collaborator

Changes for non-beta board. Plus the 1.2.0 changes for optimizations and bug fixes.

Updated version of Micropython and XRPLib

There is now a version of Micropython that is specific to the XRP. Going forward from Micropython version 1.25.0 the XRP should use the XRP specific version of Micropython.
XRPLib has also been updated to work specifically with the XRP versions of Micropython.

Fixed

  • We needed to stop reseting Micropython when a program ended when we added bluetooth support, since that would also reset the bluetooth connection. This gave an added benefit of having all of your global variables and classes still in memory for debugging.
    But this created a bug where the second time a program was run it could run out of memory. The memory is now cleared of all modules, except XRPLib, and variables that are not needed when the a program is run from XRPCode.
  • The above fix also fixed a problem for programs that used more than one file. Updates to imported parts of the program are now updated each time the program is run.
  • When using XRPCode over bluetooth there was a problem of missing characters in the terminal if a person was typing too fast. That has been fixed.
  • Updates of XRPLib were only being allowed if you were connected via a USB cable. You can now also update the library over bluetooth. Although it will always be much faster when using a cable.

Update to XRPLib 2.0 and make sure an XRP microPython is running.
Deletes items in memory before running the next program. Except ble and XRPLib.
Also queues characters if GATT is not finished in ble. So fast typing doesn't loose chars
Broke up the ##XRPSTOP## string so it doesn't cause a reboot during the update.
Got rid of the spill on the ground
On/off switch is different for nonbeta board
Show an error message for editors that are open and include nonbeta blocks when a beta board is attached.
Handle the new blocks and add them to the current blockly toolbox on demand.
two versons of micropython firmwre for the beta and nonbeta boards
Didn't have double =
@fgrossman fgrossman merged commit 7201ca5 into main Mar 14, 2025
@fgrossman
Copy link
Copy Markdown
Collaborator Author

Updated for Pi-Day release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant