Skip to content

Commit 2d0abf5

Browse files
committed
platform復元
1 parent 5d91b55 commit 2d0abf5

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

platform.txt

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
name=Nefry(ESP32)Module
2-
version=0.7.1
2+
version=0.7.2
33

44
runtime.tools.xtensa-esp32-elf-gcc.path={runtime.platform.path}/tools/xtensa-esp32-elf
55

6-
tools.esptool32.cmd="{runtime.tools.esptool32.path}/esptool"
7-
tools.esptool32.cmd.linux="{runtime.tools.esptool32.path}/esptool.py"
8-
tools.esptool32.cmd.windows="{runtime.tools.esptool32.path}/esptool.exe"
6+
tools.esptool.cmd="{runtime.tools.esptool.path}/esptool"
7+
tools.esptool.cmd.linux="{runtime.tools.esptool.path}/esptool.py"
8+
tools.esptool.cmd.windows="{runtime.tools.esptool.path}/esptool.exe"
99

10-
tools.esptool32.network_cmd=python "{runtime.platform.path}/tools/espota.py"
11-
tools.esptool32.network_cmd.windows="{runtime.platform.path}/tools/espota.exe"
10+
tools.esptool.network_cmd=python "{runtime.platform.path}/tools/espota.py"
11+
tools.esptool.network_cmd.windows="{runtime.platform.path}/tools/espota.exe"
1212

1313
tools.gen_esp32part.cmd=python "{runtime.platform.path}/tools/gen_esp32part.py"
1414
tools.gen_esp32part.cmd.windows="{runtime.platform.path}/tools/gen_esp32part.exe"
@@ -75,7 +75,7 @@ recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" {compiler.c.elf.f
7575
recipe.objcopy.eep.pattern={tools.gen_esp32part.cmd} -q "{runtime.platform.path}/tools/partitions/default.csv" "{build.path}/{build.project_name}.partitions.bin"
7676

7777
## Create hex
78-
recipe.objcopy.hex.pattern={tools.esptool32.cmd} --chip esp32 elf2image --flash_mode "{build.flash_mode}" --flash_freq "{build.flash_freq}" --flash_size "{build.flash_size}" -o "{build.path}/{build.project_name}.bin" "{build.path}/{build.project_name}.elf"
78+
recipe.objcopy.hex.pattern={tools.esptool.cmd} --chip esp32 elf2image --flash_mode "{build.flash_mode}" --flash_freq "{build.flash_freq}" --flash_size "{build.flash_size}" -o "{build.path}/{build.project_name}.bin" "{build.path}/{build.project_name}.elf"
7979

8080
## Save hex
8181
recipe.output.tmp_file={build.project_name}.bin
@@ -88,8 +88,8 @@ recipe.size.regex.data=^(?:\.dram0\.data|\.dram0\.bss)\s+([0-9]+).*
8888

8989
# ------------------------------
9090

91-
tools.esptool32.upload.protocol=esp32
92-
tools.esptool32.upload.params.verbose=
93-
tools.esptool32.upload.params.quiet=
94-
tools.esptool32.upload.pattern={cmd} --chip esp32 --port "{serial.port}" --baud {upload.speed} --before default_reset --after hard_reset write_flash -z --flash_freq {build.flash_freq} --flash_mode {build.flash_mode} --flash_size {build.flash_size} 0x1000 "{runtime.platform.path}/tools/sdk/bin/bootloader.bin" 0x8000 "{build.path}/{build.project_name}.partitions.bin" 0xe000 "{runtime.platform.path}/tools/partitions/boot_app0.bin" 0x10000 "{build.path}/{build.project_name}.bin"
95-
tools.esptool32.upload.network_pattern={network_cmd} -i "{serial.port}" -p "{network.port}" "--auth={network.password}" -f "{build.path}/{build.project_name}.bin"
91+
tools.esptool.upload.protocol=esp32
92+
tools.esptool.upload.params.verbose=
93+
tools.esptool.upload.params.quiet=
94+
tools.esptool.upload.pattern={cmd} --chip esp32 --port "{serial.port}" --baud {upload.speed} --before default_reset --after hard_reset write_flash -z --flash_freq {build.flash_freq} --flash_mode {build.flash_mode} --flash_size {build.flash_size} 0x1000 "{runtime.platform.path}/tools/sdk/bin/bootloader.bin" 0x8000 "{build.path}/{build.project_name}.partitions.bin" 0xe000 "{runtime.platform.path}/tools/partitions/boot_app0.bin" 0x10000 "{build.path}/{build.project_name}.bin"
95+
tools.esptool.upload.network_pattern={network_cmd} -i "{serial.port}" -p "{network.port}" "--auth={network.password}" -f "{build.path}/{build.project_name}.bin"

0 commit comments

Comments
 (0)