Skip to content

Again Incorrect change applied for ARDUINO_GIGA #293

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
paulvha opened this issue Mar 27, 2023 · 3 comments
Closed

Again Incorrect change applied for ARDUINO_GIGA #293

paulvha opened this issue Mar 27, 2023 · 3 comments
Labels
conclusion: invalid Issue/PR not valid topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@paulvha
Copy link

paulvha commented Mar 27, 2023

As mentioned in #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

@facchinm
Copy link
Contributor

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?

@paulvha
Copy link
Author

paulvha commented Mar 27, 2023

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

@facchinm
Copy link
Contributor

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.

@per1234 per1234 added type: imperfection Perceived defect in any part of project conclusion: invalid Issue/PR not valid topic: code Related to content of the project itself labels Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: invalid Issue/PR not valid topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

3 participants