Skip to content

feat: support custom ADC/I2C/SPI instances for h7 boards - #137

Merged
PonomarevDA merged 4 commits into
mainfrom
pr-node-h7-peripherals
Jul 17, 2026
Merged

feat: support custom ADC/I2C/SPI instances for h7 boards#137
PonomarevDA merged 4 commits into
mainfrom
pr-node-h7-peripherals

Conversation

@PonomarevDA

Copy link
Copy Markdown
Contributor

No description provided.

PonomarevDA and others added 4 commits July 17, 2026 10:02
Boards define HAL::adc_channels() to opt out of the DMA-scanned ADC1
path, which the STM32H7 cannot use for ADC3. Default stays empty, so
existing boards are unaffected.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Negating an already-negative HAL code made failures indistinguishable
from valid register values. Also adds NC_I2C_INSTANCE to select the
I2C peripheral per board; defaults to hi2c1.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Adds NC_SPI_INSTANCE and NC_SPI_NSS_GPIO_Port/Pin. Defaults keep the
historical behaviour.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Without CONFIGURE_DEPENDS a yaml edit was silently ignored. Also drop
the two libparams defines deprecated upstream.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@PonomarevDA
PonomarevDA merged commit 1d65607 into main Jul 17, 2026
5 checks passed
@PonomarevDA
PonomarevDA deleted the pr-node-h7-peripherals branch July 17, 2026 07:24
@sonarqubecloud

Copy link
Copy Markdown

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

Successfully merging this pull request may close these issues.

1 participant