Add sh2lib (http2) support to espidf module

This commit is contained in:
Amir Gonnen 2020-11-19 01:34:31 +02:00
parent 19e1ce77ca
commit 2576e6e768
3 changed files with 5 additions and 4 deletions

@ -1 +1 @@
Subproject commit 9643fde2b0e64504821619667503a7cac6f84549
Subproject commit ee078fe086536d768e9aaf772c53b008335ad4b5

View File

@ -384,7 +384,7 @@ LIB_SRC_C = $(addprefix lib/,\
#esp-idf generated module
ESPIDFMOD_SOURCE = $(TOP)/lib/lv_bindings/driver/esp32/espidf.h
ALL_ESPIDFMOD_SRC = $(shell find $(subst -I,,$(INC_ESPCOMP)) -type f) $(ESPIDFMOD_SOURCE) $(SDKCONFIG_H)
ALL_ESPIDFMOD_SRC = $(shell find $(subst -I,,$(INC_ESPCOMP)) -type f) $(TOP)/lib/lv_bindings/driver/esp32/*.h $(ESPIDFMOD_SOURCE) $(SDKCONFIG_H)
ESPIDFMOD_MODULE = $(BUILD)/espidfmod/mp_espidf.c
ESPIDFMOD_PP = $(BUILD)/espidfmod/mp_espidf.pp.c
CFLAGS_MOD += $(ESPIDFMOD_CFLAGS) -Wno-deprecated-declarations
@ -399,6 +399,7 @@ LIB_SRC_C += \
lib/lv_bindings/driver/esp32/modlvesp32.c \
lib/lv_bindings/driver/esp32/modrtch.c \
lib/lv_bindings/driver/esp32/espidf.c \
lib/lv_bindings/driver/esp32/sh2lib.c \
$(ESPIDFMOD_MODULE)
# lib/lv_bindings/driver/esp32/modxpt2046.c

View File

@ -4,5 +4,5 @@
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x6000,
phy_init, data, phy, 0xf000, 0x1000,
factory, app, factory, 0x10000, 0x230000,
vfs, data, fat, 0x240000, 0x1c0000,
factory, app, factory, 0x10000, 0x240000,
vfs, data, fat, 0x250000, 0x1b0000,

1 # Notes: the offset of the partition table itself is set in
4 # Name, Type, SubType, Offset, Size, Flags
5 nvs, data, nvs, 0x9000, 0x6000,
6 phy_init, data, phy, 0xf000, 0x1000,
7 factory, app, factory, 0x10000, 0x230000, factory, app, factory, 0x10000, 0x240000,
8 vfs, data, fat, 0x240000, 0x1c0000, vfs, data, fat, 0x250000, 0x1b0000,