Mbed-os-example-blinky does not work on the Arduino portenta board

Hello Juha,

How did you do that? The PORTENTA_H7 target is not public in Mbed OS 6.15.1 neither in Mbed OS 6.16.0.
In the targets.json file it is not defined as public:

    "PORTENTA_H7": {
        "public": false,
    ...
    }

However, the Mbed enabled DISCO-H747I board seems to be equipped with the same MPU as the ARDUINO PORTENTA H7. So you can try to

  • build your blinky program for the DISCO_H747I target
  • flash it to the ARDUINO PORTENTA H7 using the built-in bootloader (over the UART1 port). Make sure your USB to TTL UART converter is 3.3V compliant (the signals on the Tx and Rx pins do not exceed 3.3V)!

When designing a program it is also important to apply the ARDUINO PORTENTA H7 pinout.
For example, define the LED1 digital output (the green RGB LED) as DigitalOut led1(PC_7); rather than DigitalOut led1(LED1), etc.

Please note that the DISCO-H747I board is not equipped with an external 25MHz crystal as opposed to the ARDUINO PORTENTA H7. So the program built for the DISCO-H747I running on an ARDUINO PORTENTA H7 will use the internal RC oscillator.

2 Likes