GP2040-CE
GP2040-CE copied to clipboard
Able to map GPIO pins to both inputs and display on newly flashed board
Prerequisites
Please check the following before posting an issue / bug report.
- [ ] I am running the latest version of the firmware found HERE
- [ X ] I have checked the documentation HERE and found no answer
- [ X ] I checked to make sure that this issue has not already been filed HERE
- [ X ] I am reporting the issue to the correct repository
Context
Please provide all relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
- Firmware Version: Latest (https://github.com/OpenStickCommunity/GP2040-CE/actions/runs/8074808316/artifacts/1281028382)
- Name of device: Haute4s S16
- Link to where you purchased the device: https://haute42.com/haute-pad-s-series/
- Is this a custom build?: No
- Operating System: EndeavourOS (6.7.1-arch1-1)
- Browser: Chromium
Expected Behavior
Post nuking the board and flashing firmware that has a OLED display set up in the configuration, the pins used for I2C should not be available under Pin Mapping to be assigned (greyed out with "Assigned to Add-on").
Current Behavior
Post nuking the board and flashing firmware that has a OLED display set up in the configuration, the pins used for I2C are available under Pin Mapping to be assigned (greyed out with "Assigned to Add-on"). When they are assigned to inputs and the controller is rebooted, the inputs will flicker when viewed with a gamepad tester.
Steps to Reproduce
For a Haute42 S16:
- Flash nuke the board
- Flash board with firmware (https://github.com/OpenStickCommunity/GP2040-CE/actions/runs/8074808316/artifacts/1281028382)
- Boot into Web Configurator
- Assign Pins 0 & 1 under Pin Mappings to down and left, respectively
- Save
- Reboot into controller mode
- View Controller through gamepad tester (https://hardwaretester.com/gamepad)
Screenshots & Files
(Was able to successfully save pin mappings)
Miscellaneous Notes
If you change and save the pin assignments (GPIO 0& 1) and then go back to the Display Configuration, you do see that the pins are now shown as "In Use" and you cannot save. However, if they are not changed, the display works using those pins while the newly mapped inputs are flashing.
This would have to be fixed in the initUnset...
it sounds like.