Skip to content

Immediate Panic on Portenta H7 M4 Core #333

Closed
@trylaarsdam

Description

@trylaarsdam

I'm trying to use BLE on the Portenta H7 M4 core (which I believe should be possible since the M4 has access to the HCI UART lines, but if someone knows definitively that it is not possible please let me know), however when I include the library, and flash to the Portenta, when I call BLE.begin(); from the M4 core, it immediately causes an MbedOS panic.

Here's a sample that is reproducible on my end:

// M4 Core
#include "Arduino.h"
#include "ArduinoBLE.h"

void setup() {
     BLE.begin(); // panics
}
void loop() {

}

There are mentions to the M4 core in the library and no mentions in Arduino's docs that the M4 core is not able to perform BLE operations, so any pointers or suggestions on how to initialize the BLE radio from the M4 core would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions