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 a developer operation mode #231

Open
wayfarer003 opened this issue Aug 22, 2019 · 3 comments

Comments

@wayfarer003
Copy link

@wayfarer003 wayfarer003 commented Aug 22, 2019

On the physical hardware a couple of issues came up when running with partial hardware

  • Without a battery at 0 charge the battery charge screen can not be dismissed
  • With a battery but running on a bench power supply the 100% charge screen can not be dismissed. This requires turning off the bench supply in order to use the remote (forces battery usage)

A developer mode could have the follow features

  • disabled the battery charging screen to allow for partial HW configurations and bench power
  • Always enable WiFi to allow for uploading code, system access
  • console logging to LCD panel
  • remote serial logging
  • Other "things" that would not normally be used by a typical user
@martonborzak martonborzak added this to Backlog in Yio remote via automation Aug 22, 2019
@martonborzak martonborzak moved this from Backlog to Accepted in Yio remote Aug 23, 2019
@zehnm

This comment has been minimized.

Copy link
Member

@zehnm zehnm commented Oct 14, 2019

This is on my TODO list as well :-)
Any preferences or ideas on how to activate developer mode? My thoughts so far:

  • control file on /boot partition (Fat partition, mountable on any OS)
  • switching config.txt and cmdline.txt on /boot partition (required to disable DPI display and use HDMI)
  • configuration file
  • specific button presses on boot enters developer mode
@martonborzak

This comment has been minimized.

Copy link
Member

@martonborzak martonborzak commented Oct 14, 2019

Thanks @zehnm ! :)

I think the developer mode is more useful when you're running the app on your PC or Mac.
You can run the code from Qt on the actual hardware and see all the console output on your host machine.

@martonborzak

This comment has been minimized.

Copy link
Member

@martonborzak martonborzak commented Oct 14, 2019

I think an option could be to select the dev mode on the remote and then it reboots into it. It's hard to detect button presses at boot, because you have to wait for the driver to load.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Yio remote
  
Accepted
3 participants
You can’t perform that action at this time.