2019-09-16 08:57 AM
When core_cm0plus.h and stm32g0xx_hal_cortex.h are included, IAR Embedded Workbench for ARM 8.40.1 generates a sequence of errors beginning with those shown below. I haven't found another definition for IRQn yet. See attachment for entire Build Window. Any ideas on the cause of these errors?
Error[Pe151]: a typedef name may not be redeclared as a parameter C:\Software\NextGen McLaren Working Folder\HandleSafety\SafetyCPU\Drivers\CMSIS\Include\core_cm0plus.h 848
Error[Pe018]: expected a ")" C:\Software\NextGen McLaren Working Folder\HandleSafety\SafetyCPU\Drivers\CMSIS\Include\core_cm0plus.h 848
Error[Pe109]: expression preceding parentheses of apparent call must have (pointer-to-) function type C:\Software\NextGen McLaren Working Folder\HandleSafety\SafetyCPU\Drivers\CMSIS\Include\core_cm0plus.h 852
2019-09-20 09:22 AM
Resolved