Skip to content

Commit bca3364

Browse files
committed
Added min_littlefs.csv, undo build verbosity
1 parent b0da530 commit bca3364

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

build-release.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ def buildEnv(pioEnv, verbose=True, extraArgs=None):
3434
return app.returncode
3535

3636
def buildFs(pioEnv, verbose=verbose, extraArgs=None):
37-
cmd = ['platformio','run', '--disable-auto-clean', '-e', pioEnv, '-v', '-t', 'buildfs']
37+
cmd = ['platformio','run', '--disable-auto-clean', '-e', pioEnv, '-t', 'buildfs']
3838
if extraArgs:
3939
cmd.append(extraArgs)
4040
print('Building file system for ' + pioEnv)
41-
if True:
41+
if verbose:
4242
app = subprocess.Popen(cmd, env=environ)
4343
else:
4444
app = subprocess.Popen(cmd, env=environ, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, bufsize=1)

min_littlefs.csv

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Name, Type, SubType, Offset, Size, Flags
2+
nvs, data, nvs, 0x9000, 0x5000,
3+
otadata, data, ota, 0xe000, 0x2000,
4+
app0, app, ota_0, 0x10000, 0x1E0000,
5+
app1, app, ota_1, 0x1F0000,0x1E0000,
6+
spiffs, data, spiffs, 0x3D0000,0x30000,

0 commit comments

Comments
 (0)