espressif/extended_vfs

0.3.2

Latest
uploaded 1 year ago
Extended Virtual File-system

readme

Description

Component Registry

Extended VFS is designed to make applications read/write/configure peripherals by POSIX APIs, like open, close, read, write, ioctl and so on. This components supports following peripheral:

  • GPIO
  • I2C
  • LEDC
  • SPI

You can refer to examples to learn usage and more details.

Add component to your project

Please use the component manager command add-dependency to add the extended_vfs to your project's dependency, during the CMake step the component will be downloaded automatically

Plaintext

idf.py add-dependency "espressif/extended_vfs=*"

Examples

Please use the component manager command create-project-from-example to create the project from example template

Plaintext

idf.py create-project-from-example "espressif/extended_vfs=*:gpio_simple"

Then the example gpio_simple will be downloaded in current folder, you can check into it for build and flash.

Or you can download examples from esp-iot-solution repository:

  1. gpio_simple
  2. i2c_bh1750
  3. i2c_tt21100
  4. ledc_simple
  5. spi_master_simple
  6. spi_slave_simple

Q&A

Q1. I encountered the following problems when using the package manager

Plaintext

Executing action: create-project-from-example
CMakeLists.txt not found in project directory /home/username

A1. This is because an older version packege manager was used, please run pip install -U idf-component-manager in ESP-IDF environment to update.

Links

Supports all targets

License: Apache-2.0

To add this component to your project, run:

idf.py add-dependency "espressif/extended_vfs^0.3.2"

or download archive

Stats

  • Archive size
    Archive size ~ 41.05 KB
  • Downloaded in total
    Downloaded in total 898 times
  • Downloaded this version
    This version: 755 times

Badge

espressif/extended_vfs version: 0.3.2
|