Closed supersjimmie closed 7 years ago
Hmm, issue #9 gave me a clue, and then I found a line saying:
Note that additional src files should be removed to prevent excess irom size
I guess I have to figure out what is meant by the 4 lines regarding WolfSSL...
I am sorry but I really tried to understand this part:
wolfSSL
Included (src,hdr) is a subsection of the wolfSSL 3.9.8 distribution for convenience.
We had to change 3 files which will be documented below the file tree.
Please download your own copy and verify the equality of the files (*.0 is original)
Note that additional src files should be removed to prevent excess irom size.
When I try the gen_misc.sh, I get:
user_main.c:59:17: fatal error: hkc.h: No such file or directory
#include "hkc.h"
^
compilation terminated.
There must be missing something around that Wolf thing, right? Normally I should have to make the wolf stuff, what do I have to do with the included files? Things like
./configure
make
sudo make install
Don't seem to work. :(
What am I expected to do with the line saying additional src files should be removed
?
And what else is needed to get wolfssl working?
Continuing my search for a solution, but not found yet.
I see that ESP8266-HomeKit$ ./deploy.sh
creates the files: deployed lib/libhkc.a and include/hkc.h
.
This seems to be working fine.
But then I go to the ESP8266-HomeKit-Demo/Demo and run ./gen_misc.sh
, which fails because it cannot find hkc.h
user_main.c:59:17: fatal error: hkc.h: No such file or directory
#include "hkc.h"
Oh boy... Now I found that I had the export SDK_PATH=
set wrong, that seems to solve the hkc.h issue.
But then I am back to the will not fit
issue.
And then I found another missing part (for me).
Since I was not able to find it in the other issue #9 I think it may be nice for others who run into this, you need to do this before compiling, while it is mentioned after the compiling:
To address this it is needed to change the ESP8266_RTOS_SDK/ld/eagle.app.v6.ld file
I tried to prepare my environment to build this Demo. Since I am not very experienced with linux compiling, I hope my problem is easy for somebody else...
I start with:
The error is:
My appologies for the messages being parially in Dutch. I think in English it's like: