Compile SDK

Load the corresponding development board model

Linux

bash load.sh 
1): WT32_SC01 
2): WT154_C3SI1 
3): WT154_S2MI1 
4): WT_86_32_3ZW1 
5): WT280_S2MX1 
6): WT240_C3SI1 
7): WT_0_S2_240MW1 
8): ZX3D50CE02S_USRC_4832 
9): ZX3D95CE01S_AR_4848 
10): ZX3D95CE01S_UR_4848 
11): ZX4D30NE01S_UR_4827 
12): ZX4D60_AR_4896 
13): ZX2D10ECS_cESCP01
1
Set to 1-WT32_SC01
--- sdkconfig done

Done

Windows
Manually overwrite the .a static library contained in the corresponding development board model in the {SDK_PATH}/config directory to each component under ${SDK_PATH}/components/, and overwrite the sdkconfig of the model to the root directory of the project.

Compile locally and flash it

idf.py build
idf.py flash
  • After setting the model of the development board according to the previous chapter, you can directly compile and flash it

  • Using the idf.py set-target command after selecting a development board may cause the default sdkconfig to be reset