mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 01:57:13 +02:00
Temporary disable raising error when program data size excesses declared in board manfiest
This commit is contained in:
@ -261,11 +261,11 @@ def CheckUploadSize(_, target, source, env):
|
|||||||
print output
|
print output
|
||||||
|
|
||||||
# raise error
|
# raise error
|
||||||
if data_max_size and data_size > data_max_size:
|
# if data_max_size and data_size > data_max_size:
|
||||||
sys.stderr.write(
|
# sys.stderr.write(
|
||||||
"Error: The data size (%d bytes) is greater "
|
# "Error: The data size (%d bytes) is greater "
|
||||||
"than maximum allowed (%s bytes)\n" % (data_size, data_max_size))
|
# "than maximum allowed (%s bytes)\n" % (data_size, data_max_size))
|
||||||
env.Exit(1)
|
# env.Exit(1)
|
||||||
if program_size > program_max_size:
|
if program_size > program_max_size:
|
||||||
sys.stderr.write("Error: The program size (%d bytes) is greater "
|
sys.stderr.write("Error: The program size (%d bytes) is greater "
|
||||||
"than maximum allowed (%s bytes)\n" %
|
"than maximum allowed (%s bytes)\n" %
|
||||||
|
Reference in New Issue
Block a user