You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Convert ComCfg.fpp to template (ComCfg.fpp.in)
- Add CMake option FPRIME_SPACECRAFT_ID (default 0x0044)
- Configure ComCfg.fpp generation from template
- Update CI to use spacecraft ID 0x00C1
- Add documentation for spacecraft ID configuration
Co-authored-by: Mikefly123 <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,21 @@ cd proves-core-reference
21
21
make
22
22
```
23
23
24
+
## Configuration
25
+
26
+
### Spacecraft ID
27
+
28
+
The spacecraft ID is used to identify different spacecraft/devices in the communication protocol. By default, the project uses spacecraft ID `0x0044` (68 in decimal) for development builds.
29
+
30
+
To build with a different spacecraft ID, use the `FPRIME_CMAKE_OPTIONS` variable:
31
+
32
+
```shell
33
+
make generate FPRIME_CMAKE_OPTIONS="-DFPRIME_SPACECRAFT_ID=0x00C1"
34
+
make build FPRIME_CMAKE_OPTIONS="-DFPRIME_SPACECRAFT_ID=0x00C1"
35
+
```
36
+
37
+
**Note:** CI builds automatically use spacecraft ID `0x00C1` (193 in decimal) to prevent conflicts with development devices.
38
+
24
39
## Running the code
25
40
26
41
Run generate from the `proves-core-reference` directory. This generates the build cache for FPrime. You only need to do generate if something in the core FPrime package has changed
0 commit comments