Home
last modified time | relevance | path

Searched full:img (Results 1 – 25 of 275) sorted by relevance

1234567891011

/Zephyr-latest/tests/lib/gui/lvgl/src/
Dmain.c8 #include "img.h"
30 #define IMG_FILE_PATH "/"DISK_NAME":/img.bin"
44 #define IMG_FILE_PATH "/mnt/img.bin"
93 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()
[all …]
/Zephyr-latest/scripts/west_commands/tests/
Dtest_dfu_util.py21 TEST_BIN_NAME = 'test-img.bin'
29 # Test cases are (alt, exe, img, dfuse) tuples.
66 return 'exe={},alt={},dfuse_config={},img={}'.format(*tc)
69 # (exe, alt, dfuse_config, img)
83 exe, alt, dfuse_config, img = tc
84 runner = DfuUtilBinaryRunner(runner_config, TEST_PID, alt, img, exe=exe,
96 # arg spec: (exe, alt, dfuse, modifiers, img)
113 exe, alt, dfuse, modifiers, img = tc
115 if img:
116 args.extend(['--img', img])
[all …]
/Zephyr-latest/tests/subsys/mgmt/mcumgr/img_mgmt_slot_info/
Dtestcase.yaml16 img.mgmt.slot.info: {}
17 img.mgmt.slot.info.too.large:
20 img.mgmt.slot.info.dual.slot:
/Zephyr-latest/tests/subsys/dfu/img_util/src/
Dmain.c26 zassert_true(ret == 0, "Flash img init"); in ZTEST()
29 zassert_true(ret == 0, "Flash img init id"); in ZTEST()
37 zassert_true(ret == 0, "Flash img init id"); in ZTEST()
52 zassert_true(ret == 0, "Flash img init"); in ZTEST()
139 zassert_true(ret == 0, "Flash img init 1"); in ZTEST()
143 zassert_true(ret == 0, "Flash img buffered write\n"); in ZTEST()
146 zassert_true(ret == -EINVAL, "Flash img check params 1, 2\n"); in ZTEST()
148 zassert_true(ret == -EINVAL, "Flash img check params 2\n"); in ZTEST()
150 zassert_true(ret == -EINVAL, "Flash img check params 1\n"); in ZTEST()
153 zassert_true(ret == -EINVAL, "Flash img check fic match\n"); in ZTEST()
[all …]
/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/scripts/west_commands/runners/
Ddfu.py19 def __init__(self, cfg, dev_id, alt, img, exe='dfu-util', argument
25 self.img = img
59 parser.add_argument("--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/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/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/include/zephyr/mgmt/mcumgr/grp/img_mgmt/
Dimg_mgmt_client.h80 * @brief IMG mgmt client upload structure
100 * @brief IMG mgmt client object.
120 * @param client IMG mgmt client object
132 * @param client IMG mgmt client object
147 * @param client IMG mgmt client object
161 * @param client IMG mgmt client object
176 * @param client IMG mgmt client object
187 * @param client IMG mgmt client object
/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
Dclion.rst70 .. figure:: img/clion_toolchain_mingw.webp
84 .. figure:: img/clion_cmakeprofile.webp
178 .. figure:: img/clion_gdbserverconfig.webp
185 .. figure:: img/clion_segger_settings.webp
205 .. figure:: img/clion_debug_threads.webp
/Zephyr-latest/include/zephyr/bluetooth/mesh/
Ddfu_srv.h73 * @param img DFU image the metadata check is performed on.
81 const struct bt_mesh_dfu_img *img,
103 * @param img DFU image being updated.
114 const struct bt_mesh_dfu_img *img,
130 * @param img DFU image that failed the update.
134 const struct bt_mesh_dfu_img *img, bool success);
145 * @param img DFU image being updated.
153 const struct bt_mesh_dfu_img *img,
164 * @param img DFU image that should be applied.
169 const struct bt_mesh_dfu_img *img);
/Zephyr-latest/boards/waveshare/open103z/doc/
Dindex.rst13 .. image:: img/waveshare_connector.PNG
14 .. image:: img/waveshare_connector_list.PNG
/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/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/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/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/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/
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/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_f446re/doc/
Dindex.rst75 .. image:: img/nucleo_f446re_arduino_top_left.jpg
78 .. image:: img/nucleo_f446re_arduino_top_right.jpg
81 .. image:: img/nucleo_f446re_morpho_top_left.jpg
84 .. image:: img/nucleo_f446re_morpho_top_right.jpg
/Zephyr-latest/boards/st/nucleo_f429zi/doc/
Dindex.rst83 .. image:: img/nucleo_f429zi_cn8.jpg
86 .. image:: img/nucleo_f429zi_cn7.jpg
89 .. image:: img/nucleo_f429zi_cn11.jpg
92 .. image:: img/nucleo_f429zi_cn12.jpg

1234567891011