Home
last modified time | relevance | path

Searched full:magic (Results 1 – 25 of 170) sorted by relevance

1234567

/Zephyr-latest/drivers/memc/
Dmemc_nxp_flexram.h69 /** @brief Sets magic address for OCRAM
71 * Magic address allows core interrupt from FlexRAM when address
74 * @param ocram_addr: An address in OCRAM to set magic function on.
81 /** @brief Sets magic address for ITCM
83 * Magic address allows core interrupt from FlexRAM when address
86 * @param itcm_addr: An address in ITCM to set magic function on.
93 /** @brief Sets magic address for DTCM
95 * Magic address allows core interrupt from FlexRAM when address
98 * @param dtcm_addr: An address in DTCM to set magic function on.
DKconfig.mcux78 bool "NXP FlexRAM magic addr API"
80 Enable API to use flexRAM magic address functionality
/Zephyr-latest/samples/boards/nxp/mimxrt1170_evk_cm7/magic_addr/
Dsample.yaml2 description: RT11xx FLEXRAM Magic Addr example
3 name: magic addr
12 filter: dt_node_prop_enabled("flexram", "flexram,has-magic-addr")
DREADME.rst2 :name: FLEXRAM magic address
9 A sample that shows how to use RT11XX FLEXRAM Magic Addr functionality
11 Magic Addr is a feature of FlexRAM that allows user to configure an interrupt
/Zephyr-latest/samples/boards/nxp/mimxrt1170_evk_cm7/magic_addr/src/
Dmain.c25 printf("Magic DTCM address accessed %d times\n", ++cnt); in flexram_magic_addr_isr_cb()
48 printf("Writing %c to magic addr...\n", tmp); in main()
51 printf("Reading from magic addr...\n"); in main()
52 printf("Magic variable got: %c\n", var); in main()
/Zephyr-latest/samples/boards/st/backup_sram/src/
Dmain.c19 uint32_t magic; member
34 if (backup.magic != BACKUP_MAGIC) { in main()
35 backup.magic = BACKUP_MAGIC; in main()
37 printk("Invalid magic in backup SRAM structure - resetting value.\n"); in main()
/Zephyr-latest/arch/arm/core/cortex_m/
Dpm_s2ram.c12 #define MAGIC (0xDABBAD00) macro
28 /* Set the marker to MAGIC value */ in pm_s2ram_mark_set()
33 : [_magic_val] "r"(MAGIC), [_marker] "r"(&marker) in pm_s2ram_mark_set()
61 : [_magic_val] "r"(MAGIC), [_marker] "r"(&marker) in pm_s2ram_mark_check_and_clear()
/Zephyr-latest/samples/boards/nxp/mimxrt1170_evk_cm7/magic_addr/pytest/
Dtest_magic_addr.py18 lines = dut.readlines_until(regex='Magic DTCM address accessed', print_output=True)
21 lines = dut.readlines_until(regex='Magic DTCM address accessed', print_output=True)
23 ret = any('Magic DTCM address accessed' in line for line in lines)
/Zephyr-latest/samples/modules/tflite-micro/magic_wand/
Dsample.yaml2 description: Magic Wand TensorFlow sample
3 name: magic wand tensorflow
DREADME.rst2 :name: Magic Wand
16 `the TensorFlow Magic Wand sample for Zephyr`_ and
19 .. _the TensorFlow Magic Wand sample for Zephyr:
/Zephyr-latest/samples/philosophers/src/
Dphil_obj_abstract.h33 #define MAGIC 0xa5a5ee11 macro
85 k_stack_push(x, MAGIC); \
90 __ASSERT(data == MAGIC, "data was %lx\n", data); \
92 #define drop(x) k_stack_push(x, MAGIC)
105 ((fork_obj_t *)(x))->data.data = MAGIC; \
112 __ASSERT(data->data == MAGIC, ""); \
127 ((fork_obj_t *)(x))->data.data = MAGIC; \
134 __ASSERT(data->data == MAGIC, ""); \
/Zephyr-latest/scripts/west_commands/
Dbindesc.py21 UF2_MAGIC_START0 = 0x0A324655 # First magic number ('UF2\n')
22 UF2_MAGIC_START1 = 0x9E5D5157 # Second magic number
31 cmd.inf('Skipping block at ' + ptr + '; bad magic')
65 MAGIC = 0xb9863e5a7ea46046 variable in Bindesc
200 magic = struct.pack('>Q' if self.is_big_endian else 'Q', self.MAGIC)
201 index = image.find(magic)
203 self.die('Could not find binary descriptor magic')
245 magic = struct.pack('>Q' if self.is_big_endian else 'Q', self.MAGIC)
246 index = image.find(magic)
248 self.die('Could not find binary descriptor magic')
[all …]
/Zephyr-latest/scripts/
Drequirements-compliance.txt11 python-magic
12 python-magic-bin; sys_platform == "win32"
/Zephyr-latest/scripts/pylib/pytest-twister-harness/tests/helpers/
Dshell_mcuboot_command_parser_test.py18 magic: good
25 magic: unset
47 magic: good
/Zephyr-latest/tests/drivers/flash_simulator/flash_sim_reboot/src/
Dmain.c30 printk("Writing magic word to offset 0\n"); in ZTEST()
38 printk("Second boot, reading magic word\n"); in ZTEST()
41 zassert_equal(MAGIC_WORD, word, "Magic word not preserved"); in ZTEST()
/Zephyr-latest/subsys/ipc/ipc_service/lib/
Dicmsg.c18 static const uint8_t magic[] = {0x45, 0x6d, 0x31, 0x6c, 0x31, 0x4b, variable
205 /* Allow magic number longer than sizeof(magic) for future protocol version. */ in mbox_callback_process()
206 bool endpoint_invalid = (len < sizeof(magic) || in mbox_callback_process()
207 memcmp(magic, rx_buffer, sizeof(magic))); in mbox_callback_process()
287 ret = pbuf_write(dev_data->tx_pb, magic, sizeof(magic)); in icmsg_open()
294 if (ret < (int)sizeof(magic)) { in icmsg_open()
295 __ASSERT_NO_MSG(ret == sizeof(magic)); in icmsg_open()
/Zephyr-latest/samples/drivers/eeprom/src/
Dmain.c16 uint32_t magic; member
58 if (values.magic != EEPROM_SAMPLE_MAGIC) { in main()
59 values.magic = EEPROM_SAMPLE_MAGIC; in main()
/Zephyr-latest/samples/subsys/usb/dfu/
DREADME.rst84 I: Primary image: magic=good, swap_type=0x3, copy_done=0x1, image_ok=0x1
85 I: Secondary image: magic=good, swap_type=0x2, copy_done=0x3, image_ok=0x3
101 I: Primary image: magic=good, swap_type=0x2, copy_done=0x1, image_ok=0x3
102 I: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
105 I: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
146 I: Primary image: magic=good, swap_type=0x4, copy_done=0x1, image_ok=0x1
147 I: Secondary image: magic=good, swap_type=0x3, copy_done=0x3, image_ok=0x1
/Zephyr-latest/dts/bindings/memory-controllers/
Dnxp,flexram.yaml17 flexram,has-magic-addr:
21 magic address feature, which allows for an interrupt
/Zephyr-latest/subsys/fs/fcb/
Dfcb_priv.h30 /* @brief Gets magic value in flash formatted version
32 * Magic, the fcb->f_magic, prior to being written to flash, is xored with
40 * @return uin32_t formatted magic value
/Zephyr-latest/dts/bindings/rng/
Dst,stm32-rng.yaml37 health-test-magic:
40 Magic Number to be written to Health Test Configuration Register (HTCR)
/Zephyr-latest/samples/tfm_integration/psa_crypto/src/
Dutil_app_cfg.h25 * @brief Magic number for config data payloads (0x55CFDA7A).
27 uint32_t magic; member
/Zephyr-latest/subsys/dfu/boot/
Dmcuboot_shell.c35 static const char *swap_state_magic_str(uint8_t magic) in swap_state_magic_str() argument
37 switch (magic) { in swap_state_magic_str()
209 shell_print(sh, " magic: %s", in cmd_mcuboot_info_area()
210 swap_state_magic_str(swap_state.magic)); in cmd_mcuboot_info_area()
/Zephyr-latest/subsys/settings/
DKconfig100 hex "FCB magic for the settings subsystem"
104 Magic 32-bit word for to identify valid settings area
/Zephyr-latest/tests/lib/c_lib/thrd/src/
Dthrd.h15 /* arbitrary magic numbers used for testing */

1234567