8 lines
216 B
Python
8 lines
216 B
Python
|
Import("env")
|
||
|
|
||
|
flash_size = env.BoardConfig().get("upload.flash_size", "4MB")
|
||
|
fs_image_name = f"littlefs_{flash_size}"
|
||
|
env.Replace(ESP32_FS_IMAGE_NAME=fs_image_name)
|
||
|
env.Replace(ESP8266_FS_IMAGE_NAME=fs_image_name)
|
||
|
|