Merge branch 'bugfix/ulp_fixes_v3.0' into 'release/v3.0'

ULP fixes (backport v3.0)

See merge request idf/esp-idf!3002
This commit is contained in:
Angus Gratton
2018-08-22 13:37:16 +08:00
9 changed files with 1075 additions and 914 deletions

View File

@@ -15,8 +15,8 @@ Installing the toolchain
ULP coprocessor code is written in assembly and compiled using the `binutils-esp32ulp toolchain`_.
1. Download the toolchain using the links listed on this page:
https://github.com/espressif/binutils-esp32ulp/wiki#downloads
1. Download pre-built binaries of the latest toolchain release from:
https://github.com/espressif/binutils-esp32ulp/releases.
2. Extract the toolchain into a directory, and add the path to the ``bin/`` directory of the toolchain to the ``PATH`` environment variable.
@@ -134,7 +134,7 @@ Each ULP program is embedded into the ESP-IDF application as a binary blob. Appl
Once the program is loaded into RTC memory, application can start it, passing the address of the entry point to ``ulp_run`` function::
ESP_ERROR_CHECK( ulp_run((&ulp_entry - RTC_SLOW_MEM) / sizeof(uint32_t)) );
ESP_ERROR_CHECK( ulp_run(&ulp_entry - RTC_SLOW_MEM) );
.. doxygenfunction:: ulp_run

1830
docs/api-guides/ulp_instruction_set.rst Executable file → Normal file

File diff suppressed because it is too large Load Diff