Skip to content

[net] add target Seeed Arch Max (stm32f407) #944

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 10, 2015

Conversation

xiongyihui
Copy link
Contributor

net support for Seeed Arch Max (stm32f407 + dp83848, RMII interface)

@0xc0170
Copy link
Contributor

0xc0170 commented Mar 6, 2015

Is this fully functional -> any tests which results can be shared here?
I would like us to provide more details regarding testing, when adding new feature.

@xiongyihui
Copy link
Contributor Author

http://developer.mbed.org/users/yihui/code/Arch_Max_Ethernet_Dev is a program including the changes (with a little difference). It works.
It's a HTTP client program.

@0xc0170
Copy link
Contributor

0xc0170 commented Mar 6, 2015

There's comment: but can't send data, still true?

@xiongyihui
Copy link
Contributor Author

The description needs a update. It can send data now.

@0xc0170
Copy link
Contributor

0xc0170 commented Mar 9, 2015

There are net tests, which you can run to test this addition : https://github.com/mbedmicro/mbed/tree/master/libraries/tests/net . Can you run at least some of them and share the results with us?

@xiongyihui
Copy link
Contributor Author

Here is the test result of [94] NET_8: NTP client and [93] NET_7: HTTP client hello world. The net library works well.

$ python make.py -m ARCH_MAX -t GCC_ARM -d G: -s COM54 -b 9600 -p 94
Building project NTPCLIENT_HELLOWORLD (ARCH_MAX, GCC_ARM)
Image: d:\mbed-SDK\build\test\ARCH_MAX\GCC_ARM\NET_8\NTPClient_HelloWorld.bin
ost_test_name;default_auto}}
{{description;NTP client}}
{{test_id;NET_8}}
{{start}}
NTP_SETTIME: Trying to update time...
NTP_SETTIME: UTC Time read successfully ... [OK]
NTP_SETTIME: Tue Mar 10 06:54:37 2015

{{success}}
{{end}}


$ python make.py -m ARCH_MAX -t GCC_ARM -d G: -s COM54 -b 9600 -p 93
Building project HTTPCLIENT_HELLOWORLD (ARCH_MAX, GCC_ARM)
Image: d:\mbed-SDK\build\test\ARCH_MAX\GCC_ARM\NET_7\HTTPClient_HelloWorld.bin
{{timeout;15}}
{{host_test_name;default_auto}}
{{description;HTTP client hello world}}
{{test_id;NET_7}}
{{start}}
HTTP_GET: Trying to fetch page 'http://developer.mbed.org/media/uploads/donatien/hello.txt'...
HTTP_GET: Read 12 chars: 'Hello world!' ... [OK]
HTTP_POST: Trying to post data to 'http://httpbin.org/post' ...
HTTP_POST: Read 327 chars ... [OK]
HTTP_POST: {
  "args": {},
  "data": "",
  "files": {},
  "form": {
    "Hello": "World",
    "test": "1234"
  },
  "headers": {
    "Content-Length": "21",
    "Content-Type": "application/x-www-form-urlencoded",
    "Host": "httpbin.org"
  },
  "json": null,
  "origin": "183.37.245.248",
  "url": "http://httpbin.org/post"
}

{{success}}
{{end}}

0xc0170 added a commit that referenced this pull request Mar 10, 2015
add net support target Seeed Arch Max (stm32f407)
@0xc0170 0xc0170 merged commit 0703a02 into ARMmbed:master Mar 10, 2015
@xiongyihui
Copy link
Contributor Author

@0xc0170 Could you be able to sync the EthernetInterface library?

@0xc0170
Copy link
Contributor

0xc0170 commented Mar 12, 2015

The server responsible for synch eth libraries is not working currently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants