Skip to content

Commit 97d2161

Browse files
committed
[platform] Enable Ethernet and FreeTROS+TCP for STM32F4
1 parent e07f57d commit 97d2161

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ Please [discover modm's peripheral drivers for your specific device][discover].
228228
<td align="center">○</td>
229229
<td align="center">○</td>
230230
<td align="center">✕</td>
231-
<td align="center"></td>
231+
<td align="center"></td>
232232
<td align="center">✅</td>
233233
<td align="center">✕</td>
234234
<td align="center">✕</td>

ext/aws/modm_lan8720a.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,11 +153,11 @@ struct ethernet
153153
using DmaDescriptor_t = DmaDescriptor;
154154

155155
/* Ethernet Rx DMA Descriptor */
156-
modm_aligned(32) modm_fastdata
156+
modm_aligned(32)
157157
static DmaDescriptor_t DmaRxDescriptorTable[RX_BUFFER_NUMBER];
158158

159159
/* Ethernet Tx DMA Descriptor */
160-
modm_aligned(32) modm_fastdata
160+
modm_aligned(32)
161161
static DmaDescriptor_t DmaTxDescriptorTable[TX_BUFFER_NUMBER];
162162

163163
static DmaDescriptor_t *RxDescriptor; /*!< Rx descriptor to Get */

ext/aws/module.lb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ This module implements TCP over Ethernet via the LAN8720A transceiver.
2323
device = options[":target"]
2424
if not device.has_driver("eth:stm32*"):
2525
return False
26-
if device.identifier.family not in ["f7"]:
26+
if device.identifier.family not in ["f7", "f4"]:
2727
return False
2828
module.depends(":platform:eth", ":driver:lan8720a")
2929
return True

src/modm/platform/eth/stm32/module.lb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def prepare(module, options):
2121
if not device.has_driver("eth:stm32*"):
2222
return False
2323
# FIXME the driver is for F7 only right now
24-
if device.identifier["family"] not in ["f7"]:
24+
if device.identifier["family"] not in ["f7", "f4"]:
2525
return False
2626

2727
module.depends(":architecture:delay",

0 commit comments

Comments
 (0)