Skip to content

STM32F0: fix issue with usarts sharing the same irq vector #5907

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 4 commits into from
Jan 26, 2018

Conversation

bcostm
Copy link
Contributor

@bcostm bcostm commented Jan 23, 2018

Description

Issue flagged here: https://os.mbed.com/forum/mbed/topic/28545/

On some F0 devices, multiple USART are sharing the same IRQ vector and this case was not managed.

Tested on NUCLEO_F091RC and NUCLEO_F070RB boards using two usarts (USART3 and USART4).

Status

READY

Migrations

NO

{
uart_irq(2);
}
#if defined(TARGET_STM32F091RC)
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this problem only affect the STM32F091RC, or are more targets affected?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

All STM32F09x devices support this but there is only the STM32F091RC device on mbed actually.

@cmonr
Copy link
Contributor

cmonr commented Jan 23, 2018

/morph build

@mbed-ci
Copy link

mbed-ci commented Jan 23, 2018

Build : SUCCESS

Build number : 925
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/5907/

Triggering tests

/morph test
/morph uvisor-test
/morph export-build

@mbed-ci
Copy link

mbed-ci commented Jan 23, 2018

@mbed-ci
Copy link

mbed-ci commented Jan 24, 2018

@0xc0170
Copy link
Contributor

0xc0170 commented Jan 24, 2018

/morph build

@mbed-ci
Copy link

mbed-ci commented Jan 24, 2018

Build : SUCCESS

Build number : 930
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/5907/

Triggering tests

/morph test
/morph uvisor-test
/morph export-build

@mbed-ci
Copy link

mbed-ci commented Jan 24, 2018

@0xc0170
Copy link
Contributor

0xc0170 commented Jan 24, 2018

/morph uvisor-test

@0xc0170
Copy link
Contributor

0xc0170 commented Jan 24, 2018

testing it again

/morph uvisor-test

@orenc17
Copy link
Contributor

orenc17 commented Jan 24, 2018

/morph uvisor-test

@mbed-ci
Copy link

mbed-ci commented Jan 24, 2018

@0xc0170
Copy link
Contributor

0xc0170 commented Jan 25, 2018

/morph build

@mbed-ci
Copy link

mbed-ci commented Jan 25, 2018

Build : SUCCESS

Build number : 944
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/5907/

Triggering tests

/morph test
/morph uvisor-test
/morph export-build

@mbed-ci
Copy link

mbed-ci commented Jan 25, 2018

Test : SUCCESS

Build number : 775
Test logs :http://mbed-os-logs.s3-website-us-west-1.amazonaws.com/?prefix=logs/5907/775

@mbed-ci
Copy link

mbed-ci commented Jan 25, 2018

@cmonr cmonr merged commit dfa5533 into ARMmbed:master Jan 26, 2018
@bcostm bcostm deleted the fix_f0_usart_irq branch February 2, 2018 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants