CHERTS / esp8266-devkit

Unofficial Development Kit for Espressif ESP8266
http://www.programs74.ru
GNU General Public License v3.0
261 stars 100 forks source link

SHA1 implementation #26

Closed crosofg closed 8 years ago

crosofg commented 8 years ago

Hi I want to use SHA function in the UDK. https://github.com/esp8266/Arduino/tree/master/libraries/Hash/src/sha1

I copied the .c and .h files in the user folder. what changes needs to be made in the makefile? I always get

user/user_main.c:121: undefined reference to `sha1'
build/app_app.a(user_main.o): In function `user_init':
flexiti commented 8 years ago

did you added #include sha1.h in Your app_app ?

crosofg commented 8 years ago

yes i did.