Skip to content
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

Expanded Save Support #18

Closed
SeongGino opened this issue Feb 7, 2024 · 1 comment · Fixed by #19
Closed

Expanded Save Support #18

SeongGino opened this issue Feb 7, 2024 · 1 comment · Fixed by #19
Assignees
Labels
enhancement New feature or request

Comments

@SeongGino
Copy link
Owner

Not an ongoing issue as much as it is notifying of progress in plus-save branch.

There's still a loose end here or there (mostly in TinyUSB ID modification), and the method of initializing values for save/loading looks quite ugly at the moment, but this allows for changing assigned pin numbers at runtime over the existing serial interface - which is intended for a future cross-platform GUI application for PCs, but can be interacted with using a shell/serial monitor much like with Mamehooker commands.

Completing this effectively readies GUN4ALL for binary distribution, meaning no more IDE or build environment at all, nor reflashing the board with modified local builds needed to configure aspects of the gun after installation.

(If people could test this branch, that would be wonderful - just navigate to the plus-save branch and download the ZIP from the green code button on the branch's page. Unfortunately, documentation is light atm as that is something I'm working on next to prep for binary distribution soon, but the information in SerialProcessing from line 2506-down should be enough to give a general idea of what's supported and what each thing does.

Safe to say, you might want to use the Xc command first to clear the saveram, which after replugging the device will bring up the first-time onboarding sequence - just shoot the screen to start initial calibration, wherein finishing will autocommit all the settings to the newly extended EEPROM space.)

@SeongGino SeongGino self-assigned this Feb 7, 2024
@SeongGino SeongGino added the enhancement New feature or request label Feb 7, 2024
@SeongGino SeongGino pinned this issue Feb 7, 2024
@SeongGino
Copy link
Owner Author

The initial version was kinda sorta broken--it should be all good now. :)

There might be some lingering garbage data left in the EEPROM when transferring from previous main builds to this branch, but we do our best to clear things out when initializing.

@SeongGino SeongGino linked a pull request Feb 8, 2024 that will close this issue
@SeongGino SeongGino unpinned this issue Feb 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant