Skip to content

Commit

Permalink
Fix pyFlashGui
Browse files Browse the repository at this point in the history
  • Loading branch information
AEFeinstein committed Oct 16, 2023
1 parent e02f98f commit 73b67d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tools/pyFlashGui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ For the script to actually flash firmware, the following files must be in the sa
| File | Relative Path |
| ------------- | ------------- |
| ``bootloader.bin`` | ``../build/bootloader/bootloader.bin`` |
| ``swadge-esp32.bin`` | ``../build/swadge-esp32.bin`` |
| ``swadge2024.bin`` | ``../build/swadge2024.bin`` |
| ``partition-table.bin`` | ``../build/partition_table/partition-table.bin`` |
| ``storage.bin`` | ``../build/storage.bin`` |

Assuming you've checked out the whole repository, set up the IDF, and are in the `Super-2023-Swadge-FW` folder, then this should build and place the files:

```bash
idf.py build
cp ./build/bootloader/bootloader.bin ./build/swadge-esp32.bin ./build/partition_table/partition-table.bin ./build/storage.bin ./pyFlashGui/
cp ./build/bootloader/bootloader.bin ./build/swadge2024.bin ./build/partition_table/partition-table.bin ./build/storage.bin ./pyFlashGui/
```

# Instructions
Expand Down
2 changes: 1 addition & 1 deletion tools/pyFlashGui/pyFlashGui.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def run(self):
"--flash_freq", "80m",
"--flash_size", "4MB",
"0x1000", "bootloader.bin",
"0x10000", "swadge-esp32.bin",
"0x10000", "swadge2024.bin",
"0x8000", "partition-table.bin",
"0x110000", "storage.bin"])

Expand Down

0 comments on commit 73b67d1

Please sign in to comment.