DevEco Studio is a required tool for driver development. You can use it to develop, debug, and package drivers.
Download and install DevEco Studio using your HUAWEI ID. Then, follow the instructions in Creating a Project in the tool overview to perform basic verification and ensure that DevEco Studio runs properly.
The ArkTS APIs provided by the extended peripheral management module are applicable only when the SDK is of API version 10 or later.
The following table lists the SDK versions required to develop dedicated peripheral drivers or enhanced peripheral drivers based on the DDK.
| NDK API | SDK Version |
|---|---|
| UsbDdk | API version 10 or later |
| HidDdk | API version 11 or later |
| USBSerialDDK | API version 18 or later |
| ScsiPeripheralDDK | API version 18 or later |
HarmonyOS Device Connector (hdc) is a command-line debugging tool. It enables interaction with real devices or emulators on Windows, Linux, and Mac systems. For details, see hdc.
Configuring the environment variable hdc_server_port and global environment variables is mandatory.