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

make using command helpers in ./stk500v2.js stateless #5

Open
soldair opened this issue Dec 16, 2014 · 0 comments
Open

make using command helpers in ./stk500v2.js stateless #5

soldair opened this issue Dec 16, 2014 · 0 comments

Comments

@soldair
Copy link
Collaborator

soldair commented Dec 16, 2014

because we are async you really cant manage global state properly.
its the same reason nodejs doesnt expose fseek.

we should discuss.

stk500 seems to have 3 states. sign_on, programming, programming with internal address pointer.
we already don't use the internal address pointer by running loadAddress between pages. So we are either programming or not but we should always be signed on

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

No branches or pull requests

1 participant