You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2. Check the build configuration of a sample device application (`apps` folder). If you want to use specific build options, you can directly modify the build configuration file (e.g. `sdkconfig`, `sdkconfig.h`) at the root directory of a sample device application. On the Espressif chipset, you can additionally use the `menuconfig` option for configuration.
51
+
2. Check the build configuration of a sample device application (`apps` folder). If you want to use specific build options, you can directly modify the each chipset build configuration file (e.g. `sdkconfig.esp32`, `sdkconfig.esp32c3`) at the root directory of a sample device application. On the Espressif chipset, you can additionally use the `menuconfig` option for configuration.
53
52
54
53
> If you want to use the default build configuration, you can skip this step.
55
54
@@ -59,13 +58,23 @@ Install the toolchain defined in the chipset SDK you use according to the direct
@@ -85,20 +94,32 @@ Flashing can be done according to the method outlined by the applicable chipset
85
94
86
95
You can flash the executables into a target device via `build.py` with additional options.
87
96
88
-
> You do not need to run `python build.py esp32 st_switch` before running `python build.py esp32 st_switch flash`; this will automatically rebuild anything which needs it.
97
+
> You do not need to run `python build.py esp32 switch_example` before running `python build.py esp32 switch_example flash`; this will automatically rebuild anything which needs it.
89
98
90
99
Available Options:
91
100
92
101
- **clean**: clean previous build outputs
93
102
```sh
94
103
# python build.py {app_path} {options}
95
104
$ python build.py apps/esp32/switch_example clean
105
+
or
106
+
# python build.py {bsp_name} {app_name} {options}
107
+
$ python build.py esp32 switch_example clean
108
+
109
+
# For other esp32 chipset series.
110
+
$ python build.py esp32c3 switch_example clean
96
111
```
97
112
- **flash**: download executable binaries to the device
98
113
- **monitor**: monitor the serial output of device. this option can be used with flash option.
0 commit comments