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

Peripheral pins defined in BoardConfig.h are not getting ASSIGNED_TO_ADDON on a fresh board #778

Closed
4 tasks done
jakubkoziol opened this issue Jan 4, 2024 · 2 comments
Closed
4 tasks done

Comments

@jakubkoziol
Copy link

Prerequisites

Please check the following before posting an issue / bug report.

  • I am running the latest version of the firmware found HERE
  • I have checked the documentation HERE and found no answer
  • I checked to make sure that this issue has not already been filed HERE
  • I am reporting the issue to the correct repository

Context

  • Firmware Version: 0.7.6
  • Name of device: any
  • Link to where you purchased the device: n/a
  • Is this a custom build?: no
  • Operating System: n/a
  • Browser: n/a

Expected Behavior

"Peripheral Mapping" pins defined in BoardConfig.h can't be used in the "Pin Mapping" screen using the Web Config.

Current Behavior

On a freshly flashed board with a display and/or a USB Host defined in the BoardConfig.h those pins are not blocked in the "Pin Mapping" screen and can be assigned to a button.
Saving on the "Peripheral Mapping" screen returns to the expected behavior.

Steps to Reproduce

  1. Nuke-flash a board using firmware with display and/or USB Host defined in the BoardConfig (for example RP2040ABB or Haute42).
  2. Go to "Pin Mapping" in the Web Configurator.
  3. Observe that pins assigned to the display or USB Host in BoardConfig.h are not blocked.
  4. Go to "Peripheral Mapping".
  5. Click "Save".
  6. Go back to the "Pin Mapping" screen.
  7. Observe that pins are properly displayed as "Assigned to addon".
@TheTrainGoes
Copy link
Contributor

Hi @jakubkoziol ,

This has already been addressed and is fixed in main. You will need to either compile from there or wait for our v0.7.7 release which should be coming soon.

@jakubkoziol
Copy link
Author

@TheTrainGoes

Compiled as of commit bcf73ab I'm still seeing this behavior.

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

2 participants