Switch to leaner MCP23017 library, create new aligned partition tables

This commit is contained in:
Djuri 2024-12-18 19:47:03 +01:00
parent 83d293c58e
commit af4c466659
13 changed files with 127 additions and 59 deletions

7
scripts/pre_script.py Normal file
View file

@ -0,0 +1,7 @@
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)