Skip to content

Commit

Permalink
Fix flash for v0.4.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperl committed Dec 22, 2021
1 parent 802b707 commit 644ab4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions cmd/jag/commands/flash.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,9 @@ func FlashCmd() *cobra.Command {
flashArgs := []string{
"--chip", "esp32", "--port", port, "--baud", strconv.Itoa(int(baud)), "--before", "default_reset", "--after", "hard_reset", "write_flash", "-z", "--flash_mode", "dio",
"--flash_freq", "40m", "--flash_size", "detect",
"0xd000", filepath.Join(esp32BinPath, "ota_data_initial.bin"),
"0x1000", filepath.Join(esp32BinPath, "bootloader", "bootloader.bin"),
"0x10000", binTmpFile.Name(),
"0x8000", filepath.Join(esp32BinPath, "partitions.bin"),
"0x10000", binTmpFile.Name(),
}

fmt.Printf("Flashing device over serial on port '%s' ...\n", port)
Expand Down
4 changes: 2 additions & 2 deletions cmd/jag/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
)

var (
date = "2021-12-22T20:28:57Z"
version = "v0.4.1"
date = "2021-12-22T20:37:10Z"
version = "v0.4.2"
sdkVersion = "v0.11.1"
)

Expand Down

0 comments on commit 644ab4d

Please sign in to comment.