-
Notifications
You must be signed in to change notification settings - Fork 62
feat: built-in AVR ATmega2560 simulator #623
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
Merged
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
7e0334d
docs: add implementation plan for rp2040js simulator mode
thiagoralves 7b7c4e1
docs: rename device from 'Simulator' to 'OpenPLC Simulator'
thiagoralves d5a77c8
docs: revise simulator plan - VirtualSerialPort approach and correcte…
thiagoralves a1e48dc
feat: add simulator foundation - rp2040js, device entry, SimulatorMod…
thiagoralves 885c7ae
feat: handle simulator target in compilation flow (Phase 2)
thiagoralves fddd7c7
feat: add VirtualSerialPort and debugger flow for simulator (Phase 3)
thiagoralves d6f4b51
feat: update device editor UI for simulator target (Phase 4)
thiagoralves e6c650e
fix: force fixed Modbus RTU defines for simulator compilation
thiagoralves b05cfab
fix: correct UF2 firmware filename to Baremetal.ino.uf2
thiagoralves de234bc
fix: use rp2040js Simulator class for proper clock and UART support
thiagoralves 071519f
fix: use Serial1 (UART0) instead of Serial (USB CDC) for simulator
thiagoralves 281fd34
fix: add simulator reconnection case to debugger variable polling
thiagoralves ee9e4e5
fix: skip Modbus TCP/RTU check for simulator in debugger polling
thiagoralves acdc954
feat: cosmetic improvements for simulator UI
thiagoralves ece33b3
perf: use setImmediate and larger batch size for simulator speed
thiagoralves cb81bcb
perf: dynamically calibrate simulator clock to match wall time
thiagoralves 10de6c9
perf: add WFI to firmware loop for simulator real-time execution
thiagoralves 95ada40
perf: pace simulator execution to wall-clock time
thiagoralves ea0f2d1
fix: stop simulator on project open/create, window reload, and app quit
thiagoralves eafd669
feat: migrate simulator from RP2040 to AVR ATmega2560
thiagoralves 4dd6da2
perf: decouple SLEEP fast-forward from batch instruction budget
thiagoralves 3ae167b
Revert "perf: decouple SLEEP fast-forward from batch instruction budget"
thiagoralves 8097eee
fix: resolve simulator USART deadlock, expand SRAM to 63KB, remove rp…
thiagoralves 699601f
fix: pin avr8js version, sync simulator state, remove stale plan doc
thiagoralves 9ed3b03
fix: close MessagePort in simulator branch, derive HEX path from FQBN
thiagoralves File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.