Introduced a warning during the verification of MCU maximum RAM usage // Resolve #4791

This commit is contained in:
Ivan Kravets
2023-11-28 18:15:16 +02:00
parent 961ab6b35e
commit b238c55e53
2 changed files with 6 additions and 7 deletions

View File

@ -20,12 +20,12 @@ test-driven methodologies, and modern toolchains for unrivaled success.
6.1.12 (2023-??-??) 6.1.12 (2023-??-??)
~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~
* Introduced a warning during the verification of MCU maximum RAM usage, signaling when the allocated RAM surpasses 100% (`issue #4791 <https://github.com/platformio/platformio-core/issues/4791>`_)
* Drastically enhanced the speed of project building when operating in verbose mode (`issue #4783 <https://github.com/platformio/platformio-core/issues/4783>`_) * Drastically enhanced the speed of project building when operating in verbose mode (`issue #4783 <https://github.com/platformio/platformio-core/issues/4783>`_)
* Resolved an issue where the ``COMPILATIONDB_INCLUDE_TOOLCHAIN`` setting was not correctly applying to private libraries (`issue #4762 <https://github.com/platformio/platformio-core/issues/4762>`_) * Resolved an issue where the ``COMPILATIONDB_INCLUDE_TOOLCHAIN`` setting was not correctly applying to private libraries (`issue #4762 <https://github.com/platformio/platformio-core/issues/4762>`_)
* Resolved an issue where ``get_systype()`` inaccurately returned the architecture when executed within a Docker container on a 64-bit kernel with a 32-bit userspace (`issue #4777 <https://github.com/platformio/platformio-core/issues/4777>`_) * Resolved an issue where ``get_systype()`` inaccurately returned the architecture when executed within a Docker container on a 64-bit kernel with a 32-bit userspace (`issue #4777 <https://github.com/platformio/platformio-core/issues/4777>`_)
* Resolved an issue with incorrect handling of the ``check_src_filters`` option when used in multiple environments (`issue #4788 <https://github.com/platformio/platformio-core/issues/4788>`_) * Resolved an issue with incorrect handling of the ``check_src_filters`` option when used in multiple environments (`issue #4788 <https://github.com/platformio/platformio-core/issues/4788>`_)
6.1.11 (2023-08-31) 6.1.11 (2023-08-31)
~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~

View File

@ -218,12 +218,11 @@ def CheckUploadSize(_, target, source, env):
if int(ARGUMENTS.get("PIOVERBOSE", 0)): if int(ARGUMENTS.get("PIOVERBOSE", 0)):
print(output) print(output)
# 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( "Warning! 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)
if program_size > program_max_size: if program_size > program_max_size:
sys.stderr.write( sys.stderr.write(
"Error: The program size (%d bytes) is greater " "Error: The program size (%d bytes) is greater "