# lv_nuttx_fbdev.h (/api/drivers/nuttx/lv_nuttx_fbdev_h)



<ApiSummary functions="2" />

Functions [#functions]

<ApiTabs items="[&#x22;Setters (1)&#x22;,&#x22;Other (1)&#x22;]">
  <ApiTab value="Setters (1)">
    <ApiMember kind="function" name="lv_nuttx_fbdev_set_file" file="drivers/nuttx/lv_nuttx_fbdev.h" line="43" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/drivers/nuttx/lv_nuttx_fbdev.h#L43">
      lv_nuttx_fbdev_set_file [#lv_nuttx_fbdev_set_file]

      Initialize display with specified framebuffer device

      ```c title=" " lineNumbers=1
      int lv_nuttx_fbdev_set_file(lv_display_t *disp, const char *file)
      ```

      <span className="sr-only">
        Parameters
      </span>

      | Name   | Type                                                     | Description                           |
      | ------ | -------------------------------------------------------- | ------------------------------------- |
      | `disp` | <ApiLink name="lv_display_t" display="lv_display_t *" /> | pointer to display with NuttX backend |
      | `file` | `const char *`                                           | the name of framebuffer device        |
    </ApiMember>
  </ApiTab>

  <ApiTab value="Other (1)">
    <ApiMember kind="function" name="lv_nuttx_fbdev_create" file="drivers/nuttx/lv_nuttx_fbdev.h" line="36" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/drivers/nuttx/lv_nuttx_fbdev.h#L36">
      lv_nuttx_fbdev_create [#lv_nuttx_fbdev_create]

      Create a new display with NuttX backend.

      ```c title=" " lineNumbers=1
      lv_display_t * lv_nuttx_fbdev_create(void)
      ```
    </ApiMember>
  </ApiTab>
</ApiTabs>

Dependencies [#dependencies]

<FileIncludes includes="[&#x22;lv_display.h&#x22;]" includedBy="[&#x22;lv_drivers.h&#x22;]" transitiveIncludes="[&#x22;lv_area.h&#x22;, &#x22;lv_array.h&#x22;, &#x22;lv_assert.h&#x22;, &#x22;lv_color.h&#x22;, &#x22;lv_color_op.h&#x22;, &#x22;lv_conf_internal.h&#x22;, &#x22;lv_conf_kconfig.h&#x22;, &#x22;lv_event.h&#x22;, &#x22;lv_ll.h&#x22;, &#x22;lv_log.h&#x22;, &#x22;lv_math.h&#x22;, &#x22;lv_mem.h&#x22;, &#x22;lv_palette.h&#x22;, &#x22;lv_string.h&#x22;, &#x22;lv_tick.h&#x22;, &#x22;lv_timer.h&#x22;, &#x22;lv_types.h&#x22;]" />
