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

Add delete commands. #20

Open
egelmex opened this issue May 11, 2015 · 5 comments
Open

Add delete commands. #20

egelmex opened this issue May 11, 2015 · 5 comments

Comments

@egelmex
Copy link

egelmex commented May 11, 2015

I know it's a simple command but being able to delete files from the command would be useful.

  • delete specified file (or wild card?)
  • delete all files
@uchobby
Copy link

uchobby commented Jun 1, 2015

I agree, my vote as well. I'd be happy with a "format" command.

@uchobby
Copy link

uchobby commented Jun 1, 2015

Could we have a "Halt" command. Something to stop the code so that we can do the file management without being interrupted by whatever might be running?

@trisk
Copy link

trisk commented Jun 8, 2015

I see --wipe exists, though I don't know why it tries to parse the entire list of files instead of using file.format(). @uchobby I don't think NodeMCU supports interrupting execution.

@uchobby
Copy link

uchobby commented Jun 8, 2015

I'll try wipe, might be good enough.

On the "Halt"... is there a way to keep it from loading init.lua if it's caught just after reset? What I'm thinking is that a command could be sent, near continuously, so that when reset is pressed, it's stopped just in time. The command would watch for the correct response and then start the upload. More like what a typical boot loader does..

If we could get the firmware updated to do this, say a 1 second pause after reset, before loading init...

@ghost
Copy link

ghost commented Nov 5, 2015

Could the --delete command from PR #32 can fulfill your requirements?

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

No branches or pull requests

4 participants