Commit Graph

24 Commits (4b3cddff2a66d5b13ad861e8782d1d630c2479c1)

Author SHA1 Message Date
jeromecoutant dfeeb821dc STM32 EMAC : increase thread-stacksize 2020-03-31 11:41:51 +02:00
jeromecoutant 488c9db81e STM32 EMAC : remove TIMEOUT issue when cablke is not plugged yet 2020-03-13 16:58:47 +01:00
jeromecoutant 3a02671028 STM32 EMAC : increase thread size when mbed-trace is enabled 2020-03-04 09:14:41 +01:00
jeromecoutant b15dffaef2 STM32 EMAC : add PHY ID information 2020-03-02 16:21:35 +01:00
jeromecoutant 01a186a952 STM32 EMAC : thread size is configurable 2020-03-02 16:21:23 +01:00
jeromecoutant c3c0928786 STM32 EMAC : enable mbed_trace 2020-03-02 16:21:11 +01:00
jeromecoutant 89a537b9a8 STM32 EMAC : check PHY_BSR value before connect status 2020-03-02 16:20:06 +01:00
jeromecoutant c3653c6813 STM32 EMAC : check driver function status before returning success 2020-03-02 16:19:58 +01:00
jeromecoutant 1b40076376 STM32 EMAC : more configurable
- PHY default configuration can be changed
  - AutoNegotiation
  - Speed
  - DuplexMode
- PHY register offset can be updated depending on chosen PHY

All unused parameters are cleaned.
2020-03-02 16:19:26 +01:00
Arto Kinnunen da04cc3fcf Update STM32 EMAC driver based on review
-Fix len type
-Use ETH_RX_BUF_SIZE instead of hard-coded value 1500
2020-02-21 10:26:57 +02:00
Arto Kinnunen 6a410f89eb Update STM32 EMAC driver - limit RX frame length
DISCO_F769NI EMAC driver may return ethernet packet with illegal
length when driver is under heavy load. In one case, the received
bytes indicate frame length of 53 bytes but advertised data length
was 65518 bytes. In another case EMAC driver variable
`EthHandle.RxFrameInfos.length` contained value 0xFFFF FFFC.

As a work-around accept only 1-1500 bytes long ethernet packets.
2020-02-21 10:26:40 +02:00
Martin Kojtal 9f5ced30dc
Merge pull request #12415 from jeromecoutant/PR_H7README
STM32H7 : add readme file for dual core use
2020-02-19 12:52:10 +00:00
jeromecoutant 0c8add6e28 DISCO_H747I_CM4 compilation issue
SCB_DisableDCache() function is only available for M7 core.
2020-02-12 09:14:58 +01:00
Zhiyonh Li 128d5b5170 Update mbed_lib.json 2020-02-10 23:26:28 -08:00
Zhiyonh Li 884f9c99e3 Fixed bug that EthernetInterface doesn't detect change of connection status on ARCH_MAX board.
ARCH_MAX board uses 0x01 as PHY address, different from other NUCLEO STM32 boards. To faciliate change of PHY address of customized boards, a configuration entry eth-phyaddr was added and can be overriden as needed in mbed_app.json by adding "stm32-emac.eth-phyaddr": X. Macro ETH_ARCH_PHY_ADDRESS was also renamed to ETH_PHY_ADDRESS, because it is not only used by ARCH_MAX board but also other boards.
2020-02-10 17:56:09 -08:00
jeromecoutant 54aa300a3c STM32 EMAC astyle corrections 2019-12-10 14:39:47 +01:00
Martin Kojtal e9cb9cb014
Merge pull request #12018 from jeromecoutant/PR_OLIMEX_EMAC
STM32_EMAC cleanup
2019-12-05 14:03:46 +01:00
Martin Kojtal 58da078df9
Merge pull request #12015 from jeromecoutant/PR_ETHERNET_ARMC5
STM EMAC: compilation issue with ARMC5
2019-12-05 08:23:11 +01:00
jeromecoutant 093099b2e7 STM_EMAC: move TARGET_OLIMEX to the correct directory 2019-12-03 14:48:05 +01:00
jeromecoutant 27f40156b5 STM EMAC: compilation issue with ARMC5 2019-12-03 14:33:24 +01:00
Hamza Rizwan c15320d48e Fixes for Network WiFi Test Crashes 2019-11-29 14:52:25 +05:00
jeromecoutant 7fcedd20e1 DISCO STM32H747I ETHERNET support, but disabled.
Ethernet is disabled by default,
because some hardware modifications are required on the board DISCO_H747I.
see https://os.mbed.com/teams/ST/wiki/DISCO_H747I-modifications-for-Ethernet
2019-11-08 16:05:00 +01:00
jeromecoutant af8ab49a74 Avoid compilation if target doesn't support EMAC 2019-10-07 14:01:48 +02:00
jeromecoutant 587393bb45 STM32 EMAC: move from TARGET_STM_EMAC to TARGET_STM 2019-10-07 10:57:31 +02:00