Home
last modified time | relevance | path

Searched refs:FIXED_PARTITION_ID (Results 1 – 25 of 38) sorted by relevance

12

/Zephyr-Core-3.5.0/subsys/dfu/boot/
Dmcuboot_priv.h22 #define FLASH_AREA_IMAGE_PRIMARY FIXED_PARTITION_ID(SLOT0_LABEL)
24 #define FLASH_AREA_IMAGE_SECONDARY FIXED_PARTITION_ID(SLOT1_LABEL)
/Zephyr-Core-3.5.0/subsys/mgmt/updatehub/
Dupdatehub_storage.h16 #define UPDATEHUB_SLOT_PARTITION_0 FIXED_PARTITION_ID(slot0_partition)
17 #define UPDATEHUB_SLOT_PARTITION_1 FIXED_PARTITION_ID(slot1_partition)
/Zephyr-Core-3.5.0/tests/subsys/fs/littlefs/src/
Dtestfs_lfs.c13 #define SMALL_PARTITION_ID FIXED_PARTITION_ID(SMALL_PARTITION)
16 #define MEDIUM_PARTITION_ID FIXED_PARTITION_ID(MEDIUM_PARTITION)
19 #define LARGE_PARTITION_ID FIXED_PARTITION_ID(LARGE_PARTITION)
/Zephyr-Core-3.5.0/tests/subsys/dfu/mcuboot_multi/src/
Dmain.c79 _test_request_upgrade_n(FIXED_PARTITION_ID(slot1_partition), 0, 0); in ZTEST()
80 _test_request_upgrade_n(FIXED_PARTITION_ID(slot3_partition), 1, 1); in ZTEST()
125 _test_write_confirm_n(FIXED_PARTITION_ID(slot0_partition), 0); in ZTEST()
126 _test_write_confirm_n(FIXED_PARTITION_ID(slot2_partition), 1); in ZTEST()
/Zephyr-Core-3.5.0/subsys/mgmt/hawkbit/
Dhawkbit_firmware.c15 if (boot_read_bank_header(FIXED_PARTITION_ID(slot0_partition), &header, in hawkbit_get_firmware_version()
/Zephyr-Core-3.5.0/samples/subsys/fs/format/src/
Dmain.c23 #define MKFS_DEV_ID FIXED_PARTITION_ID(storage_partition)
/Zephyr-Core-3.5.0/tests/subsys/fs/multi-fs/src/
Dtest_littlefs_mount.c19 #define TEST_PARTITION_ID FIXED_PARTITION_ID(TEST_PARTITION)
Dtest_utils.c14 #define TEST_PARTITION_ID FIXED_PARTITION_ID(TEST_PARTITION)
Dtest_ram_backend.c16 #define TEST_PARTITION_ID FIXED_PARTITION_ID(TEST_PARTITION)
/Zephyr-Core-3.5.0/tests/subsys/fs/fcb/src/
Dfcb_test.h24 #define TEST_FCB_FLASH_AREA_ID FIXED_PARTITION_ID(TEST_FCB_FLASH_AREA)
/Zephyr-Core-3.5.0/tests/subsys/settings/file/src/
Dsettings_setup_littlefs.c13 #define LITTLEFS_PARTITION_ID FIXED_PARTITION_ID(LITTLEFS_PARTITION)
/Zephyr-Core-3.5.0/subsys/mgmt/mcumgr/grp/img_mgmt/src/
Dzephyr_img_mgmt.c135 fa_id = FIXED_PARTITION_ID(SLOT0_PARTITION); in img_mgmt_flash_area_id()
139 fa_id = FIXED_PARTITION_ID(SLOT1_PARTITION); in img_mgmt_flash_area_id()
144 fa_id = FIXED_PARTITION_ID(SLOT2_PARTITION); in img_mgmt_flash_area_id()
150 fa_id = FIXED_PARTITION_ID(SLOT3_PARTITION); in img_mgmt_flash_area_id()
156 fa_id = FIXED_PARTITION_ID(SLOT4_PARTITION); in img_mgmt_flash_area_id()
162 fa_id = FIXED_PARTITION_ID(SLOT5_PARTITION); in img_mgmt_flash_area_id()
/Zephyr-Core-3.5.0/tests/subsys/settings/fcb_init/src/
Dsettings_test_fcb_init.c21 #define TEST_PARTITION_ID FIXED_PARTITION_ID(TEST_PARTITION)
24 #define CODE_PARTITION_ID FIXED_PARTITION_ID(CODE_PARTITION)
/Zephyr-Core-3.5.0/tests/subsys/storage/flash_map/src/
Dmain.c14 #define SLOT1_PARTITION_ID FIXED_PARTITION_ID(SLOT1_PARTITION)
26 rc = flash_area_open(FIXED_PARTITION_ID(disabled_a), &fa); in ZTEST()
28 rc = flash_area_open(FIXED_PARTITION_ID(disabled_b), &fa); in ZTEST()
/Zephyr-Core-3.5.0/tests/subsys/dfu/mcuboot/src/
Dmain.c15 #define SLOT0_PARTITION_ID FIXED_PARTITION_ID(SLOT0_PARTITION)
16 #define SLOT1_PARTITION_ID FIXED_PARTITION_ID(SLOT1_PARTITION)
/Zephyr-Core-3.5.0/samples/subsys/mgmt/mcumgr/smp_svr/src/
Dmain.c28 #define STORAGE_PARTITION_ID FIXED_PARTITION_ID(STORAGE_PARTITION_LABEL)
/Zephyr-Core-3.5.0/doc/services/storage/flash_map/
Dflash_map.rst45 DTS node label using :c:macro:`FIXED_PARTITION_ID()`; these labels are obtained
78 :c:macro:`FIXED_PARTITION_ID()`; for example to obtain ID number
79 for ``slot0_partition``, user would invoke ``FIXED_PARTITION_ID(slot0_partition)``.
99 int err = flash_area_open(FIXED_PARTITION_ID(slot0_partition), &my_area);
/Zephyr-Core-3.5.0/tests/subsys/dfu/img_util/src/
Dmain.c15 #define SLOT0_PARTITION_ID FIXED_PARTITION_ID(SLOT0_PARTITION)
17 #define SLOT1_PARTITION_ID FIXED_PARTITION_ID(SLOT1_PARTITION)
/Zephyr-Core-3.5.0/subsys/mgmt/mcumgr/grp/zephyr_basic/src/
Dbasic_mgmt.c19 #define ERASE_TARGET_ID FIXED_PARTITION_ID(ERASE_TARGET)
/Zephyr-Core-3.5.0/modules/canopennode/
Dcanopen_program.c192 err = boot_erase_img_bank(FIXED_PARTITION_ID(slot1_partition)); in canopen_program_cmd_clear()
347 fa_id = FIXED_PARTITION_ID(slot1_partition); in canopen_odf_1f56()
349 fa_id = FIXED_PARTITION_ID(slot0_partition); in canopen_odf_1f56()
/Zephyr-Core-3.5.0/include/zephyr/storage/
Dflash_map.h306 #define FIXED_PARTITION_ID(label) DT_FIXED_PARTITION_ID(DT_NODELABEL(label)) macro
/Zephyr-Core-3.5.0/tests/lib/gui/lvgl/src/
Dmain.c20 #define LVGL_PARTITION_ID FIXED_PARTITION_ID(LVGL_PARTITION)
/Zephyr-Core-3.5.0/subsys/dfu/img_util/
Dflash_img.c33 #define UPLOAD_FLASH_AREA_ID FIXED_PARTITION_ID(UPLOAD_FLASH_AREA_LABEL)
/Zephyr-Core-3.5.0/samples/subsys/usb/mass/src/
Dmain.c32 #define STORAGE_PARTITION_ID FIXED_PARTITION_ID(STORAGE_PARTITION)
/Zephyr-Core-3.5.0/subsys/usb/device/class/dfu/
Dusb_dfu.c331 #define DOWNLOAD_FLASH_AREA_ID FIXED_PARTITION_ID(SLOT1_PARTITION)
333 #define DOWNLOAD_FLASH_AREA_ID FIXED_PARTITION_ID(SLOT0_PARTITION)
812 FIXED_PARTITION_ID(SLOT0_PARTITION); in dfu_custom_handle_req()

12