Closed
Description
Description of defect
Have not been coding my MAX32630FTHR for some weeks now...
Today i tried to compile my code i regularly update onto this board, but i faced unexpected issue.
So i tried to compile the official blinky example with some minor additions this board needs to put 3V3 on the pins.
(By default this board operates all the pins at 1V8, but even the onboard LED needs 3V3 to emit light, so max32630fthr.lib is very handy to operate this board as expected)
Target(s) affected by this defect ?
MAX32630FTHR
Toolchain(s) (name and version) displaying this defect ?
ARMC 6.15
What version of Mbed-os are you using (tag or sha) ?
OS V6.11 and V6.10
What version(s) of tools are you using. List all that apply (E.g. mbed-cli)
Mbed Studio V1.4.1
How is this defect reproduced ?
This code compiles&runs as expected up until OS V6.9 but throws mutex error on OS V6.10 and V6.11
#include "mbed.h"
#include "lib/max32630fthr/max32630fthr.h"
MAX32630FTHR max32630fthr(MAX32630FTHR::VIO_3V3);
// Blinking rate in milliseconds
#define BLINKING_RATE 500ms
int main()
{
// Initialise the digital pin LED1 as an output
DigitalOut led(LED1);
while (true) {
led = !led;
ThisThread::sleep_for(BLINKING_RATE);
}
}