K230 Third-Party Libraries Reference#
Overview#
The K230 RT-Smart SDK integrates a set of commonly used third-party libraries, primarily used for font rendering, GUI, TLS/encryption, HTTP, MQTT, and cloud platform access. This section focuses on the original interfaces of the third-party projects, with the SDK side mainly responsible for build integration, header file export, and sample project organization. Therefore, it is not appropriate to repeat the complete API in this manual.
This document provides a brief explanation from an integration perspective, helping users confirm:
Which third-party components are integrated in the SDK
Where the corresponding source code is located
Which Kconfig options need to be enabled
Which examples can be referenced
Which official documentation should be read first
Code Location#
Third-party library source:
src/rtsmart/libs/3rd-partyThird-party library build entry:
src/rtsmart/libs/3rd-party/MakefileThird-party sample entry:
src/rtsmart/examples/3rd-party/MakefileThird-party library configuration:
src/rtsmart/libs/3rd-party/KconfigThird-party sample configuration:
src/rtsmart/examples/3rd-party/Kconfig
Integrated Libraries#
Component |
SDK Directory |
Enable Configuration |
Optional Samples / Tests |
Official Resources |
|---|---|---|---|---|
FreeType |
|
|
|
|
LVGL |
|
|
|
|
Mbed TLS |
|
|
|
|
MQTTClient |
|
|
|
|
miniHTTP |
|
|
|
Please refer to the project source repository and header file documentation |
Tuya IoT Core SDK |
|
|
|
|
OpenCV Samples |
SDK OpenCV integration directory |
Sample configuration |
|
|
OpenBLAS Samples |
SDK OpenBLAS integration directory |
Sample configuration |
|
Usage Recommendations#
First Review the SDK Integration Approach#
If your goal is to integrate a third-party library into a K230 project, please read the following content first:
The master switches and dependency relationships in
libs/3rd-party/KconfigThe build subdirectory organization in
libs/3rd-party/MakefileThe
Makefile,CMakeLists.txt, and sample source code in the corresponding sample directories
Then Review the Third-Party Official Documentation#
If your goal is to learn the API of the library itself, please prioritize the official documentation over this SDK documentation. The reasons are:
Third-party library APIs are typically much larger in scale than SDK’s proprietary interfaces
Upstream project APIs are updated more frequently
Official documentation usually contains more complete parameters, limitations, and migration notes
Pay Attention to SDK-side Differences#
When using third-party libraries, you also need to pay attention to several SDK-side differences:
Whether the corresponding Kconfig switch needs to be enabled
Whether a porting layer or platform adaptation layer is provided
Whether K230-specific samples are available and can be run directly
Whether there are dependencies on other components, for example, Tuya depends on Mbed TLS
Notes#
This section does not duplicate the complete API manual of third-party projects; it only provides SDK integration entry points.
If the official documentation is inconsistent with the actual directories in the SDK, please refer to the header files, Makefile, and example projects in the current SDK.
If you need K230-specific documentation for a third-party library, it is recommended to check the corresponding sample directory first, as it usually best reflects the current runnable approach.
Tip
The best reading order for third-party library documentation is usually: first look at the SDK’s Kconfig and samples, then check the official documentation and API manual of the third-party project.
