ef448baaaaed0abe611bce87f9fdbcd356e12d9d
SDK-dat/RTOS-dat/Zephyr-dat/2026-04-30-03-11-05.png
| ... | ... | Binary files /dev/null and b/SDK-dat/RTOS-dat/Zephyr-dat/2026-04-30-03-11-05.png differ |
SDK-dat/RTOS-dat/Zephyr-dat/2026-04-30-12-30-02.png
| ... | ... | Binary files /dev/null and b/SDK-dat/RTOS-dat/Zephyr-dat/2026-04-30-12-30-02.png differ |
SDK-dat/RTOS-dat/Zephyr-dat/Zephyr-dat.md
| ... | ... | @@ -4,6 +4,64 @@ |
| 4 | 4 | |
| 5 | 5 | - [[git-dat]] - [[bash-dat]] - [[shell-dat]] |
| 6 | 6 | |
| 7 | +## final build |
|
| 8 | + |
|
| 9 | + |
|
| 10 | + |
|
| 11 | + |
|
| 12 | + |
|
| 13 | + -- Including generated dts.cmake file: E:/git-DL/HeadTracker/firmware/src/build/ |
|
| 14 | + zephyr/dts.cmake |
|
| 15 | + Parsing E:/git-DL/HeadTracker/firmware/src/Kconfig |
|
| 16 | + Loaded configuration 'E:/git-DL/HeadTracker/firmware/src/zephyr/boards/arm/dtqsy |
|
| 17 | + s_ht/dtqsys_ht_defconfig' |
|
| 18 | + Merged configuration 'E:/git-DL/HeadTracker/firmware/src/zephyr/nrf_prj.conf' |
|
| 19 | + Merged configuration 'E:/git-DL/HeadTracker/firmware/src/build/zephyr/misc/gener |
|
| 20 | + ated/extra_kconfig_options.conf' |
|
| 21 | + Configuration saved to 'E:/git-DL/HeadTracker/firmware/src/build/zephyr/.config' |
|
| 22 | + Kconfig header saved to 'E:/git-DL/HeadTracker/firmware/src/build/zephyr/include |
|
| 23 | + /generated/zephyr/autoconf.h' |
|
| 24 | + -- Found GnuLd: e:/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd. |
|
| 25 | + exe (found version "2.38") |
|
| 26 | + -- The C compiler identification is GNU 12.2.0 |
|
| 27 | + -- The CXX compiler identification is GNU 12.2.0 |
|
| 28 | + -- The ASM compiler identification is GNU |
|
| 29 | + -- Found assembler: E:/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc |
|
| 30 | + .exe |
|
| 31 | + CMake Warning at E:/git-DL/HeadTracker/firmware/zephyr/zephyr/CMakeLists.txt:915 |
|
| 32 | + (message): |
|
| 33 | + No SOURCES given to Zephyr library: |
|
| 34 | + ..__..__src__zephyr__boards__arm__dtqsys_ht |
|
| 35 | + |
|
| 36 | + Excluding target from build. |
|
| 37 | + |
|
| 38 | + |
|
| 39 | + -- Configuring done (128.1s) |
|
| 40 | + -- Generating done (2.3s) |
|
| 41 | + -- Build files have been written to: E:/git-DL/HeadTracker/firmware/src/build |
|
| 42 | + -- west build: building application |
|
| 43 | + [1/324] Generating include/generated/zephyr/version.h |
|
| 44 | + -- Zephyr version: 3.7.1 (E:/git-DL/HeadTracker/firmware/zephyr/zephyr), build: |
|
| 45 | + v3.7.1 |
|
| 46 | + [324/324] Linking CXX executable zephyr\dtqsys_ht-2_50pre-f9ac01b.elf |
|
| 47 | + Memory region Used Size Region Size %age Used |
|
| 48 | + FLASH: 322144 B 944 KB 33.33% |
|
| 49 | + RAM: 68704 B 256 KB 26.21% |
|
| 50 | + IDT_LIST: 0 GB 32 KB 0.00% |
|
| 51 | + Generating files from E:/git-DL/HeadTracker/firmware/src/build/zephyr/dtqsys_ht- |
|
| 52 | + 2_50pre-f9ac01b.elf for board: dtqsys_ht |
|
| 53 | + |
|
| 54 | +The warning about the DTQSYS board library having no sources is not fatal here; Zephyr continued, linked successfully, and generated the board output. The earlier missing Ninja issue is resolved. |
|
| 55 | + |
|
| 56 | +## DTQSYS |
|
| 57 | + |
|
| 58 | +Your custom board directory (dtqsys_ht) likely contains a CMakeLists.txt file that calls zephyr_library(), but you haven't actually listed any .c or .cpp source files inside that specific folder (or the zephyr_library_sources() call is missing files). |
|
| 59 | + |
|
| 60 | +Should you worry? |
|
| 61 | + |
|
| 62 | +- **If your board works**: Probably not. Zephyr is just letting you know that the "library" it created for your board is empty and will be ignored. |
|
| 63 | +- **If you intended to have board-specific code**: Check your boards/arm/dtqsys_ht/CMakeLists.txt and ensure your source files are correctly linked. |
|
| 64 | + |
|
| 7 | 65 | |
| 8 | 66 | ## install |
| 9 | 67 | |
| ... | ... | @@ -76,4 +134,11 @@ After that, build from the app directory: |
| 76 | 134 | run: | |
| 77 | 135 | cd /src/firmware/src |
| 78 | 136 | west build -p -b dtqsys_ht |
| 79 | - cp ./build/zephyr/*.bin build_bins/ |
|
| ... | ... | \ No newline at end of file |
| 0 | + cp ./build/zephyr/*.bin build_bins/ |
|
| 1 | + |
|
| 2 | + |
|
| 3 | +## build |
|
| 4 | + |
|
| 5 | + export ZEPHYR_BASE=/e/git-DL/HeadTracker/firmware/zephyr/zephyr |
|
| 6 | + cd /e/git-DL/HeadTracker/firmware/src |
|
| 7 | + west build -p -b dtqsys_ht |
|
| ... | ... | \ No newline at end of file |
SDK-dat/shell-dat/shell-dat.md
| ... | ... | @@ -2,7 +2,43 @@ |
| 2 | 2 | # shell-dat |
| 3 | 3 | |
| 4 | 4 | |
| 5 | -winget install GNU.Wget |
|
| 5 | +## winget install DeviceTreeCompiler |
|
| 6 | + |
|
| 7 | +winget search DeviceTreeCompiler |
|
| 8 | + |
|
| 9 | +winget install MSYS2.MSYS2 |
|
| 10 | + |
|
| 11 | + # Update the package database |
|
| 12 | + pacman -Syu |
|
| 13 | + |
|
| 14 | + # Install the Device Tree Compiler (DTC) |
|
| 15 | + pacman -S mingw-w64-x86_64-dtc |
|
| 16 | + |
|
| 17 | +Add MSYS2 to your Windows PATH: C:\msys64\mingw64\bin |
|
| 18 | + |
|
| 19 | +## winget install Ninja-build.Ninja |
|
| 20 | + |
|
| 21 | +## winget install 7zip.7zip |
|
| 22 | + |
|
| 23 | +winget search 7z |
|
| 24 | + |
|
| 25 | +PS C:\Users\Administrator> winget search 7z |
|
| 26 | +Name Id Version Match Source |
|
| 27 | +----------------------------------------------------------------------------------------------------- |
|
| 28 | +Zip Unzip - rar,&7z compression 9MT44RNLPXXT Unknown msstore |
|
| 29 | +Total Zip: Rar, Zip and 7Z Extractor 9MT1HPWLNJ0C Unknown msstore |
|
| 30 | +7-Zip 7zip.7zip 26.01 Command: 7z winget |
|
| 31 | +7-Zip ZS mcmilk.7zip-zstd 25.01 ZS v1.5.7 R4 Command: 7z winget |
|
| 32 | +7-Zip ZS Non Darkmode mcmilk.7zip-zstd-ndm 25.01 ZS v1.5.7 R4 Command: 7z winget |
|
| 33 | +7zr 7zip.7zr 26.00 winget |
|
| 34 | +Advanced Archive Password Recovery Elcomsoft.ArchivePassword 4.66.266.6965 Tag: 7zip winget |
|
| 35 | +NanaZip M2Team.NanaZip 6.0.1701.0 Tag: 7zip winget |
|
| 36 | +NanaZip Preview M2Team.NanaZip.Preview 6.5.1638.0 Tag: 7zip winget |
|
| 37 | +QNapi QNapi.QNapi 0.2.3 Tag: p7zip winget |
|
| 38 | + |
|
| 39 | +also set $env:Path += ";C:\Program Files\7-Zip" |
|
| 40 | + |
|
| 41 | +## winget install GNU.Wget |
|
| 6 | 42 | |
| 7 | 43 | PS C:\Users\Administrator> winget search wget |
| 8 | 44 | Name Id Version Match Source |
| ... | ... | @@ -22,6 +58,9 @@ notepad $PROFILE |
| 22 | 58 | $env:HTTP_PROXY = "http://127.0.0.1:7897" |
| 23 | 59 | $env:HTTPS_PROXY = "http://127.0.0.1:7897" |
| 24 | 60 | |
| 61 | +Get-ChildItem Env: | Where-Object { $_.Name -match "PROXY" } |
|
| 62 | + |
|
| 63 | +System Proxy Toggle: Ensure the `System Proxy` switch is ON in the Clash Verge dashboard. |
|
| 25 | 64 | |
| 26 | 65 | ## bash |
| 27 | 66 |