Home
last modified time | relevance | path

Searched refs:img (Results 1 – 25 of 249) sorted by relevance

12345678910

/Zephyr-latest/tests/lib/gui/lvgl/src/
Dmain.c93 lv_obj_t *img = lv_img_create(lv_scr_act()); in ZTEST_USER() local
95 zassert_not_null(img, "Failed to create image"); in ZTEST_USER()
97 lv_img_set_src(img, IMG_FILE_PATH); in ZTEST_USER()
98 lv_obj_align(img, LV_ALIGN_CENTER, 0, 0); in ZTEST_USER()
127 struct fs_file_t img; in setup_fs() local
146 fs_file_t_init(&img); in setup_fs()
147 ret = fs_open(&img, IMG_FILE_PATH, FS_O_CREATE | FS_O_WRITE); in setup_fs()
154 ret = fs_write(&img, &c_img->header, sizeof(lv_image_header_t)); in setup_fs()
161 ret = fs_write(&img, c_img->data, c_img->data_size); in setup_fs()
168 ret = fs_close(&img); in setup_fs()
/Zephyr-latest/drivers/display/
Dmb_display.c54 const struct mb_image *img; /* Array of images to show */ member
80 static int update_content(struct mb_display *disp, const struct mb_image *img) in update_content() argument
93 tmp_img.row[i] = flip_pixels(img->row[i]); in update_content()
98 ret = display_write(disp->lm_dev, 0, 0, &buf_desc, img); in update_content()
114 static int start_image(struct mb_display *disp, const struct mb_image *img) in start_image() argument
124 return update_content(disp, img); in start_image()
133 disp->img = NULL; in reset_display()
154 return &disp->img[disp->cur_img]; in current_img()
170 return &disp->img[0]; in next_img()
172 return &disp->img[disp->cur_img + 1]; in next_img()
[all …]
/Zephyr-latest/soc/silabs/silabs_siwx91x/
Dsiwx91x_isp_prepare.py156 img = bytearray(args.ifile.read())
159 chk = calc_checksum(img, 236, 1)
161 img[236:240] = chk.to_bytes(4, "little")
166 img = bl + padding + img
169 fwupreq = bytearray(get_fwupreq(args.load_addr - 0x8001000, len(img)))
170 img = fwupreq + img
173 crc = calc_crc32(img)
175 img[20:24] = crc.to_bytes(4, "little")
177 args.ofile.write(img)
188 hx.frombytes(img, args.load_addr - 4096)
/Zephyr-latest/include/zephyr/bluetooth/mesh/
Ddfu_srv.h81 const struct bt_mesh_dfu_img *img,
114 const struct bt_mesh_dfu_img *img,
134 const struct bt_mesh_dfu_img *img, bool success);
153 const struct bt_mesh_dfu_img *img,
169 const struct bt_mesh_dfu_img *img);
/Zephyr-latest/scripts/west_commands/runners/
Ddfu.py19 def __init__(self, cfg, dev_id, alt, img, exe='dfu-util', argument
25 self.img = img
81 if args.img is None:
82 args.img = cfg.bin_file
92 ret = DfuUtilBinaryRunner(cfg, args.dev_id, args.alt, args.img,
126 cmd.extend(['-a', self.alt, '-D', self.img])
/Zephyr-latest/tests/subsys/display/cfb/basic/src/
Dutils.c45 uint32_t image_pixel(const uint32_t *img, size_t width, int x, int y) in image_pixel() argument
47 const uint32_t *ptr = img + (width * y + x); in image_pixel()
66 bool verify_image(int cmp_x, int cmp_y, const uint32_t *img, size_t width, size_t height) in verify_image() argument
80 uint32_t img_pix = image_pixel(img, width, x, y); in verify_image()
87 LOG_INF("img@(0, %d) %p", y, (uint32_t *)img + (y * width)); in verify_image()
88 LOG_HEXDUMP_INF((uint32_t *)img + (y * width), 64, ""); in verify_image()
158 bool verify_image_and_bg(int x, int y, const uint32_t *img, size_t width, size_t height, in verify_image_and_bg() argument
163 ret = verify_image(x, y, img, width, height); in verify_image_and_bg()
Dutils.h18 uint32_t image_pixel(const uint32_t *img, size_t width, int x, int y);
20 bool verify_image(int x, int y, const uint32_t *img, size_t width, size_t height);
23 bool verify_image_and_bg(int x, int y, const uint32_t *img, size_t width, size_t height,
/Zephyr-latest/doc/connectivity/bluetooth/
Dbluetooth-ctlr-arch.rst9 .. image:: img/ctlr_overview.png
44 .. image:: img/ctlr_exec_overview.png
50 .. image:: img/ctlr_arch_overview.png
56 .. image:: img/ctlr_sched.png
62 .. image:: img/ctlr_sched_ticker.png
68 .. image:: img/ctlr_sched_ull_lll.png
74 .. image:: img/ctlr_sched_variant.png
80 .. image:: img/ctlr_sched_ull_lll_timing.png
86 .. image:: img/ctlr_sched_event_handling.png
92 .. image:: img/ctlr_sched_msc_close_events.png
[all …]
/Zephyr-latest/scripts/west_commands/tests/
Dtest_dfu_util.py83 exe, alt, dfuse_config, img = tc
84 runner = DfuUtilBinaryRunner(runner_config, TEST_PID, alt, img, exe=exe,
113 exe, alt, dfuse, modifiers, img = tc
115 if img:
116 args.extend(['--img', img])
142 map_tc = (exe or DFU_UTIL, alt, cfg, img or RC_KERNEL_BIN)
/Zephyr-latest/samples/boards/bbc/microbit/pong/src/
Dmain.c285 struct mb_image img = MB_IMAGE({ 0, 1, 0, 1, 0 }, in game_ended() local
291 RESTART_THRESHOLD, &img, 1); in game_ended()
294 struct mb_image img = MB_IMAGE({ 0, 1, 0, 1, 0 }, in game_ended() local
300 RESTART_THRESHOLD, &img, 1); in game_ended()
540 struct mb_image img = { }; in main() local
548 img.row[PADDLE_ROW] = (BIT(paddle_x) | BIT(paddle_x + 1)); in main()
551 img.row[VIRT_TO_REAL(ball_pos.y)] = in main()
556 SYS_FOREVER_MS, &img, 1); in main()
/Zephyr-latest/doc/develop/tools/
Dstm32cubeide.rst31 .. figure:: img/stm32cube_new_cmake.webp
52 .. figure:: img/stm32cube_project_properties.webp
63 .. figure:: img/stm32cube_preprocessor_include.webp
73 .. figure:: img/stm32cube_add_include.webp
80 .. figure:: img/stm32cube_autoconf_h.webp
99 .. figure:: img/stm32cube_menu_import.webp
105 .. figure:: img/stm32cube_import_project.webp
/Zephyr-latest/boards/waveshare/open103z/doc/
Dindex.rst13 .. image:: img/waveshare_connector.PNG
14 .. image:: img/waveshare_connector_list.PNG
/Zephyr-latest/include/zephyr/display/
Dmb_display.h133 const struct mb_image *img, uint8_t img_count);
/Zephyr-latest/boards/khadas/edgev/doc/
Dindex.rst41 …ne -A arm64 -O linux -a 0x10000000 -e 0x10000000 -d build/zephyr/zephyr.bin build/zephyr/zephyr.img
47 tftpboot ${pxefile_addr_r} zephyr.img; bootm start ${pxefile_addr_r}; bootm loados; bootm go
/Zephyr-latest/modules/hal_infineon/bless/
DCMakeLists.txt6 set(bless_blobs_dir ${ZEPHYR_HAL_INFINEON_MODULE_DIR}/zephyr/blobs/img/bluetooth/firmware)
/Zephyr-latest/subsys/bluetooth/mesh/
Ddfu_cli.c588 const struct bt_mesh_dfu_img *img, in target_img_cb() argument
593 if ((img->fwid_len != cli->xfer.slot->fwid_len) || in target_img_cb()
594 memcmp(cli->xfer.slot->fwid, img->fwid, img->fwid_len)) { in target_img_cb()
857 struct bt_mesh_dfu_img img; in handle_info_status() local
860 img.fwid_len = net_buf_simple_pull_u8(buf); in handle_info_status()
861 if (buf->len < img.fwid_len + 1) { in handle_info_status()
866 img.fwid = net_buf_simple_pull_mem(buf, img.fwid_len); in handle_info_status()
874 LOG_DBG("\tImage %u\n\r\tfwid: %s", idx, bt_hex(img.fwid, img.fwid_len)); in handle_info_status()
883 img.uri = uri_buf; in handle_info_status()
885 img.uri = NULL; in handle_info_status()
[all …]
/Zephyr-latest/
DREADME.rst8 <img src="doc/_static/images/logo-readme-light.svg">
13 …<a href="https://bestpractices.coreinfrastructure.org/projects/74"><img src="https://bestpractices…
14 …<a href="https://scorecard.dev/viewer/?uri=github.com/zephyrproject-rtos/zephyr"><img src="https:/…
15 …yrproject-rtos/zephyr/actions/workflows/twister.yaml?query=branch%3Amain"><img src="https://github…
/Zephyr-latest/boards/st/nucleo_f412zg/doc/
Dindex.rst73 .. image:: img/nucleo_f412zg_zio_left.jpg
76 .. image:: img/nucleo_f412zg_zio_right.jpg
79 .. image:: img/nucleo_f412zg_morpho_left.jpg
82 .. image:: img/nucleo_f412zg_morpho_right.jpg
/Zephyr-latest/boards/others/stm32f103_mini/doc/
Dindex.rst10 .. image:: img/stm32f103_mini_yellow.jpg
14 .. image:: img/stm32f103_mini_blue.jpg
57 .. image:: img/stm32f103_mini_pin.jpg
/Zephyr-latest/boards/st/nucleo_f207zg/doc/
Dindex.rst76 .. image:: img/nucleo_f207zg_zio_left.jpg
79 .. image:: img/nucleo_f207zg_zio_right.jpg
82 .. image:: img/nucleo_f207zg_morpho_left.jpg
85 .. image:: img/nucleo_f207zg_morpho_right.jpg
/Zephyr-latest/boards/st/nucleo_f410rb/doc/
Dindex.rst70 .. image:: img/nucleo_f410rb_arduino_top_left.jpg
73 .. image:: img/nucleo_f410rb_arduino_top_right.jpg
76 .. image:: img/nucleo_f410rb_morpho_top_left.jpg
79 .. image:: img/nucleo_f410rb_morpho_top_right.jpg
/Zephyr-latest/boards/st/nucleo_f413zh/doc/
Dindex.rst73 .. image:: img/nucleo_f413zh_zio_left.jpg
76 .. image:: img/nucleo_f413zh_zio_right.jpg
79 .. image:: img/nucleo_f413zh_morpho_left.jpg
82 .. image:: img/nucleo_f413zh_morpho_right.jpg
/Zephyr-latest/boards/renesas/rcar_h3ulcb/doc/
Drcar_h3ulcb_a57.rst41 .. figure:: img/rcar_h3ulcb_top.jpg
44 .. figure:: img/rcar_h3ulcb_bottom.jpg
/Zephyr-latest/boards/khadas/edge2/doc/
Dindex.rst45 …ne -A arm64 -O linux -a 0x10000000 -e 0x10000000 -d build/zephyr/zephyr.bin build/zephyr/zephyr.img
51 rkdeveloptool db rk3588_spl_loader_*; rkdeveloptool wl 0x100000 zephyr.img; rkdeveloptool rd
/Zephyr-latest/drivers/fpga/
Dfpga_slg471x5.c70 static int fpga_slg471x5_verify(const struct device *dev, uint8_t *img, uint32_t img_size) in fpga_slg471x5_verify() argument
84 if (memcmp(&img[addr], &buf[addr], len) != 0) { in fpga_slg471x5_verify()

12345678910