Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Packaged core doesn't ship with patches folder #587

Copy link
Copy link
Open
@aqw42

Description

@aqw42
Issue body actions

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.