Thanks for your reply, sure i’ll post as much as i can (the actual log is much, much longer than this, but i can only post up to 32k characters).
C:\Users\giliw\.platformio\penv\Scripts\pio run -e nucleo_h745zi_q
Processing nucleo_h745zi_q (platform: ststm32; board: nucleo_h745zi_q; framework: stm32cube)
--------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/nucleo_h745zi_q.html
PLATFORM: ST STM32 (17.6.0) > ST Nucleo H745ZI-Q
HARDWARE: STM32H745ZIT6 480MHz, 512KB RAM, 1MB Flash
DEBUG: Current (stlink) On-board (stlink) External (blackmagic, cmsis-dap, jlink)
PACKAGES:
- framework-stm32cubeh7 @ 1.9.0
- tool-ldscripts-ststm32 @ 0.2.0
- toolchain-gccarmnoneeabi @ 1.70201.0 (7.2.1)
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 55 compatible libraries
Scanning dependencies...
No dependencies
Building in release mode
Compiling .pio\build\nucleo_h745zi_q\FrameworkHALDriver\Src\stm32h7xx_hal.o
Compiling .pio\build\nucleo_h745zi_q\FrameworkHALDriver\Src\stm32h7xx_hal_adc.o
Compiling .pio\build\nucleo_h745zi_q\FrameworkHALDriver\Src\stm32h7xx_hal_adc_ex.o
Compiling .pio\build\nucleo_h745zi_q\FrameworkHALDriver\Src\stm32h7xx_hal_cec.o
Compiling .pio\build\nucleo_h745zi_q\FrameworkHALDriver\Src\stm32h7xx_hal_comp.o
Compiling .pio\build\nucleo_h745zi_q\FrameworkHALDriver\Src\stm32h7xx_hal_cordic.o
Compiling .pio\build\nucleo_h745zi_q\FrameworkHALDriver\Src\stm32h7xx_hal_cortex.o
Compiling .pio\build\nucleo_h745zi_q\FrameworkHALDriver\Src\stm32h7xx_hal_crc.o
Compiling .pio\build\nucleo_h745zi_q\FrameworkHALDriver\Src\stm32h7xx_hal_crc_ex.o
Compiling .pio\build\nucleo_h745zi_q\FrameworkHALDriver\Src\stm32h7xx_hal_cryp.o
In file included from C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h7xx.h:132:0,
from C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\STM32H7xx_HAL_Driver\Inc/stm32h7xx_hal_def.h:30,
from C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\STM32H7xx_HAL_Driver\Inc/stm32h7xx_hal_rcc.h:29,
from C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\STM32H7xx_HAL_Driver\Inc/stm32h7xx_hal_conf.h:246,
from C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\STM32H7xx_HAL_Driver\Inc/stm32h7xx_hal.h:30,
from C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal.c:36:
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:243:2: error: #error Please #define CORE_CM4 or CORE_CM7
#error Please #define CORE_CM4 or CORE_CM7
^~~~~
In file included from C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:255:0,
from C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h7xx.h:132,
from C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\STM32H7xx_HAL_Driver\Inc/stm32h7xx_hal_def.h:30,
from C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\STM32H7xx_HAL_Driver\Inc/stm32h7xx_hal_rcc.h:29,
from C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\STM32H7xx_HAL_Driver\Inc/stm32h7xx_hal_conf.h:246,
from C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\STM32H7xx_HAL_Driver\Inc/stm32h7xx_hal.h:30,
from C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal.c:36:
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/system_stm32h7xx.h:58:8: error: unknown type name 'uint32_t'
extern uint32_t SystemCoreClock; /*!< System Domain1 Clock Frequency */
^~~~~~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/system_stm32h7xx.h:59:8: error: unknown type name 'uint32_t'
extern uint32_t SystemD2Clock; /*!< System Domain2 Clock Frequency */
^~~~~~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/system_stm32h7xx.h:60:15: error: unknown type name 'uint8_t'
extern const uint8_t D1CorePrescTable[16] ; /*!< D1CorePrescTable prescalers table values */
^~~~~~~
Compiling .pio\build\nucleo_h745zi_q\FrameworkHALDriver\Src\stm32h7xx_hal_cryp_ex.o
In file included from C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h7xx.h:132:0,
from C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\STM32H7xx_HAL_Driver\Inc/stm32h7xx_hal_def.h:30,
from C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\STM32H7xx_HAL_Driver\Inc/stm32h7xx_hal_rcc.h:29,
from C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\STM32H7xx_HAL_Driver\Inc/stm32h7xx_hal_conf.h:246,
from C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\STM32H7xx_HAL_Driver\Inc/stm32h7xx_hal.h:30,
from C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal.c:36:
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:268:3: error: unknown type name '__IO'
__IO uint32_t ISR; /*!< ADC Interrupt and Status Register, Address offset: 0x00 */
^~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:268:17: error: expected ':', ',', ';', '}' or '__attribute__' before 'ISR'
__IO uint32_t ISR; /*!< ADC Interrupt and Status Register, Address offset: 0x00 */
^~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:315:1: error: unknown type name '__IO'
__IO uint32_t CSR; /*!< ADC Common status register, Address offset: ADC1/3 base address + 0x300 */
^~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:315:15: error: expected ':', ',', ';', '}' or '__attribute__' before 'CSR'
__IO uint32_t CSR; /*!< ADC Common status register, Address offset: ADC1/3 base address + 0x300 */
^~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:329:3: error: unknown type name '__IO'
__IO uint32_t CTR; /*!< ART accelerator - control register */
^~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:329:18: error: expected ':', ',', ';', '}' or '__attribute__' before 'CTR'
__IO uint32_t CTR; /*!< ART accelerator - control register */
^~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:338:3: error: unknown type name '__IO'
__IO uint32_t CSR; /*!< VREFBUF control and status register, Address offset: 0x00 */
^~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:338:17: error: expected ':', ',', ';', '}' or '__attribute__' before 'CSR'
__IO uint32_t CSR; /*!< VREFBUF control and status register, Address offset: 0x00 */
^~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:349:3: error: unknown type name '__IO'
__IO uint32_t CREL; /*!< FDCAN Core Release register, Address offset: 0x000 */
^~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:349:17: error: expected ':', ',', ';', '}' or '__attribute__' before 'CREL'
__IO uint32_t CREL; /*!< FDCAN Core Release register, Address offset: 0x000 */
^~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:410:3: error: unknown type name '__IO'
__IO uint32_t TTTMC; /*!< TT Trigger Memory Configuration register, Address offset: 0x100 */
^~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:410:17: error: expected ':', ',', ';', '}' or '__attribute__' before 'TTTMC'
__IO uint32_t TTTMC; /*!< TT Trigger Memory Configuration register, Address offset: 0x100 */
^~~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:437:3: error: unknown type name '__IO'
__IO uint32_t CREL; /*!< Clock Calibration Unit Core Release register, Address offset: 0x00 */
^~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:437:17: error: expected ':', ',', ';', '}' or '__attribute__' before 'CREL'
__IO uint32_t CREL; /*!< Clock Calibration Unit Core Release register, Address offset: 0x00 */
^~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:452:3: error: unknown type name '__IO'
__IO uint32_t CR; /*!< CEC control register, Address offset:0x00 */
^~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:452:17: error: expected ':', ',', ';', '}' or '__attribute__' before 'CR'
__IO uint32_t CR; /*!< CEC control register, Address offset:0x00 */
^~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:466:3: error: unknown type name '__IO'
__IO uint32_t DR; /*!< CRC Data register, Address offset: 0x00 */
^~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:466:17: error: expected ':', ',', ';', '}' or '__attribute__' before 'DR'
__IO uint32_t DR; /*!< CRC Data register, Address offset: 0x00 */
^~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:480:1: error: unknown type name '__IO'
__IO uint32_t CR; /*!< CRS ccontrol register, Address offset: 0x00 */
^~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:480:15: error: expected ':', ',', ';', '}' or '__attribute__' before 'CR'
__IO uint32_t CR; /*!< CRS ccontrol register, Address offset: 0x00 */
^~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:493:3: error: unknown type name '__IO'
__IO uint32_t CR; /*!< DAC control register, Address offset: 0x00 */
^~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:493:17: error: expected ':', ',', ';', '}' or '__attribute__' before 'CR'
__IO uint32_t CR; /*!< DAC control register, Address offset: 0x00 */
^~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:520:3: error: unknown type name '__IO'
__IO uint32_t FLTCR1; /*!< DFSDM control register1, Address offset: 0x100 */
^~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:520:17: error: expected ':', ',', ';', '}' or '__attribute__' before 'FLTCR1'
__IO uint32_t FLTCR1; /*!< DFSDM control register1, Address offset: 0x100 */
^~~~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:542:3: error: unknown type name '__IO'
__IO uint32_t CHCFGR1; /*!< DFSDM channel configuration register1, Address offset: 0x00 */
^~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:542:17: error: expected ':', ',', ';', '}' or '__attribute__' before 'CHCFGR1'
__IO uint32_t CHCFGR1; /*!< DFSDM channel configuration register1, Address offset: 0x00 */
^~~~~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:555:3: error: unknown type name '__IO'
__IO uint32_t IDCODE; /*!< MCU device ID code, Address offset: 0x00 */
^~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:555:17: error: expected ':', ',', ';', '}' or '__attribute__' before 'IDCODE'
__IO uint32_t IDCODE; /*!< MCU device ID code, Address offset: 0x00 */
^~~~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:576:3: error: unknown type name '__IO'
__IO uint32_t CR; /*!< DCMI control register 1, Address offset: 0x00 */
^~~~
In file included from C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h7xx.h:132:0,
from C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\STM32H7xx_HAL_Driver\Inc/stm32h7xx_hal_def.h:30,
from C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\STM32H7xx_HAL_Driver\Inc/stm32h7xx_hal_rcc.h:29,
from C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\STM32H7xx_HAL_Driver\Inc/stm32h7xx_hal_conf.h:246,
from C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\STM32H7xx_HAL_Driver\Inc/stm32h7xx_hal.h:30,
from C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_adc.c:307:
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:243:2: error: #error Please #define CORE_CM4 or CORE_CM7
#error Please #define CORE_CM4 or CORE_CM7
^~~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:576:17: error: expected ':', ',', ';', '}' or '__attribute__' before 'CR'
__IO uint32_t CR; /*!< DCMI control register 1, Address offset: 0x00 */
^~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:595:3: error: unknown type name '__IO'
__IO uint32_t CR; /*!< DMA stream x configuration register */
^~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:595:17: error: expected ':', ',', ';', '}' or '__attribute__' before 'CR'
__IO uint32_t CR; /*!< DMA stream x configuration register */
^~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:605:3: error: unknown type name '__IO'
__IO uint32_t LISR; /*!< DMA low interrupt status register, Address offset: 0x00 */
^~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:605:17: error: expected ':', ',', ';', '}' or '__attribute__' before 'LISR'
__IO uint32_t LISR; /*!< DMA low interrupt status register, Address offset: 0x00 */
^~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:613:3: error: unknown type name '__IO'
__IO uint32_t CCR; /*!< DMA channel x configuration register */
^~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:613:17: error: expected ':', ',', ';', '}' or '__attribute__' before 'CCR'
__IO uint32_t CCR; /*!< DMA channel x configuration register */
^~~
In file included from C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:255:0,
from C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h7xx.h:132,
from C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\STM32H7xx_HAL_Driver\Inc/stm32h7xx_hal_def.h:30,
from C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\STM32H7xx_HAL_Driver\Inc/stm32h7xx_hal_rcc.h:29,
from C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\STM32H7xx_HAL_Driver\Inc/stm32h7xx_hal_conf.h:246,
from C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\STM32H7xx_HAL_Driver\Inc/stm32h7xx_hal.h:30,
from C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_adc.c:307:
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/system_stm32h7xx.h:58:8: error: unknown type name 'uint32_t'
extern uint32_t SystemCoreClock; /*!< System Domain1 Clock Frequency */
^~~~~~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:622:3: error: unknown type name '__IO'
__IO uint32_t ISR; /*!< DMA interrupt status register, Address offset: 0x00 */
^~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/system_stm32h7xx.h:59:8: error: unknown type name 'uint32_t'
extern uint32_t SystemD2Clock; /*!< System Domain2 Clock Frequency */
^~~~~~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/system_stm32h7xx.h:60:15: error: unknown type name 'uint8_t'
extern const uint8_t D1CorePrescTable[16] ; /*!< D1CorePrescTable prescalers table values */
^~~~~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:622:17: error: expected ':', ',', ';', '}' or '__attribute__' before 'ISR'
__IO uint32_t ISR; /*!< DMA interrupt status register, Address offset: 0x00 */
^~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:628:3: error: unknown type name '__IO'
__IO uint32_t CCR; /*!< DMA Multiplexer Channel x Control Register */
^~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:628:18: error: expected ':', ',', ';', '}' or '__attribute__' before 'CCR'
__IO uint32_t CCR; /*!< DMA Multiplexer Channel x Control Register */
^~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:633:3: error: unknown type name '__IO'
__IO uint32_t CSR; /*!< DMA Channel Status Register */
^~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:633:18: error: expected ':', ',', ';', '}' or '__attribute__' before 'CSR'
__IO uint32_t CSR; /*!< DMA Channel Status Register */
^~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:639:3: error: unknown type name '__IO'
__IO uint32_t RGCR; /*!< DMA Request Generator x Control Register */
^~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:639:18: error: expected ':', ',', ';', '}' or '__attribute__' before 'RGCR'
__IO uint32_t RGCR; /*!< DMA Request Generator x Control Register */
^~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:644:3: error: unknown type name '__IO'
__IO uint32_t RGSR; /*!< DMA Request Generator Status Register */
^~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:644:18: error: expected ':', ',', ';', '}' or '__attribute__' before 'RGSR'
__IO uint32_t RGSR; /*!< DMA Request Generator Status Register */
^~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:653:3: error: unknown type name '__IO'
__IO uint32_t GISR0; /*!< MDMA Global Interrupt/Status Register 0, Address offset: 0x00 */
^~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:653:18: error: expected ':', ',', ';', '}' or '__attribute__' before 'GISR0'
__IO uint32_t GISR0; /*!< MDMA Global Interrupt/Status Register 0, Address offset: 0x00 */
^~~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:658:3: error: unknown type name '__IO'
__IO uint32_t CISR; /*!< MDMA channel x interrupt/status register, Address offset: 0x40 */
^~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:658:18: error: expected ':', ',', ';', '}' or '__attribute__' before 'CISR'
__IO uint32_t CISR; /*!< MDMA channel x interrupt/status register, Address offset: 0x40 */
^~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:680:3: error: unknown type name '__IO'
__IO uint32_t CR; /*!< DMA2D Control Register, Address offset: 0x00 */
^~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:680:17: error: expected ':', ',', ';', '}' or '__attribute__' before 'CR'
__IO uint32_t CR; /*!< DMA2D Control Register, Address offset: 0x00 */
^~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:711:3: error: unknown type name '__IO'
__IO uint32_t MACCR;
^~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:711:17: error: expected ':', ',', ';', '}' or '__attribute__' before 'MACCR'
__IO uint32_t MACCR;
^~~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:885:1: error: unknown type name '__IO'
__IO uint32_t RTSR1; /*!< EXTI Rising trigger selection register, Address offset: 0x00 */
^~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:885:15: error: expected ':', ',', ';', '}' or '__attribute__' before 'RTSR1'
__IO uint32_t RTSR1; /*!< EXTI Rising trigger selection register, Address offset: 0x00 */
^~~~~
In file included from C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h7xx.h:132:0,
from C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\STM32H7xx_HAL_Driver\Inc/stm32h7xx_hal_def.h:30,
from C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\STM32H7xx_HAL_Driver\Inc/stm32h7xx_hal_rcc.h:29,
from C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\STM32H7xx_HAL_Driver\Inc/stm32h7xx_hal_conf.h:246,
from C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\STM32H7xx_HAL_Driver\Inc/stm32h7xx_hal.h:30,
from C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal.c:36:
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:943:1: error: unknown type name '__IO'
__IO uint32_t IMR1; /*!< EXTI Interrupt mask register, Address offset: 0x00 */
^~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:943:15: error: expected ':', ',', ';', '}' or '__attribute__' before 'IMR1'
__IO uint32_t IMR1; /*!< EXTI Interrupt mask register, Address offset: 0x00 */
^~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:963:3: error: unknown type name '__IO'
__IO uint32_t ACR; /*!< FLASH access control register, Address offset: 0x00 */
^~~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:963:17: error: expected ':', ',', ';', '}' or '__attribute__' before 'ACR'
__IO uint32_t ACR; /*!< FLASH access control register, Address offset: 0x00 */
^~~
C:\Users\giliw\.platformio\packages\framework-stm32cubeh7\Drivers\CMSIS\Device\ST\STM32H7xx\Include/stm32h745xx.h:1015:3: error: unknown type name '__IO'