SDK-dat/C-dat/cmake-dat/cmake-dat.md
... ...
@@ -1,3 +1,12 @@
1 1
2 2
# cmake-dat
3 3
4
+On Windows, the simplest way is winget.
5
+
6
+Open PowerShell or Command Prompt and run:
7
+
8
+winget install Kitware.CMake
9
+
10
+Then close and reopen your terminal and verify:
11
+
12
+cmake --version
... ...
\ No newline at end of file
SDK-dat/RTOS-dat/Zephyr-dat/Zephyr-dat.md
... ...
@@ -21,16 +21,19 @@ In your Windows bash terminal, from the firmware folder:
21 21
cd /e/git-DL/HeadTracker/firmware
22 22
python -m pip install --upgrade pip
23 23
python -m pip install west
24
- west init zephyr
24
+ west init zephyr // long time
25 25
cd zephyr/zephyr
26 26
git checkout v3.7.1
27
+
27 28
cd ..
28
- west update --narrow
29
+ west update --narrow // long time
29 30
west -z "$PWD" zephyr-export
30 31
python -m pip install -r zephyr/scripts/requirements.txt
31 32
west blobs fetch hal_espressif
32 33
34
+Then install Zephyr SDK 0.17.0 globally to a fixed path such as E:\zephyr-sdk-0.17.0 or E:\git-DL\HeadTracker\firmware\zephyr-sdk, and run:
33 35
36
+ E:\zephyr-sdk-0.17.0\setup.cmd -t arm-zephyr-eabi -t xtensa-espressif_esp32_zephyr-elf -t riscv64-zephyr-elf -h
34 37
35 38
## venv
36 39
SDK-dat/SDK-DAT.md
... ...
@@ -1,7 +1,7 @@
1 1
2 2
# SDK-DAT
3 3
4
-- [[code-dat]]
4
+- [[code-dat]] - [[Cmake-dat]]
5 5
6 6
- [[STM32-dat]]
7 7
SDK-dat/shell-dat/shell-dat.md
... ...
@@ -1,6 +1,28 @@
1 1
2 2
# shell-dat
3 3
4
+
5
+winget install GNU.Wget
6
+
7
+PS C:\Users\Administrator> winget search wget
8
+Name Id Version Match Source
9
+--------------------------------------------------
10
+Wget JernejSimoncic.Wget 1.21.4 winget
11
+Wget2 GNU.Wget2 2.2.1 Tag: wget winget
12
+
13
+winget install JernejSimoncic.Wget
14
+
15
+
16
+## powershell
17
+
18
+(Invoke-WebRequest -Uri "https://api.ipify.org").Content
19
+
20
+notepad $PROFILE
21
+
22
+ $env:HTTP_PROXY = "http://127.0.0.1:7897"
23
+ $env:HTTPS_PROXY = "http://127.0.0.1:7897"
24
+
25
+
4 26
## bash
5 27
6 28
nano ~/.bashrc
Tech-dat/MCU-dat/mcu-dat.md
... ...
@@ -41,7 +41,7 @@
41 41
42 42
- [[holtek-dat]] - [[holtek-MCU-dat]]
43 43
44
-
44
+- [[infineon-dat]]
45 45
46 46
47 47
## other types
Tech-dat/tech-dat.md
... ...
@@ -3,6 +3,8 @@
3 3
4 4
## Main tech
5 5
6
+- [[SDK-dat]]
7
+
6 8
- [[board-dat]] - [[board-new-dat]]
7 9
8 10
- [[app-dat]] - [[rc-apps-dat]]