[Issue] Programming MultiTech mDot using PlatformIO instead of ARM mbed online compiler

Hello PlatformIO !

I am using the MultiTech mDot in my projects. Actually, I use mbed online compiler and MultiTech MDK to program the board.

I would like to do all of it using Platformio. As the first step, I use a basic code :

#include "mbed.h"

int main() {
// pin PA_1 is connected to my LED
DigitalOut led(PA_1);

while (true) {
        led = !led;

It works fine when compiled with mbed online compiler and uploaded with MultiTech MDK. But when I compile it with Platformio and upload the firmware.bin with Multitech MDK, it doesn’t blink my LED.

Here is my .ini content :

platform = ststm32
board = mts_mdot_f411re
framework = mbed

My setup :

  • Windows 10
  • PlatformIO IDE 1.6.0 | CLI 3.1.0

Does someone have any clue ?

Please open an issue here Issues · platformio/platform-ststm32 · GitHub

Done, thank you ivankravets !