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

Commit 5ecc3d0

Browse files
geza-pycomXykon
authored andcommitted
Revert "Merge pull request #65 from husigeza/idf_3.3_support" (#67)
This reverts commit aca4712, reversing changes made to 57b1110.
1 parent aca4712 commit 5ecc3d0

Some content is hidden

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

41 files changed

+16
-657
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ node {
99
stage('Checkout') {
1010
checkout scm
1111
sh 'rm -rf esp-idf'
12-
sh 'git clone --depth=1 --recursive -b idf_v3.3 https://github.com/pycom/pycom-esp-idf.git esp-idf'
12+
sh 'git clone --depth=1 --recursive -b idf_v3.2 https://github.com/pycom/pycom-esp-idf.git esp-idf'
1313
}
1414

1515
stage('git-tag') {

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_VERSION=3.3
17+
IDF_VERSION=3.2
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 -lefuse -lespcoredump -lapp_update
106+
-u ld_include_panic_highint_hdl -lsmartconfig_ack -lmesh -lesp_ringbuf -lcoap
107107
ifeq ($(BOARD), $(filter $(BOARD), FIPY))
108108
LIBS += sigfox/modsigfox_fipy.a
109109
endif

esp32/application.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ SRC_QSTR_AUTO_DEPS +=
366366
BOOT_LDFLAGS = $(LDFLAGS) -T esp32.bootloader.ld -T esp32.rom.ld -T esp32.peripherals.ld -T esp32.bootloader.rom.ld -T esp32.rom.spiram_incompatible_fns.ld
367367

368368
# add the application linker script(s)
369-
APP_LDFLAGS += $(LDFLAGS) -T esp32_out.ld -T esp32.project.ld -T esp32.rom.ld -T esp32.peripherals.ld
369+
APP_LDFLAGS += $(LDFLAGS) -T esp32_out.ld -T esp32.common.ld -T esp32.rom.ld -T esp32.peripherals.ld -T wifi_iram.ld
370370

371371
# add the application specific CFLAGS
372372
CFLAGS += $(APP_INC) -DMICROPY_NLR_SETJMP=1 -DMBEDTLS_CONFIG_FILE='"mbedtls/esp_config.h"' -DHAVE_CONFIG_H -DESP_PLATFORM -DFFCONF_H=\"lib/oofatfs/ffconf.h\" -DWITH_POSIX
@@ -639,7 +639,7 @@ $(BUILD)/application.a: $(OBJ)
639639
$(ECHO) "AR $@"
640640
$(Q) rm -f $@
641641
$(Q) $(AR) cru $@ $^
642-
$(BUILD)/application.elf: $(BUILD)/application.a $(BUILD)/esp32_out.ld esp32.project.ld $(SECURE_BOOT_VERIFICATION_KEY)
642+
$(BUILD)/application.elf: $(BUILD)/application.a $(BUILD)/esp32_out.ld $(SECURE_BOOT_VERIFICATION_KEY)
643643
ifeq ($(SECURE), on)
644644
# unpack libbootloader_support.a, and archive again using the right key for verifying signatures
645645
$(ECHO) "Inserting verification key $(SECURE_BOOT_VERIFICATION_KEY) in $@"
-3.34 KB
Binary file not shown.

esp32/bootloader/lib/liblog.a

-108 Bytes
Binary file not shown.

esp32/bootloader/lib/libmicro-ecc.a

-52 Bytes
Binary file not shown.

esp32/bootloader/lib/libsoc.a

-2.41 KB
Binary file not shown.

esp32/bootloader/lib/libspi_flash.a

-68 Bytes
Binary file not shown.

esp32/esp32.project.ld

Lines changed: 0 additions & 618 deletions
This file was deleted.

esp32/get_idf_libs.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,6 @@ def main():
6161
shutil.copy(src + '/xtensa-debug-module/libxtensa-debug-module.a', dsttmpapp)
6262
shutil.copy(src + '/esp_ringbuf/libesp_ringbuf.a', dsttmpapp)
6363
shutil.copy(src + '/coap/libcoap.a', dsttmpapp)
64-
shutil.copy(src + '/efuse/libefuse.a', dsttmpapp)
65-
shutil.copy(src + '/espcoredump/libespcoredump.a', dsttmpapp)
66-
shutil.copy(src + '/app_update/libapp_update.a', dsttmpapp)
67-
6864
except:
6965
print("Couldn't Copy IDF libs defaulting to Local Lib Folders!")
7066
traceback.print_exc()
@@ -78,16 +74,10 @@ def main():
7874
for item in os.listdir(dsttmpapp):
7975
shutil.copy(dsttmpapp + '/' + item, dstapp + '/' + item)
8076

81-
# copy the project's linker script
82-
shutil.copy(src + '/esp32/esp32.project.ld', ".")
83-
84-
# copy the generated sdkconfig.h
85-
shutil.copy(src + '/include/sdkconfig.h', ".")
86-
8777
shutil.rmtree(dsttmpbl)
8878
shutil.rmtree(dsttmpapp)
8979

90-
print("IDF Libs, linker script and skdconfig.h copied Successfully!")
80+
print("IDF Libs copied Successfully!")
9181

9282

9383
if __name__ == "__main__":

0 commit comments

Comments
 (0)