Skip to content

Commit 0703a02

Browse files
committed
Merge pull request #944 from xiongyihui/master
add net support target Seeed Arch Max (stm32f407)
2 parents 3b22bf5 + 8c48588 commit 0703a02

File tree

4 files changed

+588
-2
lines changed

4 files changed

+588
-2
lines changed

libraries/net/eth/EthernetInterface/EthernetInterface.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#ifndef ETHERNETINTERFACE_H_
2121
#define ETHERNETINTERFACE_H_
2222

23-
#if !defined(TARGET_LPC1768) && !defined(TARGET_LPC4088) && !defined(TARGET_LPC4088_DM) && !defined(TARGET_K64F) && !defined(TARGET_RZ_A1H)
23+
#if !defined(TARGET_LPC1768) && !defined(TARGET_LPC4088) && !defined(TARGET_LPC4088_DM) && !defined(TARGET_K64F) && !defined(TARGET_RZ_A1H) && !defined(TARGET_STM32F4)
2424
#error The Ethernet Interface library is not supported on this target
2525
#endif
2626

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/* Copyright (C) 2015 mbed.org, MIT License
2+
*
3+
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software
4+
* and associated documentation files (the "Software"), to deal in the Software without restriction,
5+
* including without limitation the rights to use, copy, modify, merge, publish, distribute,
6+
* sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
7+
* furnished to do so, subject to the following conditions:
8+
*
9+
* The above copyright notice and this permission notice shall be included in all copies or
10+
* substantial portions of the Software.
11+
*
12+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
13+
* BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
14+
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
15+
* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
16+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
17+
*/
18+
19+
#ifndef LWIPOPTS_CONF_H
20+
#define LWIPOPTS_CONF_H
21+
22+
#define LWIP_TRANSPORT_ETHERNET 1
23+
24+
#define MEM_SIZE (1600 * 16)
25+
26+
#endif

0 commit comments

Comments
 (0)