Skip to content

Correct MTB_ADV_WISE_1530 led configuration #7686

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 1 commit into from
Aug 13, 2018

Conversation

KariHaapalehto
Copy link
Contributor

mbed-os-example_blinky didn't work with MTB_ADV_WISE_1530, so led configuration have been updated. Also minor update to MTB_MXCHIP_EMW3166 led configuration, led3 is now
defined but not connected.

Description

mbed-os-example-blinky have been tested and verified with these 3 boards:
MTB_ADV_WISE_1530
MTB_USI_WM_BN_BM_22
MTB_MXCHIP_EMW

Pull request type

[X] Fix
[ ] Refactor
[ ] New target
[ ] Feature
[ ] Breaking change

led configuration have been updated.
Also minor update to MTB_MXCHIP_EMW3166 led configuration, led3 is now
defined but not connected.
@KariHaapalehto
Copy link
Contributor Author

@SeppoTakalo, please review

@@ -201,6 +201,7 @@ typedef enum {
// Generic signals namings
LED1 = PB_2,
LED2 = PB_10,
LED3 = NC,
Copy link
Contributor

Choose a reason for hiding this comment

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

@KariHaapalehto : I'm not clear why is this required?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is not required, but all MTB's do have 3 different led's so I would like to identyfy that there is 3rd led available but it is not connected.

"config": {
"led1": "PA_4",
"led2": "PC_12",
"led3": "NC"
Copy link
Contributor

Choose a reason for hiding this comment

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

same comment as above. why is led3 required if not connected? Also, this may not be for this particular PR, but looks like there is a naming issue here.. the parent target is "USI_xxx" (note: manf = USI), and ADV target inherits from it.. (note: manf = ADV). We may want to change this in the future.

Copy link
Contributor

Choose a reason for hiding this comment

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

MTB has 3 leds, so all MTB targets should define those. But unfortunately all MCBs don't connect those leds, so those that don't need NC instead.

Copy link
Contributor

@ashok-rao ashok-rao left a comment

Choose a reason for hiding this comment

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

I'm not entirely sure why LED3 define is even required here..?

"config": {
"led1": "PA_4",
"led2": "PC_12",
"led3": "NC"
Copy link
Contributor

Choose a reason for hiding this comment

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

MTB has 3 leds, so all MTB targets should define those. But unfortunately all MCBs don't connect those leds, so those that don't need NC instead.

@KariHaapalehto
Copy link
Contributor Author

KariHaapalehto commented Aug 10, 2018

Can this be merged?
Or is this still waiting someting?

@0xc0170
Copy link
Contributor

0xc0170 commented Aug 10, 2018

/morph build

@mbed-ci
Copy link

mbed-ci commented Aug 10, 2018

Build : SUCCESS

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

Triggering tests

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

@mbed-ci
Copy link

mbed-ci commented Aug 10, 2018

@mbed-ci
Copy link

mbed-ci commented Aug 10, 2018

@cmonr cmonr merged commit 0e68570 into ARMmbed:master Aug 13, 2018
pan- pushed a commit to pan-/mbed that referenced this pull request Aug 22, 2018
Correct MTB_ADV_WISE_1530 led configuration
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.

6 participants