Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add default IOMUX configuration function #647

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

lpawelcz
Copy link

This PR enables adding optional default IOMUX configuration to J-Link and OpenOCD scripts.
In order to include default configuration in script, add --default-config flag to the eos_s3_iomux_config.py command call.
When iomux_config script is used with that flag, it first generates the default configuration for all available IOMUXes according to default values for IOMUX configuration registers. Then it overlays the defaults with configuration for specific design and generates the final output.
Because the pads don't have all the same default configurations, some hardcoded mappings were introduced to handle that correctly.

Note: this PR will be rebased after #645 is merged to exclude d51138b and 6d71adc and the draft status will be disabled.

removed unnecessary concatenation step
because it is already done when converting
bitstream to openocd script

Signed-off-by: Paweł Czarnecki <[email protected]>
removed unnecessary concatenation step
because it is already done when converting
bitstream to jlink script

Signed-off-by: Paweł Czarnecki <[email protected]>
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