Skip to content

Conversation

mateuszsikora
Copy link
Contributor

@mateuszsikora mateuszsikora commented Feb 23, 2025

I need possibility to load SPI program from hex string so I added it. Additionally I spotted two problems:

  1. bytes editor was unusable because of missing buttons:
Screenshot 2025-02-23 at 16 20 30
  1. a decimal array was treated as a hexadecimal and parsed program was incorrect
Screenshot 2025-02-23 at 16 22 07

Both problems are fixed:

Screen.Recording.2025-02-23.at.16.23.56.mov

and it is possible to load SPI program from hex string:

Screen.Recording.2025-02-23.at.16.25.17.mov

Copy link

netlify bot commented Feb 23, 2025

Deploy Preview for pvm-debugger ready!

Name Link
🔨 Latest commit 75ecceb
🔍 Latest deploy log https://app.netlify.com/sites/pvm-debugger/deploys/67bb3e011301ae00087e315c
😎 Deploy Preview https://deploy-preview-330--pvm-debugger.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

@tomusdrw tomusdrw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

initial: { ...initialState, regs, mem: memory },
name: "custom",
};
} catch {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we make try a bit more minimal? I guess the only thing that is expected to throw is Program.fromSpi, isn't it?

@mateuszsikora mateuszsikora merged commit 75000d0 into main Feb 23, 2025
5 of 6 checks passed
@mateuszsikora mateuszsikora deleted the ms-load-spi-program-from-hex-string branch February 23, 2025 16:21
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.

2 participants