- Mon Jan 23, 2017 7:14 am
#61414
This is what my makefile looks like right now, I have added the lib folder containing the esphttpclient files into my project.
# Main settings includes
include ../settings.mk
# Individual project settings (Optional)
SDK_BASE = c:/Espressif/ESP8266_RTOS_SDK
#BOOT = new
#APP = 1
SPI_SPEED = 80
#SPI_MODE = QIO
SPI_SIZE_MAP = 0
#ESPPORT = COM2
ESPBAUD = 74880
# Basic project settings
MODULES = driver user lib/esphtpclient
LIBS = gcc hal phy pp net80211 wpa crypto main freertos lwip minic smartconfig ssl
# Root includes
include ../common_rtos.mk
UPDATE: You might have seen what was wrong in the file, I had written in the MODULES = driver user lib/
esphtpclient instead of
esphttpclient. Anyway now i got it to compile the httpclient.c file but get a lot of errors that there is undefined reference for os_free, ets_strstr, os_malloc etc... In other words the include files in the httpclient seem not to find the include .h files for osapi.h, espconn.h, mem.h etc... Do you have any idea why? Have I missed something? Thanks in advance!