mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/eclipse_regex' into 'master'
Docs: Fix bugs in Eclipse setup See merge request idf/esp-idf!2617
This commit is contained in:
commit
c07ec696dc
@ -43,7 +43,7 @@ Project Properties
|
|||||||
|
|
||||||
* Click on the "C/C++ Build" properties page (top-level):
|
* Click on the "C/C++ Build" properties page (top-level):
|
||||||
|
|
||||||
* Uncheck "Use default build command" and enter this for the custom build command: ``python ${IDF_PATH}/tools/windows/eclipse_make.py``.
|
* Uncheck "Use default build command" and enter this for the custom build command: ``python ${IDF_PATH}/tools/windows/eclipse_make.py``
|
||||||
|
|
||||||
* Click on the "Environment" properties page under "C/C++ Build":
|
* Click on the "Environment" properties page under "C/C++ Build":
|
||||||
|
|
||||||
@ -57,12 +57,14 @@ Project Properties
|
|||||||
|
|
||||||
* Click the "Providers" tab
|
* Click the "Providers" tab
|
||||||
|
|
||||||
* In the list of providers, click "CDT GCC Built-in Compiler Settings Cygwin". Under "Command to get compiler specs", replace the text ``${COMMAND}`` at the beginning of the line with ``xtensa-esp32-elf-gcc``. This means the full "Command to get compiler specs" should be ``xtensa-esp32-elf-gcc ${FLAGS} -E -P -v -dD "${INPUTS}"``.
|
* In the list of providers, click "CDT Cross GCC Built-in Compiler Settings". Change "Command to get compiler specs" to ``xtensa-esp32-elf-gcc ${FLAGS} -E -P -v -dD "${INPUTS}"``.
|
||||||
|
|
||||||
* In the list of providers, click "CDT GCC Build Output Parser" and type ``xtensa-esp32-elf-`` at the beginning of the Compiler command pattern, and wrap remaining part with brackets. This means the full Compiler command pattern should be ``xtensa-esp32-elf-((g?cc)|([gc]\+\+)|(clang))``
|
* In the list of providers, click "CDT GCC Build Output Parser" and change the "Compiler command pattern" to ``xtensa-esp32-elf-(gcc|g\+\+|c\+\+|cc|cpp|clang)``
|
||||||
|
|
||||||
Navigate to "C/C++ General" -> "Indexer" property page:
|
Navigate to "C/C++ General" -> "Indexer" property page:
|
||||||
|
|
||||||
|
* Check "Enable project specific settings" to enable the rest of the settings on this page.
|
||||||
|
|
||||||
* Uncheck "Allow heuristic resolution of includes". When this option is enabled Eclipse sometimes fails to find correct header directories.
|
* Uncheck "Allow heuristic resolution of includes". When this option is enabled Eclipse sometimes fails to find correct header directories.
|
||||||
|
|
||||||
Building in Eclipse
|
Building in Eclipse
|
||||||
|
@ -59,12 +59,14 @@ Navigate to "C/C++ General" -> "Preprocessor Include Paths" property page:
|
|||||||
|
|
||||||
* Click the "Providers" tab
|
* Click the "Providers" tab
|
||||||
|
|
||||||
* In the list of providers, click "CDT Cross GCC Built-in Compiler Settings". Under "Command to get compiler specs", replace the text ``${COMMAND}`` at the beginning of the line with ``xtensa-esp32-elf-gcc``. This means the full "Command to get compiler specs" should be ``xtensa-esp32-elf-gcc ${FLAGS} -E -P -v -dD "${INPUTS}"``.
|
* In the list of providers, click "CDT Cross GCC Built-in Compiler Settings". Change "Command to get compiler specs" to ``xtensa-esp32-elf-gcc ${FLAGS} -E -P -v -dD "${INPUTS}"``.
|
||||||
|
|
||||||
* In the list of providers, click "CDT GCC Build Output Parser" and type ``xtensa-esp32-elf-`` at the beginning of the Compiler command pattern. This means the full Compiler command pattern should be ``xtensa-esp32-elf-(g?cc)|([gc]\+\+)|(clang)``
|
* In the list of providers, click "CDT GCC Build Output Parser" and change the "Compiler command pattern" to ``xtensa-esp32-elf-(gcc|g\+\+|c\+\+|cc|cpp|clang)``
|
||||||
|
|
||||||
Navigate to "C/C++ General" -> "Indexer" property page:
|
Navigate to "C/C++ General" -> "Indexer" property page:
|
||||||
|
|
||||||
|
* Check "Enable project specific settings" to enable the rest of the settings on this page.
|
||||||
|
|
||||||
* Uncheck "Allow heuristic resolution of includes". When this option is enabled Eclipse sometimes fails to find correct header directories.
|
* Uncheck "Allow heuristic resolution of includes". When this option is enabled Eclipse sometimes fails to find correct header directories.
|
||||||
|
|
||||||
.. _eclipse-build-project:
|
.. _eclipse-build-project:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user