fix: update partition settings and version in platformio.ini, and enhance release workflow
This commit is contained in:
parent
7964f1cd77
commit
fa2f980312
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -44,6 +44,8 @@ jobs:
|
||||
--flash_freq 40m \
|
||||
--flash_size 4MB \
|
||||
-o .pio/build/esp32dev/filaman.bin \
|
||||
0x1000 .pio/build/esp32dev/bootloader.bin \
|
||||
0x8000 .pio/build/esp32dev/partitions.bin \
|
||||
0x10000 .pio/build/esp32dev/firmware.bin \
|
||||
0x290000 .pio/build/esp32dev/spiffs.bin
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
; https://docs.platformio.org/page/projectconf.html
|
||||
|
||||
[common]
|
||||
version = "1.0.7"
|
||||
version = "1.0.2"
|
||||
|
||||
[env:esp32dev]
|
||||
platform = espressif32
|
||||
@ -32,9 +32,12 @@ lib_deps =
|
||||
|
||||
; Enable SPIFFS upload
|
||||
board_build.filesystem = spiffs
|
||||
board_build.spiffs.partition = 2M
|
||||
board_build.spiffs.upload_size = 2M
|
||||
; Update partition settings
|
||||
board_build.partitions = partitions.csv
|
||||
board_upload.flash_size = 4MB
|
||||
; Remove these as they're now defined in partitions.csv
|
||||
; board_build.spiffs.partition = 2M
|
||||
; board_build.spiffs.upload_size = 2M
|
||||
|
||||
build_flags =
|
||||
-Os
|
||||
|
Loading…
x
Reference in New Issue
Block a user