From 1254ba939f673734db167dbdc8e59a58a0ecfe72 Mon Sep 17 00:00:00 2001 From: Krzysztof Taborowski Date: Thu, 26 Oct 2023 12:08:34 +0200 Subject: [PATCH] doc: update samples memory requirements [KRKNWK-17832] Update samples for v1.14.5 (ncs v2.5.0) release Fix board link in script. Move memory unit information before tabs. Signed-off-by: Krzysztof Taborowski --- .../requirements.rst | 43 +++++++++---------- scripts/ci/memory_requirements.py | 4 +- 2 files changed, 22 insertions(+), 25 deletions(-) diff --git a/doc/setting_up_sidewalk_environment/requirements.rst b/doc/setting_up_sidewalk_environment/requirements.rst index 9b65dac784..acff623222 100644 --- a/doc/setting_up_sidewalk_environment/requirements.rst +++ b/doc/setting_up_sidewalk_environment/requirements.rst @@ -51,64 +51,61 @@ RAM and flash memory requirements RAM and flash memory requirement values differ depending on the DK and programmed sample. +All values are provided in kilobytes (KB). + .. tabs:: .. tab:: nRF52840 DK The following table lists memory requirements for samples running on the `nRF52840 DK`_. - All values are provided in kilobytes (KB). - +-------------------------------------------------------------------+---------------+-------------------+---------------------+-------------+-------------+ | Sample | MCUboot ROM | Application ROM | Sidewalk Settings | Total ROM | Total RAM | +===================================================================+===============+===================+=====================+=============+=============+ - | :ref:`Sensor monitoring ` (Bluetooth LE Debug) | 0 | 382 | 32 | 414 | 78 | + | :ref:`Sensor monitoring ` (Bluetooth LE Debug) | 0 | 371 | 32 | 403 | 78 | +-------------------------------------------------------------------+---------------+-------------------+---------------------+-------------+-------------+ - | :ref:`Sensor monitoring ` (FSK Debug) | 0 | 520 | 32 | 552 | 99 | + | :ref:`Sensor monitoring ` (FSK Debug) | 0 | 530 | 32 | 562 | 99 | +-------------------------------------------------------------------+---------------+-------------------+---------------------+-------------+-------------+ - | :ref:`Sensor monitoring ` (LoRa Debug) | 0 | 480 | 32 | 512 | 98 | + | :ref:`Sensor monitoring ` (LoRa Debug) | 0 | 470 | 32 | 502 | 98 | +-------------------------------------------------------------------+---------------+-------------------+---------------------+-------------+-------------+ - | :ref:`Template sub-GHz ` (FSK Debug) | 36 | 532 | 28 | 596 | 109 | + | :ref:`Template sub-GHz ` (FSK Debug) | 36 | 547 | 28 | 611 | 109 | +-------------------------------------------------------------------+---------------+-------------------+---------------------+-------------+-------------+ - | :ref:`Template sub-GHz ` (FSK Release) | 36 | 468 | 28 | 532 | 105 | + | :ref:`Template sub-GHz ` (FSK Release) | 36 | 479 | 28 | 543 | 105 | +-------------------------------------------------------------------+---------------+-------------------+---------------------+-------------+-------------+ - | :ref:`Template sub-GHz ` (LoRa Debug) | 36 | 494 | 28 | 558 | 108 | + | :ref:`Template sub-GHz ` (LoRa Debug) | 36 | 488 | 28 | 552 | 108 | +-------------------------------------------------------------------+---------------+-------------------+---------------------+-------------+-------------+ - | :ref:`Template sub-GHz ` (LoRa Release) | 36 | 422 | 28 | 486 | 104 | + | :ref:`Template sub-GHz ` (LoRa Release) | 36 | 413 | 28 | 477 | 104 | +-------------------------------------------------------------------+---------------+-------------------+---------------------+-------------+-------------+ - | :ref:`Template Bluetooth LE ` (Debug) | 36 | 395 | 28 | 459 | 90 | + | :ref:`Template Bluetooth LE ` (Debug) | 36 | 384 | 28 | 448 | 90 | +-------------------------------------------------------------------+---------------+-------------------+---------------------+-------------+-------------+ - | :ref:`Template Bluetooth LE ` (Release) | 36 | 329 | 28 | 393 | 86 | + | :ref:`Template Bluetooth LE ` (Release) | 36 | 314 | 28 | 378 | 86 | +-------------------------------------------------------------------+---------------+-------------------+---------------------+-------------+-------------+ .. tab:: nRF5340 DK The following table lists memory requirements for samples running on the `nRF5340 DK`_. - All values are provided in kilobytes (KB). - +-------------------------------------------------------------------+---------------+-------------------+---------------------+-------------+-------------+ | Sample | MCUboot ROM | Application ROM | Sidewalk Settings | Total ROM | Total RAM | +===================================================================+===============+===================+=====================+=============+=============+ - | :ref:`Sensor monitoring ` (Bluetooth LE Debug) | 0 | 325 | 32 | 357 | 68 | + | :ref:`Sensor monitoring ` (Bluetooth LE Debug) | 0 | 314 | 32 | 346 | 68 | +-------------------------------------------------------------------+---------------+-------------------+---------------------+-------------+-------------+ - | :ref:`Sensor monitoring ` (FSK Debug) | 0 | 457 | 32 | 489 | 89 | + | :ref:`Sensor monitoring ` (FSK Debug) | 0 | 463 | 32 | 495 | 89 | +-------------------------------------------------------------------+---------------+-------------------+---------------------+-------------+-------------+ - | :ref:`Sensor monitoring ` (LoRa Debug) | 0 | 420 | 32 | 452 | 88 | + | :ref:`Sensor monitoring ` (LoRa Debug) | 0 | 411 | 32 | 443 | 88 | +-------------------------------------------------------------------+---------------+-------------------+---------------------+-------------+-------------+ - | :ref:`Template sub-GHz ` (FSK Debug) | 56 | 469 | 28 | 553 | 99 | + | :ref:`Template sub-GHz ` (FSK Debug) | 40 | 479 | 28 | 547 | 99 | +-------------------------------------------------------------------+---------------+-------------------+---------------------+-------------+-------------+ - | :ref:`Template sub-GHz ` (FSK Release) | 56 | 404 | 28 | 488 | 95 | + | :ref:`Template sub-GHz ` (FSK Release) | 40 | 410 | 28 | 478 | 95 | +-------------------------------------------------------------------+---------------+-------------------+---------------------+-------------+-------------+ - | :ref:`Template sub-GHz ` (LoRa Debug) | 56 | 434 | 28 | 518 | 98 | + | :ref:`Template sub-GHz ` (LoRa Debug) | 40 | 428 | 28 | 496 | 98 | +-------------------------------------------------------------------+---------------+-------------------+---------------------+-------------+-------------+ - | :ref:`Template sub-GHz ` (LoRa Release) | 56 | 361 | 28 | 445 | 94 | + | :ref:`Template sub-GHz ` (LoRa Release) | 40 | 352 | 28 | 420 | 94 | +-------------------------------------------------------------------+---------------+-------------------+---------------------+-------------+-------------+ - | :ref:`Template Bluetooth LE ` (Debug) | 56 | 339 | 28 | 423 | 81 | + | :ref:`Template Bluetooth LE ` (Debug) | 40 | 333 | 28 | 401 | 81 | +-------------------------------------------------------------------+---------------+-------------------+---------------------+-------------+-------------+ - | :ref:`Template Bluetooth LE ` (Release) | 56 | 270 | 28 | 354 | 77 | + | :ref:`Template Bluetooth LE ` (Release) | 40 | 260 | 28 | 328 | 77 | +-------------------------------------------------------------------+---------------+-------------------+---------------------+-------------+-------------+ - .. include:: ../ncs_links.rst .. _Amazon developer account: https://developer.amazon.com/dashboard diff --git a/scripts/ci/memory_requirements.py b/scripts/ci/memory_requirements.py index 6fe653ea18..70cfe59d51 100755 --- a/scripts/ci/memory_requirements.py +++ b/scripts/ci/memory_requirements.py @@ -64,8 +64,8 @@ def full_title(self) -> str: BOARDS = { - 'nrf52840dk_nrf52840': ':ref:`nRF52840 DK `', - 'nrf5340dk_nrf5340_cpuapp': ':ref:`nRF5340 DK `', + 'nrf52840dk_nrf52840': '`nRF52840 DK`_', + 'nrf5340dk_nrf5340_cpuapp': '`nRF5340 DK`_', }