You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Historically, device headers, eg stm32F303.h, have lines like this:
#include "core_cm4.h" /* Cortex-M4 processor and core peripherals */
#include "system_stm32f3xx.h" /* STM32F3xx System Header */
But in some newer ones, eg stm32L562.h, it is now like this:
#include <core_cm33.h> /*!< ARM Cortex-M33 processor and core peripherals */
#include "system_stm32l5xx.h" /*!< STM32L5xx System */
Putting just the one CMSIS header but not the other in the -isystem search path instead of the -iquote search path is, obviously, crazed. I think they correctly belong in the -iquote search path, and why change from the past?
Please replace #include <core_cm...h> with #include "core_cm...h" everywhere that it got messed up.
The text was updated successfully, but these errors were encountered:
Historically, device headers, eg stm32F303.h, have lines like this:
But in some newer ones, eg stm32L562.h, it is now like this:
Putting just the one CMSIS header but not the other in the -isystem search path instead of the -iquote search path is, obviously, crazed. I think they correctly belong in the -iquote search path, and why change from the past?
Please replace #include <core_cm...h> with #include "core_cm...h" everywhere that it got messed up.
The text was updated successfully, but these errors were encountered: