ARMmbed / mbed-os

Arm Mbed OS is a platform operating system designed for the internet of things
https://mbed.com
Other
4.67k stars 2.98k forks source link

DigitalOut Stops working after toggle on MOTE_L152RC #4354

Closed snelson-senet closed 6 years ago

snelson-senet commented 7 years ago

Description

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 commented 7 years ago

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

theotherjimmy commented 7 years ago

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

snelson-senet commented 7 years ago

I created pull request https://github.com/ARMmbed/mbed-os/pull/4378 to show how I fixed this issue. Feel free to use if feasible.

cmonr commented 6 years ago

Closed since PR has long since been merged.