2025-02-06 09:52 PM
hi,
I am trying to external loader connect with stm32h723zgt6 + w25q128 .
before loading the stldr file into debugger i need know why cube ide not compiling the data into qspi location ?
In the main.c file constant data has been declared as below .
const __attribute__((section(".extFlash"))) uint8_t buff[] = "Hello world from H723 QSPI";
In the flash id file has been modified as below.
QSPI_FLASH (r) : ORIGIN = 0x90000000, LENGTH = 16M
.extFlash :
{
*(.extFlash)
} >QSPI
after compiling why memory details not showing in the below menu
2025-02-07 12:10 AM
hello,
Try:
uint8_t buff[] __attribute__((section(".extFlash")));
2025-02-07 12:27 AM
hi,
i have modified as below :
uint8_t buff[] __attribute__((section(".extFlash")))= "hello world";
but still problem continues as same !. it not showing as earlier attached picture