我使用PIC32 MZ加密板来运行PIC32 TythEngWebServer项目。我试图使用WOLSSL添加SSL功能,但是当我尝试连接到服务器时,执行会中断并返回内存错误。从开发者指南中,我看到40K堆大小在没有SSL的情况下会很好地服务。如果我试图通过编辑TCPPIpStaskJavaRosiSoad的大小来增加大小,堆栈初始化失败。(Prime3EthyWebServer的默认值在和谐2.03中为42000)。我该怎么处理呢?注意:当我使用WOLFSLSILTCPHELSE项目时,我不存在任何与服务器进行加密连接的问题。但是,当我使用PIC32 TythEngWebServer时,我会遇到内存错误,并且不会在堆上分配所需的缓冲区。
以上来自于百度翻译
以下为原文
I'm using the PIC32MZ Crypto board to run the pic32_eth_web_server project. I'm trying to add the SSL capability using wolfSSL but the execu
tion breaks and returns a Memory error when I try to connect to the server. From the developer's guide, I see that 40K heap size would serve well provided there is no SSL. If I try to increase the size by editing the value of TCPIP_STACK_DRAM_SIZE, the stack initialization fails.(The default value for pic32_eth_web_server in H
ARMony 2.03 is 42000). How should I proceed with this?
Note: When I use the wolfssl_tcp_server project, I don't have any issues in making an encrypted connection to the server. However, when I use pic32_eth_web_server, I run into memory errors and it doesn't allocate a required buffer on the heap.
Any help will be greatly appreciated!