cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H563ZI LINKER

Recep
Associate II

Hi,

I am working on freertos plus tcp library with STM32H563ZI, but how must I make memory otions in linker file?

like: 

RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 320K
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 2048K
RAM1 (xrw) : ORIGIN = 0x20000000, LENGTH = 256K
RAM2 (xrw) : ORIGIN = 0x20040000, LENGTH = 64K
RAM3 (xrw) : ORIGIN = 0x20050000, LENGTH = 320K

it is wrong I know but how can I make this right ?

11 REPLIES 11

This is in stm32h5xx_hal_eth.h, use that...

/**
  * @brief checks whether the specified ETH WAKEUP Exti interrupt flag is set or not.
  * @PAram  __EXTI_LINE__: specifies the ETH WAKEUP Exti sources to be cleared.
  *   @arg ETH_WAKEUP_EXTI_LINE
  * @retval EXTI ETH WAKEUP Line Status.
  */
#define __HAL_ETH_WAKEUP_EXTI_GET_FLAG(__EXTI_LINE__)  (EXTI->RPR2 & (__EXTI_LINE__))

 

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Thank you @Tesla DeLorean for that, I saw what you referred me to, and I can automatically just replace all the relevant different values from the H7 with the H5 ones but I want to use the experience of @Recep that said he have a running project by only replacing the include files and he did not mention changing anything in the files so maybe I'm missing something.