This component is an example, to be used with the IDF component manager.
To use it with your ESP-IDF project make sure that the component manager is installed and create the manifest idf_component.yml
in the project's main
component directory:
Yaml
dependencies:
example/cmp: "^3.3.3"
This component defines only one function void cmp_hello()
that prints a welcome message.
C
#include "cmp.h"
void app_main(void)
{
cmp_hello();
}
121f1c16ecbf502b8595c869cb3649a5b811b024
idf.py add-dependency "example/cmp^3.3.9~1"