Repository navigation
Conversation
This branch has not been deployed
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.
Description
Fixes #539.
STM32G0 devices do not provide the injected-channel LL API used by
_findBestADCForInjectedPins(), and theirADC_ChannelConfTypeDefdoes notcontain an
Offsetmember. This change guards the injected-channel checks withthe corresponding LL capability macro and relies on the existing zero
initialization for optional ADC configuration fields.
The Generic G030C8 target is also added to the STM32 CI matrix. It compiles
step_dir_listener_simple.ino, which fits within the device's 64 KB Flash andwill provide regression coverage for this configuration.
Target architecture: STM32G0 (
GENERIC_G030C8TX).Type of change
How Has This Been Tested?
devbranch.step_dir_listener_simple.inoafter the change.arm-none-eabi-ld. The resulting ELF uses 40,240 bytes of Flash and 3,392bytes of RAM.
git diff --checkand comparedactionlintresults withorigin/dev;the workflow change introduces no new findings.
The local Windows policy blocks GCC's
collect2.exewrapper, so the final ELFwas linked directly from the same compiled objects. No physical-board test was
performed.
Test Configuration/Setup:
AI assistance
Codex assisted with code navigation, local toolchain setup, applying the patch,
running checks, Git preparation, and drafting this description. I reviewed and
understood the final diff and validation results before submission.