Closed paulvha closed 1 year ago
Mmmh not sure about that; Apollo3 is not an STM32H7 board, so terminate()
will be called (as it was before the erroneous first patch) .
Am I missing something?
In 1.3.2 the 238 line was :
#if !defined(ARDUINO_PORTENTA_H7_M4) && !defined(ARDUINO_PORTENTA_H7_M7) && !defined(ARDUINO_NICLA_VISION)
So ONLY in the case PORTENTA's or NICLA_VISION the termination was not called. With the latest change it is also called for them.
But maybe the previous check was incorrect. !!
Did a quick check on PORTENTA and the NICLA-VSION libraries, both are using MBED as well. Too bad many of the files are not in the downloaded cores/ MBED board library to check.
I assume you will know that, and then you are correct.
regards, Paul
Hi Paul, the check was supposed to avoid calling terminate()
for boards mounting the Murata 1DX modules, namely
Portenta H7
Nicla Vision
Then we added 2 more boards with the same module (Opta and Giga).
All these boards share the STM32H747 microcontroller, so the new code doesn't call terminate()
for any of them, while restoring the correct call for Apollo3, Nano33BLE, Nicla Sense and so on.
As mentioned in https://github.com/arduino-libraries/ArduinoBLE/issues/292 there was a incorrect change for the ARDUINO_GIGA. I see you have taken quick action.. but that is also incorrect. It will not work for the Apollo3 and other processors on MBED.
The correct change for line 238:
#if !defined(ARDUINO_PORTENTA_H7_M4) && !defined(ARDUINO_PORTENTA_H7_M7) && !defined(ARDUINO_NICLA_VISION) && !defined(ARDUINO_GIGA)
kind regards, Paul