Commit 251fd0c
fix(ci): install minimal Zephyr SDK + set ZEPHYR_TOOLCHAIN_VARIANT=host
Zephyr CMake calls find_package(Zephyr-sdk) even for native_sim to locate
host tools (DTC, cmake config files). The minimal SDK bundle (~10 MB) provides
only the cmake registration files with no cross-compiler. setup.sh -c writes
~/.cmake/packages/Zephyr-sdk/ so CMake resolves it. ZEPHYR_TOOLCHAIN_VARIANT=host
tells Zephyr to use system GCC for native_sim instead of any cross-compiler.
Co-Authored-By: Oz <oz-agent@warp.dev>1 parent 1c9499e commit 251fd0c
1 file changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
61 | 64 | | |
62 | 65 | | |
63 | 66 | | |
| |||
103 | 106 | | |
104 | 107 | | |
105 | 108 | | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
106 | 123 | | |
107 | 124 | | |
108 | 125 | | |
| |||
0 commit comments