Skip to content

Commit 918a0f5

Browse files
committed
Revert "DISCO STM32H747I ETHERNET support, but disabled."
This reverts commit 7fcedd2.
1 parent 8137aaf commit 918a0f5

File tree

5 files changed

+4
-184
lines changed

5 files changed

+4
-184
lines changed

features/netsocket/emac-drivers/TARGET_STM/TARGET_STM32H7/TARGET_DISCO_H747I/stm32h7_eth_init.c

Lines changed: 0 additions & 149 deletions
This file was deleted.

features/netsocket/emac-drivers/TARGET_STM/stm32xx_emac.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,9 @@ bool STM32_EMAC::low_level_init_successful()
317317
}
318318
#else // ETH_IP_VERSION_V2
319319
{
320-
uint32_t idx;
320+
uint32_t idx, duplex, speed = 0;
321+
int32_t PHYLinkState;
322+
ETH_MACConfigTypeDef MACConf;
321323

322324
MPU_Config();
323325

targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_DISCO_H747I_CM7/TOOLCHAIN_ARM_STD/stm32h747xI.sct

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -41,25 +41,11 @@ LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region
4141
*(InRoot$$Sections)
4242
.ANY (+RO)
4343
}
44-
44+
4545
RW_IRAM1 (MBED_RAM0_START) (MBED_RAM0_SIZE-Stack_Size) { ; RW data
4646
.ANY (+RW +ZI)
4747
}
4848

4949
ARM_LIB_STACK (MBED_RAM0_START+MBED_RAM0_SIZE) EMPTY -Stack_Size { ; stack
5050
}
51-
52-
RW_DMARxDscrTab 0x30040000 0x60 {
53-
*(.RxDecripSection)
54-
}
55-
RW_DMATxDscrTab 0x30040100 0x140 {
56-
*(.TxDecripSection)
57-
}
58-
RW_Rx_Buffb 0x30040400 0x1800 {
59-
*(.RxArraySection)
60-
}
61-
RW_Eth_Ram 0x30044000 0x4000 {
62-
*(.ethusbram)
63-
}
64-
6551
}

targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_DISCO_H747I_CM7/TOOLCHAIN_GCC_ARM/STM32H747xI.ld

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -179,19 +179,4 @@ SECTIONS
179179

180180
/* Check if data + heap + stack exceeds RAM limit */
181181
ASSERT(__StackLimit >= __HeapLimit, "region RAM overflowed with stack")
182-
183-
.lwip_sec (NOLOAD) : {
184-
. = ABSOLUTE(0x30040000);
185-
*(.RxDecripSection)
186-
187-
. = ABSOLUTE(0x30040100);
188-
*(.TxDecripSection)
189-
190-
. = ABSOLUTE(0x30040400);
191-
*(.RxArraySection)
192-
193-
. = ABSOLUTE(0x30044000);
194-
*(.ethusbram)
195-
196-
} >RAM_D2 AT> FLASH
197182
}

targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_DISCO_H747I_CM7/TOOLCHAIN_IAR/stm32h747xI.icf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@ define memory mem with size = 4G;
3737
define region ROM_region = mem:[from __region_ROM_start__ to __region_ROM_end__];
3838
define region RAM_region = mem:[from __region_RAM_start__ to __region_RAM_end__];
3939

40-
// Memory region used for ethernet
41-
define region eth_mem_region = mem:[from 0x30044000 to 0x30048000 ];
42-
place in eth_mem_region { section .ethusbram };
43-
4440
// Stack and Heap
4541
define symbol __size_cstack__ = MBED_BOOT_STACK_SIZE;
4642
define symbol __size_heap__ = 0x10000; // 64KB

0 commit comments

Comments
 (0)