Hi, I finally got a toolchain going (I think) with esp-alt-sdk but when trying to build the blinky example i get this:
lars@ubuntu:~/esp-alt-sdk/source-code-examples/blinky$ make
LD build/app.out
/home/lars/esp-alt-sdk/esp_iot_sdk_v1.5.2/lib/libwpa.a(wpa_auth.o): In function `wpa_receive':
(.irom0.text+0x9a0): undefined reference to `aes_wrap'
/home/lars/esp-alt-sdk/esp_iot_sdk_v1.5.2/lib/libwpa.a(wpa_auth.o): In function `__wpa_send_eapol':
(.irom0.text+0xd73): undefined reference to `aes_wrap'
collect2: error: ld returned 1 exit status
Makefile:117: recipe for target 'build/app.out' failed
First I got a bunch of implicit declaration warnings so I included the espmissingincludes.h as described here esp8266/esp8266-wiki#41
Then I got errors about the volatile declaration on volatile os_timer_t some_timer being discarded when calling for example os_timer_arm(&some_timer, 1000, 1); and solved that by explicitly casting away the volatile with os_timer_arm((os_timer_t*)&some_timer, 1000, 1);
Then I got another implicit declaration error for system_os_task and not knowing what to include to fix it I added -Wno-implicit-function-declaration to the Makefile
Then I got the above error related to libwpa.a and I don't know how to proceed...
Hi, I finally got a toolchain going (I think) with esp-alt-sdk but when trying to build the blinky example i get this:
First I got a bunch of implicit declaration warnings so I included the espmissingincludes.h as described here esp8266/esp8266-wiki#41 Then I got errors about the volatile declaration on
volatile os_timer_t some_timer
being discarded when calling for exampleos_timer_arm(&some_timer, 1000, 1);
and solved that by explicitly casting away the volatile withos_timer_arm((os_timer_t*)&some_timer, 1000, 1);
Then I got another implicit declaration error for system_os_task and not knowing what to include to fix it I added-Wno-implicit-function-declaration
to the Makefile Then I got the above error related to libwpa.a and I don't know how to proceed...