Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 7 months ago.
EthernetInterface for STM32F746NG-Discovery requires changes in Linkerscript how to edit?
Hi, I have the EthernetInterface for the STM32F7 up and running. But I cant publish since the editing of linkerscripts is not allowed. The changes are: Add qspi for webcontent
MEMORY { FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 1024K ISRV (rwx) : ORIGIN = 0x20000000, LENGTH = 0x1C8 RAM (rwx) : ORIGIN = 0x200001C8, LENGTH = 320K - 0x1C8 QSPI (rx) : ORIGIN = 0x90000000, LENGTH = 16384K }
with 4 ranges for use (names can be different it is just to have a choice) .QSPIFLASH : { . = ALIGN(4); res_start = .;
- (.resources) res_end = .;
- (.resourcesend)
. = ALIGN(4);
- (.resourcedata) /* .data sections */ . = ALIGN(4096); /* align to a page */ _qspifs = .; /* define a global symbol at data end */
- (.qspifs) /* .data sections */ _qspifsend = .; } >QSPI
and create a range in uncached area thats between 0x20000000 and 0x20010000 in the ram
.data : AT (etext) { data_start = .; _sdata = .;
- (.dmatransfer) This is added
- (vtable)
- (.data*)
. = ALIGN(4); /* preinit data */ PROVIDE_HIDDEN (preinit_array_start = .); KEEP(*(.preinit_array)) PROVIDE_HIDDEN (preinit_array_end = .);
. = ALIGN(4); /* init data */ PROVIDE_HIDDEN (init_array_start = .); KEEP(*(SORT(.init_array.*))) KEEP(*(.init_array)) PROVIDE_HIDDEN (init_array_end = .);
. = ALIGN(4); /* finit data */ PROVIDE_HIDDEN (fini_array_start = .); KEEP(*(SORT(.fini_array.*))) KEEP(*(.fini_array)) PROVIDE_HIDDEN (fini_array_end = .);
KEEP(*(.jcr*)) . = ALIGN(4); /* All data end */ data_end = .; _edata = .; } > RAM
with best regards Dieter Graef
Can this be merged in mbedmicro/mbed as part of the STM32F7 target?
posted by Jan Jongboom 20 Apr 2016Hi Dieter,
any news on EthernetInterface for STM32F746NG-Discovery ?!
I have asked 'ST support team' for it here : https://developer.mbed.org/questions/69109/USB-Device-EthernetInterface-support-for/#answer10377
BR, Ales
posted by Ales Burian 15 Jun 2016Its working stable for month here but as a bare metal amateur only my light might be too small to have changes done. See also here: https://github.com/mbedmicro/mbed/issues/1663
posted by Dieter Graef 16 Jun 2016