Description
Hello !
Another issue with mbed Core
Operating system: ParrotOS Debian Based -> 5.18.0-14parrot1-amd64
Compiling command:
arduino-cli compile test -b arduino:mbed_portenta:envie_m7 -v
Arduino mbed version : 3.4.1
Ino file:
test/test.ino
#include <Arduino.h>
void setup()
{
}
void loop()
{}
At first it compiles fine, but when i recompile mbed it crashes. (The install is clean i deleted and reinstalled everything)
Compiling command :
./mbed-os-to-arduino -a PORTENTA_H7_M7:PORTENTA_H7_M
from directory :
/home/chickpea/.arduino15/packages/arduino/hardware/mbed_portenta/3.4.1
The Mbed compilation works just fine, but when i recompile test here is the error :
/home/chickpea/.arduino15/packages/arduino/hardware/mbed_portenta/3.4.1/variants/PORTENTA_H7_M7/variant.cpp:245:14: error: 'mbed::QSPI QSPIFBlockDevice::_qspi' is private within this context
ret &= _qspi.command_transfer(0xB1, -1, nullptr, 0, nullptr, 0);
^~~~~
In file included from /home/chickpea/.arduino15/packages/arduino/hardware/mbed_portenta/3.4.1/variants/PORTENTA_H7_M7/variant.cpp:239:0:
/home/chickpea/.arduino15/packages/arduino/hardware/mbed_portenta/3.4.1/cores/arduino/mbed/storage/blockdevice/COMPONENT_QSPIF/include/QSPIF/QSPIFBlockDevice.h:344:16: note: declared private here
mbed::QSPI _qspi;
^~~~~
/home/chickpea/.arduino15/packages/arduino/hardware/mbed_portenta/3.4.1/variants/PORTENTA_H7_M7/variant.cpp:247:14: error: 'mbed::QSPI QSPIFBlockDevice::_qspi' is private within this context
ret &= _qspi.command_transfer(0xC1, -1, nullptr, 0, nullptr, 0);
^~~~~
In file included from /home/chickpea/.arduino15/packages/arduino/hardware/mbed_portenta/3.4.1/variants/PORTENTA_H7_M7/variant.cpp:239:0:
/home/chickpea/.arduino15/packages/arduino/hardware/mbed_portenta/3.4.1/cores/arduino/mbed/storage/blockdevice/COMPONENT_QSPIF/include/QSPIF/QSPIFBlockDevice.h:344:16: note: declared private here
mbed::QSPI _qspi;
^~~~~
I did this because it fails with my build, with a bunch of other errors from variant.cpp and from MBedTLS.cpp.
So i guess i'm doing this wrong, could anyone help ?
Thanks