Compilation fails with RTOS version of SDK
Opened this issue · 2 comments
nanosonde commented
Hi,
there seem to be some files missing in the RTOS version of the SDK: https://github.com/espressif/esp_iot_rtos_sdk
It would be nice, if you could fix this, so that the AT+ app could be compiled using the RTOS version of the SDK.
AthenaYu commented
Missing file of RTOS sdk maybe here..
https://github.com/espressif/esp_iot_rtos_sdk_lib
AT+ on RTOS SDK is still in developing , didn't release..
nanosonde commented
The header files "osapi.h" and "user_interface.h" are not included in the RTOS version.
They only exist in the SDK without RTOS.
ets_sys.h is there: esp_iot_rtos_sdk/include/espressif/esp8266/ets_sys.h
make[1]: Entering directory `/opt/Espressif/esp_iot_rtos_sdk/at/user'
DEPEND: xtensa-lx106-elf-gcc -M -Os -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -D__ets__ -DICACHE_FLASH -I include -I ./ -I ../../rom/include -I ../../include/ets -I ../include -I ./ -I ../../include -I ../../extra_include -I ../../include/lwip -I ../../include/lwip/ipv4 -I ../../include/lwip/ipv6 -I ../../include/espressif user_main.c
user_main.c:18:21: fatal error: ets_sys.h: No such file or directory
#include "ets_sys.h"
^
compilation terminated.
DEPEND: xtensa-lx106-elf-gcc -M -Os -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -D__ets__ -DICACHE_FLASH -I include -I ./ -I ../../rom/include -I ../../include/ets -I ../include -I ./ -I ../../include -I ../../extra_include -I ../../include/lwip -I ../../include/lwip/ipv4 -I ../../include/lwip/ipv6 -I ../../include/espressif at_wifiCmd.c
at_wifiCmd.c:18:28: fatal error: user_interface.h: No such file or directory
#include "user_interface.h"
^
compilation terminated.
DEPEND: xtensa-lx106-elf-gcc -M -Os -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -D__ets__ -DICACHE_FLASH -I include -I ./ -I ../../rom/include -I ../../include/ets -I ../include -I ./ -I ../../include -I ../../extra_include -I ../../include/lwip -I ../../include/lwip/ipv4 -I ../../include/lwip/ipv6 -I ../../include/espressif at_port.c
at_port.c:19:28: fatal error: user_interface.h: No such file or directory
#include "user_interface.h"
^
compilation terminated.
DEPEND: xtensa-lx106-elf-gcc -M -Os -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -D__ets__ -DICACHE_FLASH -I include -I ./ -I ../../rom/include -I ../../include/ets -I ../include -I ./ -I ../../include -I ../../extra_include -I ../../include/lwip -I ../../include/lwip/ipv4 -I ../../include/lwip/ipv6 -I ../../include/espressif at_ipCmd.c
at_ipCmd.c:19:28: fatal error: user_interface.h: No such file or directory
#include "user_interface.h"
^
compilation terminated.
DEPEND: xtensa-lx106-elf-gcc -M -Os -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -D__ets__ -DICACHE_FLASH -I include -I ./ -I ../../rom/include -I ../../include/ets -I ../include -I ./ -I ../../include -I ../../extra_include -I ../../include/lwip -I ../../include/lwip/ipv4 -I ../../include/lwip/ipv6 -I ../../include/espressif at_cmd.c
at_cmd.c:19:28: fatal error: user_interface.h: No such file or directory
#include "user_interface.h"
^
compilation terminated.
DEPEND: xtensa-lx106-elf-gcc -M -Os -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -D__ets__ -DICACHE_FLASH -I include -I ./ -I ../../rom/include -I ../../include/ets -I ../include -I ./ -I ../../include -I ../../extra_include -I ../../include/lwip -I ../../include/lwip/ipv4 -I ../../include/lwip/ipv6 -I ../../include/espressif at_baseCmd.c
at_baseCmd.c:19:19: fatal error: osapi.h: No such file or directory
#include "osapi.h"
^
compilation terminated.
xtensa-lx106-elf-gcc -Os -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -D__ets__ -DICACHE_FLASH -I include -I ./ -I ../../rom/include -I ../../include/ets -I ../include -I ./ -I ../../include -I ../../extra_include -I ../../include/lwip -I ../../include/lwip/ipv4 -I ../../include/lwip/ipv6 -I ../../include/espressif -o .output/eagle/debug/obj/at_baseCmd.o -c at_baseCmd.c
at_baseCmd.c:19:19: fatal error: osapi.h: No such file or directory
#include "osapi.h"
^
compilation terminated.
make[1]: *** [.output/eagle/debug/obj/at_baseCmd.o] Fehler 1
make[1]: Leaving directory `/opt/Espressif/esp_iot_rtos_sdk/at/user'
make: *** [.subdirs] Fehler 2