8000 HTTP/S Server/Client Module (#118) · pycom/pycom-micropython-sigfox@73f0021 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Commit 73f0021

Browse files
authored
HTTP/S Server/Client Module (#118)
1 parent 669d1e3 commit 73f0021

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+1741
-227
lines changed

esp32/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ifeq ($(wildcard boards/$(BOARD)/.),)
1414
$(error Invalid BOARD specified)
1515
endif
1616

17-
IDF_HASH=d072c55
17+
IDF_HASH=1f96153
1818

1919
TARGET ?= boot_app
2020

@@ -103,7 +103,7 @@ LIBS = -L$(ESP_IDF_COMP_PATH)/esp32/lib -L$(ESP_IDF_COMP_PATH)/esp32/ld -L$(ESP_
103103
$(ESP_IDF_COMP_PATH)/newlib/lib/libc-psram-workaround.a \
104104
-lfreertos -ljson -ljsmn -llwip -lnewlib -lvfs -lopenssl -lmbedtls -lwpa_supplicant \
105105
-lxtensa-debug-module -lbt -lsdmmc -lsoc -lheap -lbootloader_support -lmicro-ecc \
106-
-u ld_include_panic_highint_hdl -lsmartconfig_ack -lmesh -lesp_ringbuf -lcoap -lmdns -lefuse -lespcoredump -lapp_update
106+
-u ld_include_panic_highint_hdl -lsmartconfig_ack -lmesh -lesp_ringbuf -lcoap -lmdns -lefuse -lespcoredump -lapp_update -lesp_http_server -lesp_https_server -lesp_http_client -ltcp_transport -lesp-tls
107107
ifeq ($(BOARD), $(filter $(BOARD), SIPY LOPY4 FIPY))
108108
LIBS += sigfox/modsigfox_$(BOARD).a
109109
$(BUILD)/application.elf: sigfox/modsigfox_$(BOARD).a

esp32/application.mk

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,17 @@ APP_INC += -I$(ESP_IDF_COMP_PATH)/coap/libcoap/examples
7878
APP_INC += -I$(ESP_IDF_COMP_PATH)/coap/port/include
7979
APP_INC += -I$(ESP_IDF_COMP_PATH)/coap/port/include/coap
8080
APP_INC += -I$(ESP_IDF_COMP_PATH)/mdns/include
81+
APP_INC += -I$(ESP_IDF_COMP_PATH)/esp_https_server/include
82+
APP_INC += -I$(ESP_IDF_COMP_PATH)/esp_http_server/include
83+
APP_INC += -I$(ESP_IDF_COMP_PATH)/esp_http_server/src
84+
APP_INC += -I$(ESP_IDF_COMP_PATH)/esp_http_server/src/port/esp32
85+
APP_INC += -I$(ESP_IDF_COMP_PATH)/esp_http_client/include
86+
APP_INC += -I$(ESP_IDF_COMP_PATH)/esp_http_client/lib/include
87+
APP_INC += -I$(ESP_IDF_COMP_PATH)/openssl/include
88+
APP_INC += -I$(ESP_IDF_COMP_PATH)/nghttp/port/include
89+
APP_INC += -I$(ESP_IDF_COMP_PATH)/tcp_transport
90+
APP_INC += -I$(ESP_IDF_COMP_PATH)/esp-tls
91+
APP_INC += -I$(ESP_IDF_COMP_PATH)/tcp_transport/include
8192
APP_INC += -I../lib/mp-readline
8293
APP_INC += -I../lib/netutils
8394
APP_INC += -I../lib/oofatfs
@@ -162,6 +173,7 @@ APP_MODS_SRC_C = $(addprefix mods/,\
162173
machtouch.c \
163174
modcoap.c \
164175
modmdns.c \
176+
modhttp.c \
165177
)
166178

167179
APP_MODS_LORA_SRC_C = $(addprefix mods/,\
1.04 KB
Binary file not shown.

esp32/bootloader/lib/libefuse.a

272 Bytes
Binary file not shown.

esp32/bootloader/lib/liblog.a

60 Bytes
Binary file not shown.

esp32/bootloader/lib/libmicro-ecc.a

20 Bytes
Binary file not shown.

esp32/bootloader/lib/libsoc.a

592 Bytes
Binary file not shown.

esp32/bootloader/lib/libspi_flash.a

32 Bytes
Binary file not shown.

esp32/esp32.project.ld

Lines changed: 224 additions & 224 deletions
Large diffs are not rendered by default.

esp32/get_idf_libs.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,11 @@ def main():
6969
shutil.copy(src + '/efuse/libefuse.a', dsttmpapp)
7070
shutil.copy(src + '/espcoredump/libespcoredump.a', dsttmpapp)
7171
shutil.copy(src + '/app_update/libapp_update.a', dsttmpapp)
72-
72+
shutil.copy(src + '/esp_http_server/libesp_http_server.a', dsttmpapp)
73+
shutil.copy(src + '/esp_https_server/libesp_https_server.a', dsttmpapp)
74+
shutil.copy(src + '/esp_http_client/libesp_http_client.a', dsttmpapp)
75+
shutil.copy(src + '/tcp_transport/libtcp_transport.a', dsttmpapp)
76+
shutil.copy(src + '/esp-tls/libesp-tls.a', dsttmpapp)
7377
except:
7478
print("Couldn't Copy IDF libs defaulting to Local Lib Folders!")
7579
traceback.print_exc()

esp32/lib/libapp_update.a

64 Bytes
Binary file not shown.

esp32/lib/libbootloader_support.a

1.37 KB
Binary file not shown.

esp32/lib/libbt.a

24.5 KB
Binary file not shown.

esp32/lib/libcoap.a

692 Bytes
Binary file not shown.

esp32/lib/libcxx.a

236 Bytes
Binary file not shown.

esp32/lib/libdriver.a

6.7 KB
Binary file not shown.

esp32/lib/libefuse.a

308 Bytes
Binary file not shown.

esp32/lib/libesp-tls.a

63.3 KB
Binary file not shown.

esp32/lib/libesp32.a

4.33 KB
Binary file not shown.

esp32/lib/libesp_adc_cal.a

36 Bytes
Binary file not shown.

esp32/lib/libesp_http_client.a

153 KB
Binary file not shown.

esp32/lib/libesp_http_server.a

236 KB
Binary file not shown.

esp32/lib/libesp_https_server.a

26.3 KB
Binary file not shown.

esp32/lib/libesp_ringbuf.a

44 Bytes
Binary file not shown.

esp32/lib/libespcoredump.a

308 Bytes
Binary file not shown.

esp32/lib/libexpat.a

-4.77 KB
Binary file not shown.

esp32/lib/libfreertos.a

760 Bytes
Binary file not shown.

esp32/lib/libheap.a

44 Bytes
Binary file not shown.

esp32/lib/libjsmn.a

-120 Bytes
Binary file not shown.

esp32/lib/libjson.a

-440 Bytes
Binary file not shown.

esp32/lib/liblog.a

-76 Bytes
Binary file not shown.

esp32/lib/liblwip.a

7.04 KB
Binary file not shown.

esp32/lib/libmbedtls.a

-2.27 KB
Binary file not shown.

esp32/lib/libmdns.a

-1.07 KB
Binary file not shown.

esp32/lib/libmicro-ecc.a

-432 Bytes
Binary file not shown.

esp32/lib/libnewlib.a

416 Bytes
Binary file not shown.

esp32/lib/libnghttp.a

-2.07 KB
Binary file not shown.

esp32/lib/libnvs_flash.a

-20 Bytes
Binary file not shown.

esp32/lib/libopenssl.a

200 Bytes
Binary file not shown.

esp32/lib/libpthread.a

40 Bytes
Binary file not shown.

esp32/lib/libsdmmc.a

260 Bytes
Binary file not shown.

esp32/lib/libsmartconfig_ack.a

156 Bytes
Binary file not shown.

esp32/lib/libsoc.a

1.89 KB
Binary file not shown.

esp32/lib/libspi_flash.a

768 Bytes
Binary file not shown.

esp32/lib/libtcp_transport.a

132 KB
Binary file not shown.

esp32/lib/libtcpip_adapter.a

-196 Bytes
Binary file not shown.

esp32/lib/libvfs.a

-72 Bytes
Binary file not shown.

esp32/lib/libwpa_supplicant.a

-36 Bytes
Binary file not shown.

esp32/lib/libxtensa-debug-module.a

108 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)
0