Skip to main content
Joerg Wagner
Senior III
Oct 4, 2017 6:09 PM UTC
Solved

[Solved] Linker script: block RAM for variables

Posted on October 04, 2017 at 20:09

How do I have to configure the linker script file to block the required space

for Ethernet buffers at 0x24000000?

STM32H743 starts with DTCM at 0x20000000, but Ethernet works in 0x24000000 only.

I want to use the RAM space around for my purpose without losing so much.

In ethernetif.c the buffers are marked with .RxDecripSection, .TxDecripSection, .RxArraySection.

I'm not a linker file specialist to make the right definitions.

Thank you for your help.

    This topic has been closed for replies.
    Joerg Wagner
    Joerg WagnerBest answer
    Senior III
    Feb 7, 2018 10:44 PM UTC
    Posted on February 07, 2018 at 23:44

    Solved with HAL 1.2.0

    5 replies

    Joerg Wagner
    Senior III
    Oct 6, 2017 9:16 AM UTC
    Posted on October 06, 2017 at 11:16

    I modified the linker script file for myself to place ETH descriptors and RX buffer in one SRAM block. It's so much fun so I did it for the UART buffer as well in another SRAM section for DMA transfer. 

    Nesrine M_O
    Associate
    Oct 6, 2017 11:22 AM UTC

    Posted on October 06, 2017 at 11:22

    Hi

    Wagner.Joerg

    ,

    0690X00000608VuQAI.pnghttps://community.st.com/0D50X00009bMM5DSAW

    -Nesrine-

    Joerg Wagner
    Joerg WagnerAuthorBest answer
    Senior III
    Feb 7, 2018 10:44 PM UTC
    Posted on February 07, 2018 at 23:44

    Solved with HAL 1.2.0