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 I2C peripheral data for all devices #8

Merged
merged 2 commits into from
Oct 22, 2018

Conversation

chris-durand
Copy link
Member

@chris-durand chris-durand commented Oct 14, 2018

Adds the necessary data for solving modm issue #101.

What should we do about the F4 FMPI2C? The hardware is identical to the stm32-extended I2C but it is named FMPI2Cx. The peripheral is not listed at all in stm_peripherals.py.

The raw data contains instance specific feature tags which can't be modeled in the device files right now (see #7).

I2C IP typed stm32l4 and stm32-extended are merged. A feature for
'fast mode plus' is added.
@salkinium
Copy link
Member

What should we do about the F4 FMPI2C? The hardware is identical to the stm32-extended I2C but it is named FMPI2Cx. The peripheral is not listed at all in stm_peripherals.py.

I'd deal with that in the templates for now. I'm not sure how much of the memory map should be part of these files. I think in the long term I would want to query the memory map in Python too, but then the data needs to be better than what SVD currently gives us. I've parsed the CMSIS Header files with some success before, but that's not included here yet.

Is this PR ready to go from your side?

@strongly-typed
Copy link
Contributor

I'm fine with the PR for now.

Copy link
Member

@salkinium salkinium left a comment

Choose a reason for hiding this comment

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

Thanks!

@salkinium salkinium merged commit c8b0848 into modm-io:develop Oct 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants