mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-21 21:06:10 +02:00
0.8.120
* fix factory generation for ESP32-S3
This commit is contained in:
parent
437173854f
commit
c0713a263d
2 changed files with 6 additions and 5 deletions
|
@ -13,17 +13,18 @@ def build_littlefs():
|
|||
print("LittleFS build successful")
|
||||
|
||||
def merge_bins():
|
||||
flash_size = int(env.get("BOARD_FLASH_SIZE", "4MB").replace("MB", ""))
|
||||
flash_size = int(env.BoardConfig().get("upload.maximum_size", "4194304"))
|
||||
app0_offset = 0x10000
|
||||
if env['PIOENV'][:7] == "esp8266":
|
||||
app0_offset = 0
|
||||
elif env['PIOENV'][:7] == "esp8285":
|
||||
app0_offset = 0
|
||||
|
||||
print(flash_size)
|
||||
littlefs_offset = 0x290000
|
||||
if flash_size == 8:
|
||||
if flash_size == 0x330000:
|
||||
littlefs_offset = 0x670000
|
||||
elif flash_size == 16:
|
||||
elif flash_size == 0x640000:
|
||||
littlefs_offset = 0xc90000
|
||||
|
||||
# save current wd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue