Commit 0a4e0f9
committed
adds the ability to clone a git repository to use as a USER_C_MODULE
The syntax for use is as follows.
```
USER_C_MODULE=https://github.com/v923z/micropython-ulab:code/micropython.cmake
```
The portion after the second color `:` MUST be there. That is what points to the cmake file for the user_c_module. The path is relative to the cloned repository. DO NOT use an absolute path to point to the cmake file as it will not work.
Optionally you can specific a tag, branch or a commit to checkout by using this syntax
branch
```
USER_C_MODULE=https://github.com/v923z/micropython-ulab@testing:code/micropython.cmake
```
tag
```
USER_C_MODULE=https://github.com/v923z/micropython-ulab@6.7.3:code/micropython.cmake
```
commit
```
USER_C_MODULE=https://github.com/v923z/micropython-ulab@be15d626324350fcb4efe3da15ebf717cda5b0a8:code/micropython.cmake
```1 parent 9979ac2 commit 0a4e0f9
1 file changed
+29
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
441 | 441 | | |
442 | 442 | | |
443 | 443 | | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
444 | 473 | | |
445 | 474 | | |
446 | 475 | | |
| |||
0 commit comments