Skip to content

[sw,bootrom] Add LED animation on exception#630

Merged
marnovandermaas merged 3 commits into
lowRISC:mainfrom
engdoreis:bootrom
Jun 23, 2026
Merged

[sw,bootrom] Add LED animation on exception#630
marnovandermaas merged 3 commits into
lowRISC:mainfrom
engdoreis:bootrom

Conversation

@engdoreis

@engdoreis engdoreis commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

This will show that the bitstream is live when a program is not loaded to DRAM.

Supersedes #625
Closes: #624

@marnovandermaas marnovandermaas left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I haven't yet tested this but the code looks good so I'll approve to unblock. Also I think I've found a small bug in nearby code, maybe we can fix that in this PR as well?

Comment thread sw/device/lib/hal/gpio.c Outdated
Signed-off-by: Douglas Reis <doreis@lowrisc.org>
Signed-off-by: Douglas Reis <doreis@lowrisc.org>
Comment thread sw/device/bootrom/bootrom.c Outdated
Comment on lines 17 to 19
#define MAJOR "00"
#define MINOR "01"
#define MINOR "02"
#define PATCH "00"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think this could be updated in a different PR, I've also noticed that it doesn't follow the versioning used in https://github.com/lowRISC/mocha/#release-timeline, maybe best to just have it be one string like "v0.2"? I doubt we will be updating the versions frequently enough to need so much granularity.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I think it's nice to have this done in this PR so we can make the release.

This will show that the bitstream is live when a program is not loaded
to DRAM.

Signed-off-by: Douglas Reis <doreis@lowrisc.org>

@marnovandermaas marnovandermaas left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This looks good to me and works on my board.

@marnovandermaas marnovandermaas added this pull request to the merge queue Jun 23, 2026
Merged via the queue into lowRISC:main with commit 1df835e Jun 23, 2026
5 checks passed
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.

Boot ROM blinks at start up

3 participants