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

Fix resource numeration to avoid overlapping with PMOD. #8

Merged
merged 1 commit into from Jun 24, 2019

Conversation

alexhude
Copy link
Contributor

Currently when you add plat.add_resources(plat.break_off_pmod) there is a build error

NameError: Trying to add (resource user_led 0 (pins o pmod_2:7) (attrs IO_STANDARD=SB_LVCMOS33)), but (resource user_led 0 (pins-n o 11) (attrs IO_STANDA
RD=SB_LVCMOS33)) has the same name and number

It is caused by overlapping resource indices in icebreaker.py board description.
In order to address this issue numeration has changed to be contiguous.
For example, user_led on main board have indices 0 and 1 and PMOD user_led are now assigned to numbers from 2 to 6. Similar adjustments are made to user_ledr, user_ledg and user_btn

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.

None yet

2 participants