/Zephyr-Core-3.5.0/dts/bindings/mtd/ |
D | zephyr,emu-eeprom.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 compatible: "zephyr,emu-eeprom" 8 include: eeprom-base.yaml 17 partition: 20 description: Flash partition used to store the emulated EEPROM data 24 partition-erase: 27 Delay erase until complete partition is used. This enables a 28 ram buffer to allow data to be copied during the partition erase. If 29 power is lost during the partition erase the data will be lost.
|
/Zephyr-Core-3.5.0/dts/bindings/misc/ |
D | zephyr,flash-disk.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 description: Block storage device on flash partition 6 compatible: "zephyr,flash-disk" 11 partition: 15 Backing storage flash map partition. 17 disk-name: 23 sector-size: 29 cache-size: 34 adequately chosen. On storage backends with uniform erase-blocks it 35 should be at least the erase-block-size, on storage backends with [all …]
|
/Zephyr-Core-3.5.0/include/zephyr/storage/ |
D | flash_map.h | 6 * SPDX-License-Identifier: Apache-2.0 52 * @brief Flash partition 54 * This structure represents a fixed-size partition on a flash device. 55 * Each partition contains one or more flash sectors. 68 /** Partition label if defined in DTS. Otherwise nullptr; */ 90 * This is used to pass data to be used to check flash integrity using SHA-256 117 * Function Retrieves flash_area from flash_map for given partition. 119 * @param[in] id ID of the flash partition. 123 * @return 0 on success, -EACCES if the flash_map is not available , 124 * -ENOENT if @p ID is unknown, -ENODEV if there is no driver attached [all …]
|
/Zephyr-Core-3.5.0/samples/subsys/fs/fs_sample/boards/ |
D | nrf52840dk_nrf52840_qspi.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 /* Note that default partition layout, provided by board DTS, is not 9 * over QSPI device and does not collide with any other partition 15 compatible = "fixed-partitions"; 16 #address-cells = <1>; 17 #size-cells = <1>; 19 /* 128kiB external storage partition */ 20 external_partition: partition@0 { 29 compatible = "zephyr,flash-disk"; 30 partition = <&external_partition>; [all …]
|
D | nrf52840dk_nrf52840.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 /* Because FAT FS needs at least 64kiB partition and default 11 * and removes the storage partition to add the additional 2*64kiB to 14 /delete-node/ &slot0_partition; 15 /delete-node/ &slot1_partition; 16 /delete-node/ &storage_partition; 21 compatible = "fixed-partitions"; 22 #address-cells = <1>; 23 #size-cells = <1>; 25 slot0_partition: partition@c000 { [all …]
|
/Zephyr-Core-3.5.0/subsys/mgmt/mcumgr/grp/zephyr_basic/ |
D | Kconfig | 2 # SPDX-License-Identifier: Apache-2.0 12 bool "Storage erase command" 14 Enables command that allows to erase storage partition. 17 module-str = mcumgr_grp_zbasic
|
/Zephyr-Core-3.5.0/scripts/west_commands/runners/ |
D | esp32.py | 4 # SPDX-License-Identifier: Apache-2.0 16 '''Runner front-end for espidf.''' 19 app_address, erase=False, reset=False, baud=921600, argument 26 self.erase = bool(erase) 47 return RunnerCaps(commands={'flash'}, erase=True, reset=True) 52 parser.add_argument('--esp-idf-path', required=True, 53 help='path to ESP-IDF') 55 parser.add_argument('--esp-boot-address', default='0x1000', 57 parser.add_argument('--esp-partition-table-address', default='0x8000', 58 help='partition table load address') [all …]
|
D | ezflashcli.py | 3 # SPDX-License-Identifier: Apache-2.0 11 '''Runner front-end for ezFlashCLI''' 13 def __init__(self, cfg, tool, sn, erase=False, reset=True): argument 18 self.sn_arg = ['-j', f'{sn}'] if sn is not None else [] 19 self.erase = bool(erase) 28 return RunnerCaps(commands={'flash'}, erase=True, reset=True) 32 parser.add_argument('--tool', default=DEFAULT_EZFLASHCLI, 35 parser.add_argument('--sn', default=None, required=False, 36 help='J-Link probe serial number') 43 erase=args.erase) [all …]
|
/Zephyr-Core-3.5.0/boards/x86/qemu_x86/ |
D | qemu_x86.dts | 1 /* SPDX-License-Identifier: Apache-2.0 */ 3 /dts-v1/; 16 #include <zephyr/dt-bindings/pcie/pcie.h> 23 compatible = "soc-nv-flash"; 28 uart-0 = &uart0; 29 uart-1 = &uart1; 30 eeprom-0 = &eeprom0; 31 eeprom-1 = &eeprom1; 39 zephyr,shell-uart = &uart0; 40 zephyr,bt-uart = &uart1; [all …]
|
/Zephyr-Core-3.5.0/boards/arm/mimxrt1050_evk/ |
D | mimxrt1050_evk_qspi.dts | 4 * SPDX-License-Identifier: Apache-2.0 9 /delete-node/ &s26ks512s0; 13 zephyr,flash-controller = &is25wp064; 15 zephyr,code-partition = &slot0_partition; 21 ahb-prefetch; 22 ahb-read-addr-opt; 23 rx-clock-source = <1>; 26 compatible = "nxp,imx-flexspi-nor"; 29 spi-max-frequency = <133000000>; 31 jedec-id = [9d 70 17]; [all …]
|
/Zephyr-Core-3.5.0/subsys/debug/coredump/ |
D | coredump_backend_flash_partition.c | 4 * SPDX-License-Identifier: Apache-2.0 23 * @brief Simple coredump backend to store data in flash partition. 26 * partition, labeled "coredump-partition" in devicetree. 28 * On the partition, a header is stored at the beginning with padding 38 #error "Need a fixed partition named 'coredump-partition'!" 101 * @brief Open the flash partition. 113 LOG_ERR("Error opening flash partition for coredump!"); in partition_open() 123 * @brief Close the flash partition. 138 * @brief Read data from flash partition. 140 * This reads @p len bytes in the flash partition starting [all …]
|
/Zephyr-Core-3.5.0/boards/arm/mimxrt1060_evk/ |
D | mimxrt1060_evk_hyperflash.dts | 4 * SPDX-License-Identifier: Apache-2.0 9 /delete-node/ &is25wp064; 13 zephyr,flash-controller = &s26ks512s0; 15 zephyr,code-partition = &slot0_partition; 21 ahb-prefetch; 22 ahb-read-addr-opt; 23 ahb-bufferable; 24 ahb-cacheable; 25 sck-differential-clock; 26 combination-mode; [all …]
|
/Zephyr-Core-3.5.0/boards/arm/mimxrt1170_evk/ |
D | mimxrt1170_evkb_cm7.dts | 4 * SPDX-License-Identifier: Apache-2.0 12 /delete-property/ zephyr,flash-controller; 13 /delete-property/ zephyr,code-partition; 17 /delete-property/ magn0; 18 /delete-property/ accel0; 24 /delete-node/ is25wp128@0; 29 compatible = "nxp,imx-flexspi-nor"; 32 spi-max-frequency = <133000000>; 34 jedec-id = [ef 60 20]; 35 erase-block-size = <4096>; [all …]
|
D | mimxrt1170_evkb_cm4.dts | 4 * SPDX-License-Identifier: Apache-2.0 11 /delete-property/ zephyr,flash-controller; 12 /delete-property/ zephyr,code-partition; 16 /delete-property/ magn0; 17 /delete-property/ accel0; 23 /delete-node/ is25wp128@0; 28 compatible = "nxp,imx-flexspi-nor"; 31 spi-max-frequency = <133000000>; 33 jedec-id = [ef 60 20]; 34 erase-block-size = <4096>; [all …]
|
D | mimxrt1170_evk.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 7 #include "mimxrt1170_evk-pinctrl.dtsi" 8 #include <zephyr/dt-bindings/input/input-event-codes.h> 18 pwm-led0 = &green_pwm_led; 22 compatible = "gpio-leds"; 23 green_led: led-1 { 28 red_led: led-2 { 35 compatible = "gpio-keys"; 36 user_button: button-1 { 44 compatible = "pwm-leds"; [all …]
|
/Zephyr-Core-3.5.0/tests/drivers/flash_simulator/boards/ |
D | nucleo_f411re.overlay | 4 * SPDX-License-Identifier: Apache-2.0 9 compatible = "zephyr,memory-region", "mmio-sram"; 11 zephyr,memory-region = "FlashSim"; 16 sim_flash_controller: sim-flash-controller@0 { 17 compatible = "zephyr,sim-flash"; 20 #address-cells = <1>; 21 #size-cells = <1>; 22 erase-value = <0xff>; 23 memory-region = <&sram_2001C000>; 27 compatible = "soc-nv-flash"; [all …]
|
/Zephyr-Core-3.5.0/boards/arm/legend/ |
D | legend.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include <st/f0/stm32f070cbtx-pinctrl.dtsi> 10 #include <zephyr/dt-bindings/led/led.h> 11 #include <zephyr/dt-bindings/led/seagate_legend_b1414.h> 12 #include <zephyr/dt-bindings/input/input-event-codes.h> 17 zephyr,shell-uart = &usart1; 24 spi-flash0 = &spi_nor; 27 board_id: brd-id { 28 compatible = "gpio-keys"; [all …]
|
/Zephyr-Core-3.5.0/boards/posix/native_posix/ |
D | native_posix.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include <zephyr/dt-bindings/adc/adc.h> 10 #include <zephyr/dt-bindings/i2c/i2c.h> 11 #include <zephyr/dt-bindings/gpio/gpio.h> 19 zephyr,shell-uart = &uart0; 20 zephyr,uart-mcumgr = &uart0; 23 zephyr,flash-controller = &flashcontroller0; 29 eeprom-0 = &eeprom0; 30 i2c-0 = &i2c0; [all …]
|
/Zephyr-Core-3.5.0/samples/drivers/soc_flash_nrf/ |
D | README.rst | 1 .. zephyr:code-sample:: soc-flash-nrf 3 :relevant-api: flash_interface flash_area_api 15 Within the sample, user may observe how read/write/erase operations 23 access enabled, as it is default for SoC devices, and fixed-partition 28 .. zephyr-app-commands:: 29 :zephyr-app: samples/drivers/soc_flash_nrf 37 .. code-block:: console 39 *** Booting Zephyr OS build v2.7.99-17621-g54832687bcbb *** 44 Test 1: Flash erase page at 0x82000 45 Flash erase succeeded! [all …]
|
/Zephyr-Core-3.5.0/include/zephyr/mgmt/mcumgr/grp/zephyr/ |
D | zephyr_basic.h | 2 * Copyright (c) 2021-2023 Nordic Semiconductor ASA 4 * SPDX-License-Identifier: Apache-2.0 16 #define ZEPHYR_MGMT_GRP_BASIC_CMD_ERASE_STORAGE 0 /* Command to erase storage partition */
|
/Zephyr-Core-3.5.0/boards/arm/mimxrt1160_evk/ |
D | mimxrt1160_evk.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 7 #include "mimxrt1160_evk-pinctrl.dtsi" 8 #include <zephyr/dt-bindings/input/input-event-codes.h> 20 compatible = "gpio-leds"; 21 green_led: led-1 { 28 compatible = "gpio-keys"; 29 user_button: button-1 { 37 compatible = "pwm-leds"; 47 current-speed = <115200>; 48 pinctrl-0 = <&pinmux_lpuart1>; [all …]
|
/Zephyr-Core-3.5.0/tests/subsys/fs/fat_fs_api/src/ |
D | test_fat_mkfs.c | 4 * SPDX-License-Identifier: Apache-2.0 36 /* In this test the first partition on flash device is used for FAT */ in wipe_partition() 47 TC_PRINT("Erasing %zu (0x%zx) bytes\n", pfa->fa_size, pfa->fa_size); in wipe_partition() 48 rc = flash_area_erase(pfa, 0, pfa->fa_size); in wipe_partition() 94 TC_PRINT("Faield to \"erase\" sector "PRIu32" to "DISK_NAME"\n", in wipe_partition() 109 zassert_equal(ret, TC_PASS, "wipe partition failed %d", ret); in ZTEST() 119 zassert_equal(ret, TC_PASS, "wipe partition failed %d", ret); in ZTEST() 139 zassert_equal(ret, 0, "wipe partition failed %d", ret); in ZTEST()
|
/Zephyr-Core-3.5.0/boards/arm/vmu_rt1170/ |
D | vmu_rt1170.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 7 #include "vmu_rt1170-pinctrl.dtsi" 18 compatible = "gpio-leds"; 19 green_led: led-1 { 24 red_led: led-2 { 29 blue_led: led-3 { 42 pinctrl-0 = <&pinmux_lpuart1>; 43 pinctrl-names = "default"; 44 current-speed = <115200>; 49 pinctrl-0 = <&pinmux_lpuart3>; [all …]
|
/Zephyr-Core-3.5.0/tests/subsys/dfu/img_util/src/ |
D | main.c | 5 * SPDX-License-Identifier: Apache-2.0 31 /* Verify that the default partition ID is IMAGE_1 */ in ZTEST() 33 "Default partition ID is incorrect"); in ZTEST() 39 zassert_equal(ctx_id.flash_area->fa_id, SLOT0_PARTITION_ID, in ZTEST() 40 "Partition ID is not set correctly"); in ZTEST() 72 ret = flash_area_write(fa, fa->fa_size - sizeof(erase_buf), erase_buf, in ZTEST() 76 ret = flash_area_erase(ctx.flash_area, 0, ctx.flash_area->fa_size); in ZTEST() 77 zassert_true(ret == 0, "Flash erase failure (%d)", ret); in ZTEST() 111 ret = flash_area_read(fa, fa->fa_size - sizeof(buf), buf, sizeof(buf)); in ZTEST() 140 ret = flash_area_erase(ctx.flash_area, 0, ctx.flash_area->fa_size); in ZTEST() [all …]
|
/Zephyr-Core-3.5.0/boards/arm/mimxrt1020_evk/ |
D | mimxrt1020_evk.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 10 #include "mimxrt1020_evk-pinctrl.dtsi" 11 #include <zephyr/dt-bindings/input/input-event-codes.h> 14 model = "NXP MIMXRT1020-EVK board"; 24 zephyr,flash-controller = &is25wp064; 26 zephyr,code-partition = &slot0_partition; 31 zephyr,shell-uart = &lpuart1; 35 /* ISSI IS42S16160J-6TLI */ 41 compatible = "gpio-leds"; [all …]
|