Skip to content

STM32 : Add USB used pins in PinNames.h files #4401

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
Jun 23, 2017

Conversation

jeromecoutant
Copy link
Collaborator

Description

Goal is to help users to know which pins are used when USB feature is enabled

Status

READY

@0xc0170
Copy link
Contributor

0xc0170 commented Jun 12, 2017

@jeromecoutant Can you please look at travis failure?

Executing: python tools/build.py -m NUCLEO_F042K6 -t GCC_ARM -j 4 -c --silent --dsp
In file included from /home/travis/build/ARMmbed/mbed-os/BUILD/mbed/hal/pinmap.h:22:0,
                 from /home/travis/build/ARMmbed/mbed-os/BUILD/mbed/TARGET_NUCLEO_F042K6/TARGET_STM/PeripheralPins.h:34,
                 from /home/travis/build/ARMmbed/mbed-os/targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/PeripheralPins.c:31:
/home/travis/build/ARMmbed/mbed-os/BUILD/mbed/TARGET_NUCLEO_F042K6/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/PinNames.h:121:5: error: redeclaration of enumerator 'USB_NOE_ALT'
     USB_NOE_ALT = PA_15,
     ^
/home/travis/build/ARMmbed/mbed-os/BUILD/mbed/TARGET_NUCLEO_F042K6/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/PinNames.h:120:5: note: previous definition of 'USB_NOE_ALT' was here
     USB_NOE_ALT = PA_13,

@jeromecoutant
Copy link
Collaborator Author

Hi
Error is corrected.
I rebased files in the same time.

@0xc0170
Copy link
Contributor

0xc0170 commented Jun 22, 2017

/morph test

@mbed-bot
Copy link

Result: SUCCESS

Your command has finished executing! Here's what you wrote!

/morph test

Output

mbed Build Number: 611

All builds and test passed!

@adbridge
Copy link
Contributor

LGTM

@adbridge adbridge merged commit 55355d7 into ARMmbed:master Jun 23, 2017
@jeromecoutant jeromecoutant deleted the PR_USB_PIN branch June 27, 2017 09:35
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