File tree Expand file tree Collapse file tree 6 files changed +16
-7
lines changed Expand file tree Collapse file tree 6 files changed +16
-7
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ release/Parallax-ESP.ota \
10
10
release/blank.bin \
11
11
release/esp_init_data_default_v08.bin
12
12
13
+ TOOLS =\
14
+ release/esptool
15
+
13
16
BOOTBIN =boot_v1.7.bin
14
17
IMAGES+ =release/$(BOOTBIN )
15
18
@@ -27,7 +30,10 @@ build:
27
30
$(MAKE ) -C .. STA_SSID= STA_PASS= clean
28
31
$(MAKE ) -C .. STA_SSID= STA_PASS=
29
32
30
- staged-files : release release/release-notes.txt $(IMAGES )
33
+ ../esptool-ck/esptool :
34
+ $(MAKE ) -C ../esptool-ck
35
+
36
+ staged-files : release release/release-notes.txt $(IMAGES ) $(TOOLS )
31
37
$(CP ) flash-all.sh update-fw.sh clear.sh clear-ffs.sh release
32
38
33
39
release/release-notes.txt : release-notes.txt
@@ -48,11 +54,14 @@ release/blank.bin: $(SDK)/bin/blank.bin
48
54
release/esp_init_data_default_v08.bin : $(SDK ) /bin/esp_init_data_default_v08.bin
49
55
$(CP ) $< $@
50
56
57
+ release/esptool : ../esptool-ck/esptool
58
+ $(CP ) $< $@
59
+
51
60
release :
52
61
mkdir -p release
53
62
54
63
patch : patch.c
55
64
cc -o $@ $<
56
65
57
66
clean :
58
- rm -rf release patch esp-httpd.zip
67
+ rm -rf release patch ../esptool-ck/esptool
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ WIFI_SETTINGS3=0x0FA000
30
30
# flash filesystem base
31
31
FFS_BASE=0x100000
32
32
33
- esptool \
33
+ ./ esptool \
34
34
-cp $PORT \
35
35
-cd $BOARD \
36
36
-cb $BAUD \
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ FLASH_INTERFACE=qio
17
17
# flash filesystem base
18
18
FFS_BASE=0x100000
19
19
20
- esptool \
20
+ ./ esptool \
21
21
-cp $PORT \
22
22
-cd $BOARD \
23
23
-cb $BAUD \
Original file line number Diff line number Diff line change 37
37
# flash filesystem base
38
38
FFS_BASE=0x100000
39
39
40
- esptool \
40
+ ./ esptool \
41
41
-cp $PORT \
42
42
-cd $BOARD \
43
43
-cb $BAUD \
Original file line number Diff line number Diff line change 41
41
# flash filesystem base
42
42
FFS_BASE=0x100000
43
43
44
- esptool \
44
+ ./ esptool \
45
45
-cp $PORT \
46
46
-cd $BOARD \
47
47
-cb $BAUD \
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ FLASH_INTERFACE=qio
17
17
BOOT_LOADER=0x000000
18
18
USER1_IMAGE=0x001000
19
19
20
- esptool \
20
+ ./ esptool \
21
21
-cp $PORT \
22
22
-cd $BOARD \
23
23
-cb $BAUD \
You can’t perform that action at this time.
0 commit comments