Files
esp-idf/docs/zh_CN/third-party-tools/clion.rst
2025-05-30 14:07:49 +08:00

38 lines
2.0 KiB
ReStructuredText
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

.. _clion:
CLion
#####
:link_to_translation:`en:[English]`
CLion 是什么?
~~~~~~~~~~~~~~~~~~~
`CLion <https://www.jetbrains.com/clion/>`__ 是一款跨平台的 C/C++ 集成开发环境 (IDE),它支持 ESP-IDF 框架,为开发者提供无缝的开发体验。
从 v2025.1.1 版本开始,`CLion 对以下用途免费开放 <https://blog.jetbrains.com/zh-hans/clion/2025/05/clion-is-now-free-for-non-commercial-use/#/>`__:开源项目贡献、学习或教学 C/C++、个人应用程序开发、其他非商业项目。
安装
~~~~
可以通过以下方式下载 CLion
- 通过 `Toolbox App <https://www.jetbrains.com/zh-cn/toolbox-app/#/>`__ 下载 `独立安装版 <https://www.jetbrains.com/zh-cn/clion/download/#/>`__
- 或以 snap 软件包形式获取 CLion适用于 Ubuntu 系统)。
要了解所需的工具链,请参阅 `相关文档 <https://www.jetbrains.com/help/clion/installation-guide.html#toolchain-reqs>`__
配置
~~~~
要在 CLion 中配置 ESP-IDF 项目,请参阅 `在 CLion 中使用 ESP-IDF <https://developer.espressif.com/blog/clion/#configuring-an-esp-idf-project>`__ 教程。该教程详细讲解了如何配置项目、构建应用程序、烧录至开发板以及进行调试。还可以参考 `CLion 的 ESP-IDF 文档 <https://www.jetbrains.com/help/clion/esp-idf.html>`__
资源
~~~~
如需了解 CLion 为嵌入式开发提供的功能和集成支持,请参考以下资源:
- `嵌入式开发支持 <https://www.jetbrains.com/help/clion/embedded-overview.html>`__:概述如何将 CLion 用作嵌入式开发 IDE。
- `调试服务器 <https://www.jetbrains.com/help/clion/debug-servers.html>`__:一项新功能,可便捷地配置和使用调试服务器,支持包括 ESP-IDF 在内的多种构建目标。
- `PlatformIO 集成 <https://www.jetbrains.com/help/clion/platformio.html>`__:详细指南,介绍如何使用 `CLion 的 PlatformIO 插件 <https://plugins.jetbrains.com/plugin/13922-platformio-for-clion>`__ 搭配 PlatformIO 框架进行开发。