Skip to content

Latest commit

 

History

History
59 lines (33 loc) · 2.03 KB

TEMPLATE_EXAMPLE_README.md

File metadata and controls

59 lines (33 loc) · 2.03 KB

Note that this is a template for an ESP-IDF example README.md file. When using this template, replace all these emphasised placeholders with example-specific content.

Example Title

(See the README.md file in the upper level 'examples' directory for more information about examples.)

What is this example? What does it do?

What features of ESP-IDF does it use?

What could someone create based on this example? ie applications/use cases/etc

If there are any acronyms or Espressif-only words used here, explain them or mention where in the datasheet/TRM this information can be found.

How to use example

Hardware Required

If possible, example should be able to run on any commonly available ESP32 development board. Otherwise, describe what specific hardware should be used.

If any other items (server, BLE device, app, second chip, whatever) are needed, mention them here. Include links if applicable. Explain how to set them up.

Configure the project

make menuconfig
  • Set serial port under Serial Flasher Options.

  • If there is any menuconfig configuration that the user user must set for this example, mention this here.

Build and Flash

Build the project and flash it to the board, then run monitor tool to view serial output:

make -j4 flash monitor

(To exit the serial monitor, type Ctrl-].)

See the Getting Started Guide for full steps to configure and use ESP-IDF to build projects.

Example Output

Include an example of the console output from the running example, here:

Use this style for pasting the log.

If the user is supposed to interact with the example at this point (read/write GATT attribute, send HTTP request, press button, etc. then mention it here)

For examples where ESP32 is connected with some other hardware, include a table or schematics with connection details.

Troubleshooting

If there are any likely problems or errors which many users might encounter, mention them here. Remove this section for very simple examples where nothing is likely to go wrong.