Skip to content

TC3: expose DFLASH mode as option - #837

Draft
bigbrett wants to merge 1 commit into
wolfSSL:masterfrom
bigbrett:tc3-se-mode
Draft

TC3: expose DFLASH mode as option#837
bigbrett wants to merge 1 commit into
wolfSSL:masterfrom
bigbrett:tc3-se-mode

Conversation

@bigbrett

Copy link
Copy Markdown
Contributor

exposes support for a different flash mode on TC3

Copilot AI review requested due to automatic review settings July 29, 2026 22:30
@bigbrett bigbrett self-assigned this Jul 29, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Exposes an AURIX TC3 build-time option to support DFLASH provisioned in single-ended sensing mode, adjusting both compile-time configuration and NVM image sizing.

Changes:

  • Add a Makefile option (TC3_CFG_DFLASH_SINGLE_ENDED=1) that defines a corresponding C preprocessor macro.
  • Adjust WH_NVM_PART_SIZE based on the selected DFLASH sensing mode.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread arch.mk
Comment on lines +1910 to +1915
# NVM partition is half of DFLASH1; bank size depends on sensing mode
ifeq ($(TC3_CFG_DFLASH_SINGLE_ENDED),1)
WH_NVM_PART_SIZE ?= 0x10000
else
WH_NVM_PART_SIZE ?= 0x8000
endif
Comment thread arch.mk
Comment on lines +1891 to +1892
# Set TC3_CFG_DFLASH_SINGLE_ENDED=1 for devices with DFLASH provisioned in single
# ended mode (default expects complement sensing)
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.

2 participants