STM32-SPI-Bootloader-host icon indicating copy to clipboard operation
STM32-SPI-Bootloader-host copied to clipboard

RAM function

Open giacominconsulting opened this issue 2 years ago • 0 comments

Hello,

Do you know why in the file spi_interface.c (STM32 Middleware Open Bootloader MCU ) some functions are placed in the RAM ? For example: #if defined (ICCARM) __ramfunc void OPENBL_SPI_SendByte(uint8_t Byte) #else attribute((section(".ramfunc"))) void OPENBL_SPI_SendByte(uint8_t Byte) #endif /* (ICCARM) */

Thank you for your help. Regards, Marco

giacominconsulting avatar Jun 10 '22 06:06 giacominconsulting