硬汉嵌入式论坛

 找回密码
 立即注册
查看: 2371|回复: 4
收起左侧

[NUCLEO-H743ZI] Micrium发布的uCOS-II/III + uC/TCPIP的Web Server例子

[复制链接]

1万

主题

6万

回帖

10万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
106662
QQ
发表于 2019-4-30 02:35:42 | 显示全部楼层 |阅读模式
Micrium_STM32H743ZI-Nucleo_Webserver.zip (4.97 MB, 下载次数: 86)


BLINKY EXAMPLE FOR THE ST STM32H743ZI Nucleo-144, REVISION B

This example project demonstrates how to initialize uC/TCPIP with uC/DHCPc and uC/HTTP server to display a simple webpage.

MICRIUM PRODUCT VERSIONS
- uC/OS-II  v2.92.16
- uC/OS-III v3.07.03
- uC/CPU    v1.31.04
- uC/LIB    v1.38.03
- uC/Common v1.01.01
- uC/TCPIP  v3.05.00
- uC/HTTP   v3.00.06
- uC/DHCPc  v2.10.01

IDE/COMPILER VERSIONS
- IAR/EWARM v8.32.1

HARDWARE SETUP
- Connect USB Micro-B cable to CN1 to provide power.
- Connect a Ethernet from your local network into the board's Ethernet port.

WORKSPACE LOCATIONS
- ST/STM32H743_Nucleo/Webserver/<OS2|OS3>/IAR/Webserver.eww

BUILD CONFIGURATIONS
- Several build configurations are available with this project:
    source      A full source build that generates an executable
    libgen      A full source build that generates a library
    library     A partial source build that links with the library created by "libgen"
- The "library" configuration can be run by users who do not have access to the source code for Micrium products.
- Users with access to the product source code can copy it into Micrium/Software/<product> and use the "source" and "libgen" configurations.
- Select the appropriate configuration that suits your needs by clicking on Project->Edit Configurations...

USAGE INSTRUCTIONS
IAR
- Open the workspace in IAR.
- Press F7 to build the project and Ctrl+D to start the debug session.
- Once the debug session has started, open the IAR terminal by selecting View->Terminal I/O.
- Press F5 to run the example.
- The uC/TCPIP stack will initialize first with DHCPc enabled and attempt to obtain an IP address from the LAN's DHCP server.
- Should the DHCP server fail to assign an IP address to the board, the application will assign a static IP defined in app_tcpip.c by:
    #define  IP_ADDR
    #define  SUBNET_MASK_ADDR
    #define  DFLT_GATEWAY_ADDR
- Once an IP is assigned to the board, you may point your web browser to the board's IP address and it will load a simple web page.
- Try toggling LEDs by clicking on the "Toggle LED 1" or "Toggle LED 2" buttons on the web page.


Please feel free to post questions or comments related to this example project at Micrium's forum page:

https://www.micrium.com/forums/t ... cleo-144-webserver/


回复

使用道具 举报

6

主题

92

回帖

110

积分

初级会员

积分
110
发表于 2019-4-30 10:59:17 | 显示全部楼层
哎,为啥就是和KEIL不对付呢
回复

使用道具 举报

36

主题

2039

回帖

2147

积分

至尊会员

积分
2147
发表于 2019-4-30 11:38:34 | 显示全部楼层
编译无法通过,不过倒是可以参考下。
Ever tried. Ever failed. No matter. Try Again. Fail again. Fail better.
回复

使用道具 举报

56

主题

904

回帖

1072

积分

至尊会员

积分
1072
发表于 2019-4-30 19:25:35 | 显示全部楼层
目前的支持ipv6不?  应该马上就全换6了。国家连路由器都要强制弄了。
回复

使用道具 举报

36

主题

2039

回帖

2147

积分

至尊会员

积分
2147
发表于 2019-5-3 18:05:34 | 显示全部楼层
roguebear 发表于 2019-4-30 19:25
目前的支持ipv6不?  应该马上就全换6了。国家连路由器都要强制弄了。

支持。
Ever tried. Ever failed. No matter. Try Again. Fail again. Fail better.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|Archiver|手机版|硬汉嵌入式论坛

GMT+8, 2024-4-29 08:02 , Processed in 0.258477 second(s), 28 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表