Add missing link to ulp header files and link to example following https://esp32.com/viewtopic.php?f=2&t=15562

This commit is contained in:
Krzysztof 2020-05-13 23:05:07 +02:00
parent 437a8fa9d2
commit 9b5acea160

View file

@ -1,5 +1,5 @@
Programming ULP coprocessor using C macros
==========================================
Programming ULP coprocessor using C macros (legacy)
===================================================
In addition to the existing binutils port for the ESP32 ULP coprocessor, it is possible to generate programs for the ULP by embedding assembly-like macros into an ESP32 application. Here is an example how this can be done::
@ -51,6 +51,23 @@ Here is an example of using labels and branches::
ulp_run(load_addr);
Application Example
-------------------
Demonstration of entering into deep sleep mode and waking up using several wake up sources: :example:`system/deep_sleep`.
API Reference
-------------
Header File
^^^^^^^^^^^
.. list::
:esp32: - :component_file:`ulp/include/esp32/ulp.h`
:esp32s2: - :component_file:`ulp/include/esp32s2/ulp.h`
Functions
^^^^^^^^^