SPI Syntax Error From Generated code
I am using the Nucleo-H743ZI, with a SPI ISR I wrote originally on the STM32H7B3I-DK board. However, when I use
volatile uint8_t rxBuffer;
volatile uint8_t txBuffer;
*((__IO uint8_t *)&hspi->Instance->TXDR) = txBuffer;
//or
rxBuffer = *((__IO uint8_t *)&hspi->Instance->RXDR);
I get a syntax error on the Nulceo. I checked the stm32h7xx_hal.c file and they use these two lines for the default SPI handler. I have stm32h7xx_hal.h included, but still have a syntax error... wondering if anyone knows what may be going wrong.
I'm not sure why there is no error on my STM32H7B3I-DK board, but there is on the Nucleo.
