Skip to content

Commit 79a5365

Browse files
authored
doc: update build instructions (#9)
1 parent 9302061 commit 79a5365

File tree

5 files changed

+7
-155
lines changed

5 files changed

+7
-155
lines changed

Apps.cmake

Lines changed: 0 additions & 58 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export SDKCONFIG_DEFAULTS=sdkconfig.defaults.m5stack_core_s3
3333
Finish the configuration (copy of proper idf_component.yml to main and all applications in apps directory):
3434

3535
```shell
36-
cmake -P SelectBoard.cmake
36+
cmake -Daction=select_board -P Bootloader.cmake
3737
```
3838

3939
### Switching to other board
@@ -52,8 +52,7 @@ You should repeat this process also for applications.
5252
Build and flash all applications at once:
5353

5454
```shell
55-
idf.py flash
56-
cmake -S . -B build -P Apps.cmake
55+
cmake -Daction=build_all_apps -P Bootloader.cmake
5756
```
5857

5958
## Build applications one by one

SelectBoard.cmake

Lines changed: 0 additions & 52 deletions
This file was deleted.

SingleImage.cmake

Lines changed: 0 additions & 40 deletions
This file was deleted.

diagram.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
"attrs": { "psramSize": "16", "flashSize": "16" }
1212
}
1313
],
14-
"connections": [ [ "$serialMonitor:RX", "esp32:G43", "", [] ], [ "$serialMonitor:TX", "esp32:G44", "", [] ] ],
14+
"connections": [
15+
[ "$serialMonitor:RX", "esp32:G44", "", [] ],
16+
[ "$serialMonitor:TX", "esp32:G43", "", [] ]
17+
],
1518
"dependencies": {}
16-
}
19+
}

0 commit comments

Comments
 (0)