You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Usable for library developers who write code not dependent on Arduino.
Adding 3 lines to the includes will permit their debug messages to be
visible in Arduino IDE or when enabled under IDF
Copy file name to clipboardExpand all lines: docs/esp-idf_component.md
+13
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,8 @@
1
1
To use as a component of ESP-IDF
2
2
=================================================
3
3
4
+
## Installation
5
+
4
6
- Download and install [esp-idf](https://github.com/espressif/esp-idf)
5
7
- Create blank idf project (from one of the examples)
6
8
- in the project folder, create a folder called components and clone this repository inside
@@ -55,3 +57,14 @@ To use as a component of ESP-IDF
55
57
- If enabled, WiFi will start with the last known configuration
56
58
- Else it will wait for WiFi.begin
57
59
-```make flash monitor``` will build, upload and open serial monitor to your board
60
+
61
+
## Logging To Serial
62
+
63
+
If you are writing code that does not require Arduino to compile and you want your `ESP_LOGx` macros to work in Arduino IDE, you can enable the compatibility by adding the following lines after your includes:
0 commit comments