-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Currently, the stm32h7 chip config defines two separate MPU regions for the Ethernet peripheral, `eth` and `eth_dma`. But, these regions are contiguous in memory. So, we can combine them into one region and get an entire MPU slot back, which seems nice. Tested on my Gimletlet to confirm that the netstack still, you know, works: ```console eliza@theseus $ humility net ip humility: attached via ST-Link V3 MAC address: 0e:1d:de:f0:d9:21 IPv6 address: fe80::0c1d:deff:fef0:d921 eliza@theseus $ ping fe80::0c1d:deff:fef0:d921%eth0 PING fe80::0c1d:deff:fef0:d921%eth0 (fe80::c1d:deff:fef0:d921%eth0) 56 data bytes 64 bytes from fe80::c1d:deff:fef0:d921%eth0: icmp_seq=2 ttl=64 time=0.219 ms 64 bytes from fe80::c1d:deff:fef0:d921%eth0: icmp_seq=3 ttl=64 time=0.233 ms 64 bytes from fe80::c1d:deff:fef0:d921%eth0: icmp_seq=4 ttl=64 time=0.238 ms 64 bytes from fe80::c1d:deff:fef0:d921%eth0: icmp_seq=5 ttl=64 time=0.250 ms 64 bytes from fe80::c1d:deff:fef0:d921%eth0: icmp_seq=6 ttl=64 time=0.354 ms 64 bytes from fe80::c1d:deff:fef0:d921%eth0: icmp_seq=7 ttl=64 time=0.284 ms 64 bytes from fe80::c1d:deff:fef0:d921%eth0: icmp_seq=8 ttl=64 time=0.315 ms ^X64 bytes from fe80::c1d:deff:fef0:d921%eth0: icmp_seq=9 ttl=64 time=0.228 ms ^C --- fe80::0c1d:deff:fef0:d921%eth0 ping statistics --- 9 packets transmitted, 8 received, 11.1111% packet loss, time 8211ms rtt min/avg/max/mdev = 0.219/0.265/0.354/0.045 ms ```
- Loading branch information
Showing
8 changed files
with
8 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters