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

Yellow LED constantly on for red board #407

Open
rieck opened this issue Jun 16, 2024 · 5 comments
Open

Yellow LED constantly on for red board #407

rieck opened this issue Jun 16, 2024 · 5 comments

Comments

@rieck
Copy link
Contributor

rieck commented Jun 16, 2024

The yellow LED on my red board stays on continuously, which typically signals an incorrect firmware version (color). However, I have compiled the firmware correctly using make COLOR=red, and the watch is actuially functioning normally. The only issue is that the yellow LED remains lit. It’s not due to a short circuit from the case, as the LED remains on even when connected to USB. Does anyone have any ideas about what might be causing this?

@joeycastillo
Copy link
Owner

Alas the issue is with uppercase vs lowercase: you have to make COLOR=RED for it to work.

Is there some make-fu we can use to make these lines case insensitive? Or uppercase whatever the input is?

@rieck
Copy link
Contributor Author

rieck commented Jun 16, 2024

Oh, thanks for the swift response!!

COLOR := $(shell echo $(COLOR) | awk '{print toupper($$0)}')

or

COLOR := $(shell echo $(COLOR) | tr '[:lower:]' '[:upper:]')

would be two options. They require the shell subcommand, which is not present in BSD make to my knowledge, and likely they both do not work on Windows.

@wryun
Copy link
Contributor

wryun commented Jun 16, 2024

I think the best thing to do is to have it abort if the COLOR line has an unrecognised colour.

@chris-v8
Copy link

or modify the makefile to skip the COLOR argument, and always run it with your watch colour

@orhun
Copy link

orhun commented Jun 27, 2024

I'm having the same issue. Is there way to turn this off for the pre-built firmware? Do I need to build the firmware with the flag?

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

5 participants