Hello,
In the arduino IDE how do I define the core for the stm32H747 series. I am getting this error message.
#error Please #define CORE_CM4 or CORE_CM7.
Thank you
Selecting CORE_CM4 or CORE_CM7
Re: Selecting CORE_CM4 or CORE_CM7
Could you be more precise? Which target you select?
Sketch you build? ....
Sketch you build? ....
Re: Selecting CORE_CM4 or CORE_CM7
Tools settings
Board = "Generic STM32H7 Series
Board Part Number = Generic H747IITx
Sketch is
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Error is
C:\Users\chrgul\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.1.0\system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h747xx.h:244:2: error: #error Please #define CORE_CM4 or CORE_CM7
244 | #error Please #define CORE_CM4 or CORE_CM7
| ^~~~~
Board = "Generic STM32H7 Series
Board Part Number = Generic H747IITx
Sketch is
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Error is
C:\Users\chrgul\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.1.0\system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h747xx.h:244:2: error: #error Please #define CORE_CM4 or CORE_CM7
244 | #error Please #define CORE_CM4 or CORE_CM7
| ^~~~~
Re: Selecting CORE_CM4 or CORE_CM7
It's there in the error description:
H747 is a dual core MCU, you need to define which core you want to use.Please #define CORE_CM4 or CORE_CM7
Re: Selecting CORE_CM4 or CORE_CM7
OK.
There is an issue. Currently there is no dual core management and we should be able to provide a way to define which Cortex we target.
Could you submit an issue on GitHub to track this.
Thanks.
There is an issue. Currently there is no dual core management and we should be able to provide a way to define which Cortex we target.
Could you submit an issue on GitHub to track this.
Thanks.