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()
126 struct fs_file_t img; in setup_fs() local
145 fs_file_t_init(&img); in setup_fs()
146 ret = fs_open(&img, IMG_FILE_PATH, FS_O_CREATE | FS_O_WRITE); in setup_fs()
153 ret = fs_write(&img, &c_img->header, sizeof(lv_image_header_t)); in setup_fs()
160 ret = fs_write(&img, c_img->data, c_img->data_size); in setup_fs()
167 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/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
/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/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/khadas/edgev/doc/
Dindex.rst57 …ne -A arm64 -O linux -a 0x10000000 -e 0x10000000 -d build/zephyr/zephyr.bin build/zephyr/zephyr.img
63 tftpboot ${pxefile_addr_r} zephyr.img; bootm start ${pxefile_addr_r}; bootm loados; bootm go
/Zephyr-latest/boards/st/nucleo_f412zg/doc/
Dindex.rst100 .. image:: img/nucleo_f412zg_zio_left.jpg
103 .. image:: img/nucleo_f412zg_zio_right.jpg
106 .. image:: img/nucleo_f412zg_morpho_left.jpg
109 .. image:: img/nucleo_f412zg_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/subsys/bluetooth/mesh/shell/
Ddfu.c77 const struct bt_mesh_dfu_img *img, in dfu_meta_check() argument
85 const struct bt_mesh_dfu_img *img, in dfu_start() argument
96 static void dfu_end(struct bt_mesh_dfu_srv *srv, const struct bt_mesh_dfu_img *img, bool success) in dfu_end() argument
112 const struct bt_mesh_dfu_img *img) in dfu_apply() argument
614 const struct bt_mesh_dfu_img *img, in dfu_img_cb() argument
620 len = bin2hex(img->fwid, img->fwid_len, fwid, sizeof(fwid)); in dfu_img_cb()
625 if (img->uri) { in dfu_img_cb()
626 shell_print(bt_mesh_shell_ctx_shell, "\tURI: %s", img->uri); in dfu_img_cb()
/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()
/Zephyr-latest/samples/modules/tflite-micro/hello_world/train/
DREADME.md28 …flow/lite/micro/examples/hello_world/train/train_hello_world_model.ipynb"><img src="https://www.te…
31 …flow/lite/micro/examples/hello_world/train/train_hello_world_model.ipynb"><img src="https://www.te…
/Zephyr-latest/boards/waveshare/nrf51_ble400/doc/
Dindex.rst56 .. image:: img/Core51822-Compare.jpg
69 .. image:: img/nrf51_ble400.jpg
92 .. image:: img/Core51822-pin.jpg
99 .. image:: img/BLE400-size.jpg
/Zephyr-latest/boards/st/nucleo_f413zh/doc/
Dindex.rst100 .. image:: img/nucleo_f413zh_zio_left.jpg
103 .. image:: img/nucleo_f413zh_zio_right.jpg
106 .. image:: img/nucleo_f413zh_morpho_left.jpg
109 .. image:: img/nucleo_f413zh_morpho_right.jpg
/Zephyr-latest/boards/shields/m5stack_core2_ext/doc/
Dindex.rst13 .. figure:: img/m5stack_core2_ext.webp
/Zephyr-latest/boards/vngiotlab/nrf51_vbluno51/doc/
Dindex.rst9 .. figure:: img/nrf51_vbluno51_bot.jpg
74 .. figure:: img/vbluno51_nordic_pinout.jpg
80 .. figure:: img/vbluno51_frizting.jpg

12345678910