Closed hpssjellis closed 2 years ago
Hi @hpssjellis. The board identification macros are ARDUINO_PORTENTA_H7_M4
and ARDUINO_PORTENTA_H7_M7
(note the ARDUINO_
"namespace" prefix on the macros).
This is defined by the combination of the build.board
property:
https://github.com/arduino/ArduinoCore-mbed/blob/0fc6d7417ff8d648258bf4b1508759f300ae3ab2/boards.txt#L168
in combination with the -D
flag in the compilation recipes:
LOL, thanks @per1234
That explains a lot.
This is now closed.
Try this code on both cores of the PortentaH7? The blue LED should flash and serial monitor should send info using RPC from M4 to M7, BUT when I change
to
it doesn't work, even though
PORTENTA_H7_M4
is defined in the boards.txt file.Can someone confirm this bug @sebromero perhaps and does anyone have a solution? Sketch following works on both cores.