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

Fix: RISC-V vs ENABLE_DEBUG=1 #1668

Merged
merged 2 commits into from
Nov 13, 2023
Merged

Fix: RISC-V vs ENABLE_DEBUG=1 #1668

merged 2 commits into from
Nov 13, 2023

Conversation

dragonmux
Copy link
Member

Detailed description

This PR fixes a bug pointed out to us by ALTracer on Discord where passing ENABLE_DEBUG=1 for the firwmare without also passing ENABLE_RISCV=1 would result in a broken build due to missing preprocessor logic in jtag_devs.c

Your checklist for this pull request

  • I've read the Code of Conduct
  • I've read the guidelines for contributing to this repository
  • It builds for hardware native (make PROBE_HOST=native)
  • It builds as BMDA (make PROBE_HOST=hosted)
  • I've tested it to the best of my ability
  • My commit messages provide a useful short description of what the commits do

Closing issues

…bled correctly when giving various combinations of `ENABLE_DEBUG=1` and `ENABLE_RISCV=1`
@dragonmux dragonmux added this to the v2.0 release milestone Nov 2, 2023
@dragonmux dragonmux added Bug Confirmed bug BMP Firmware Black Magic Probe Firmware (not PC hosted software) labels Nov 2, 2023
@dragonmux dragonmux requested a review from esden November 2, 2023 17:53
…we don't pull it in when the RISC-V support is not enabled
Copy link
Member

@esden esden left a comment

Choose a reason for hiding this comment

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

LGTM

@esden esden merged commit e8c9ea0 into main Nov 13, 2023
6 checks passed
@dragonmux dragonmux deleted the fix/riscv-enable-debug branch November 13, 2023 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BMP Firmware Black Magic Probe Firmware (not PC hosted software) Bug Confirmed bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants