View Single Post
Old 01-03-2010, 09:23 AM   #4
chandufo
Nhập môn đệ tử
 
chandufo's Avatar
 
Tham gia ngày: May 2009
Bài gửi: 9
:
ah, tớ hiểu rồi, sau khi đọc phần help của TCPIP stack, phần MPFS2 như sau:
"The MPFS2 file system module provides a light-weight read-only file system that can be stored in external EEPROM, external serial Flash, or internal Flash program memory. This file system serves as the basis for the HTTP2 web server module, but is also used by the SNMP module and is available to other applications that require basic read-only storage capabilities. "

Như vậy có thể lưu Web nhúng vào bộ nhớ chương trình (giống như mikroC làm)

Để bỏ MPFS2, ta bỏ luôn sử dụng http2, và SNMP. Vì vậy trong file cấu hình TCPIPConfig.h ta bỏ các tùy chọn đó như sau:
//...#define STACK_USE_HTTP2_SERVER
//...#define STACK_USE_SNMP_SERVER
/* MPFS Configuration
* MPFS is automatically included when required for other
* applications. If your custom application requires it
* otherwise, uncomment the appropriate selection.
*/
//#define STACK_USE_MPFS
//#define STACK_USE_MPFS2
chandufo vẫn chưa có mặt trong diễn đàn   Trả Lời Với Trích Dẫn