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

DigitalOut Stops working after toggle on MOTE_L152RC #4354

Closed
snelson-senet opened this issue May 19, 2017 · 4 comments
Closed

DigitalOut Stops working after toggle on MOTE_L152RC #4354

snelson-senet opened this issue May 19, 2017 · 4 comments

Comments

@snelson-senet
Copy link

Description

  • Type: Bug

Bug

DigitalOut interface is broken. In my case, controlling LEDs stops working. I do not see this failure when I switch to an mbed-os revision using mbed library version <= 134

Sample code:
DigitalOut RedLed(LED1);

// LED is active Low
RedLed = 0 ; // This works (LED ON)
RedLed = 1; // This works (LED OFF)
RedLed = 0; // Now broken, LED remains OFF forever

Target
MOTE_L152RC

Toolchain:
GCC_ARM

Toolchain version:
5.4-2016q3

mbed-cli version:
1.1.1

mbed-os sha:
8921974 Merge pull request #4278 from ARMmbed/release-candidate

@theotherjimmy theotherjimmy changed the title MOTE_L152RC Target: DigitalOut DigitalOut Stops working after toggle on MOTE_L152RC May 19, 2017
@theotherjimmy
Copy link
Contributor

Hi @snelson-senet I changed the title to match the description.

@theotherjimmy
Copy link
Contributor

theotherjimmy commented May 19, 2017

@0xc0170 It looks like this is an STM32, and only supports mbed OS 2. Could you mention the ST people?

@snelson-senet
Copy link
Author

I created pull request #4378 to show how I fixed this issue.
Feel free to use if feasible.

sg- added a commit that referenced this issue May 26, 2017
@cmonr
Copy link
Contributor

cmonr commented Dec 14, 2017

Closed since PR has long since been merged.

@cmonr cmonr closed this as completed Dec 14, 2017
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

No branches or pull requests

3 participants