Skip to content

Change target name and support InterruptIn function. #1178

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

Merged
merged 5 commits into from
Jun 15, 2015
Merged

Change target name and support InterruptIn function. #1178

merged 5 commits into from
Jun 15, 2015

Conversation

hjjeon0608
Copy link
Contributor

I changed target name WIZwiki_W7500 to WIZWIKI_W7500.
And now WIZWIKI_W7500 support InterruptIn function.

@0xc0170
Copy link
Contributor

0xc0170 commented Jun 11, 2015

Hello, please always update your branch. The upper case change is already on master : https://github.com/mbedmicro/mbed/blob/master/workspace_tools/targets.py#L74

I'll review and if ok, I'll do manual squash of those 2 into one, to keep just the InterruptIn commit.

// uint32_t ids;
//} irq_channel;

static uint32_t channel_ids[4][16];
Copy link
Contributor

Choose a reason for hiding this comment

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

I can see only channel_ids[0][x] used in the code? Is the first index port ? Means the IRQ handlers below need to be updated

@hjjeon0608
Copy link
Contributor Author

I added a common handler in gpio_irq_api.c as your guide.

@hjjeon0608
Copy link
Contributor Author

I implemented pwm api.
Please check.

@0xc0170
Copy link
Contributor

0xc0170 commented Jun 15, 2015

A note - pwm could be sent as a separate PR (once feature-complete change). I'll review as it is.

{
PWM_CHn_Stop(obj->PWM_CHx);
// Update the SystemCoreClock variable
SystemCoreClockUpdate();
Copy link
Contributor

Choose a reason for hiding this comment

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

Why SystemCoreClockUpdate() is invoked here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I want to use correct SystemCoreClock even though user changes the system core clock anytime.

0xc0170 added a commit that referenced this pull request Jun 15, 2015
Wiznet - Change target name and support InterruptIn function.
@0xc0170 0xc0170 merged commit bfd1361 into ARMmbed:master Jun 15, 2015
@hjjeon0608
Copy link
Contributor Author

I missed to uncomment the function.

@hjjeon0608
Copy link
Contributor Author

I will update next pull request.

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