Add hw---gdk support for the Game Designer's Kit#7600
Open
GarbhitSh wants to merge 2 commits into
Open
Conversation
Introduce hw---gdk for the Game Designer's Kit: direct GPIO arcade buttons, ST7735 SPI display, active-low backlight fix, and single-shot SAADC for the on-board battery divider and low-battery LED.
35d2187 to
5fceba7
Compare
Author
|
@microsoft-github-policy-service agree company="Deltabotix" |
The in-editor hardware chooser already lists Game Designer's Kit from libs/hw---gdk/pxt.json; targetconfig hardwareOptions added a second card with the same name.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
hw---gdkfor the Game Designer's Kit: a micro:bit V2 shield with a direct ST7735 SPI display and GPIO arcade buttons (compileServiceVariant:nrf52833).Product: Hadron RoboLabs (brand), Deltabotix (registered company). Pilot / pre-production hardware; product documentation is in the linked repository (PCB design files are not published).
Why not
hw---n3?hw---n3targets shift-register buttons and smart-display type 4242. This board uses:A separate variant is required so pin maps and drivers match the physical board.
Board-specific behavior
init.tsdrives P10 active-LOW and re-applies via a 1 Hz watchdog (CODAL ST7735 init does not match this FET wiring)gdk.readP0Adc()single-shot read inanalog.cppbatteryled.ts(does not alter PPI/timers)Files changed
libs/hw---gdk/—config.ts,init.ts,batteryled.ts,analog.cpp, shims,pxt.jsoncardpxtarget.json(bundleddirs+staticpkgdirs.base)docs/hardware.md,docs/arcade-devices.md,docs/static/hardware/game-designers-kit.jpgtargetconfig.jsonhardwareOptionsentry (that duplicated the hardware picker card; removed in commit68df5f19)Test plan
pxt buildinlibs/hw---gdksucceeds (cloud C++ compile) — verified on prior branch iterationhw---n3shields (separate variant)pxt cion this runner — not run here (pxtCLI not installed in local environment; upstream workflowpxt-buildpushrequires maintainer approval for fork PRs)Review notes