Skip to content

Commit

Permalink
boyscout: QoL improvements (#515)
Browse files Browse the repository at this point in the history
* Ensure line-endings stay as intended in patch files

This avoids git being overly ambitious with git hygiene, as our target
does not follow git etiquette using crlf line endings.

This was re-introduced with the 20240710 build, so lets do it again.

Contributes to #511 again.

Signed-off-by: Olliver Schinagl <[email protected]>

* Split maclib binary patch

The maclib binary patches are quite 'heavy' for editors and github won't
even show it. Split it into two patches, so it is easier to manage.

Signed-off-by: Olliver Schinagl <[email protected]>

---------

Signed-off-by: Olliver Schinagl <[email protected]>
  • Loading branch information
oliv3r authored Sep 28, 2024
1 parent ab4d8de commit 14cd338
Show file tree
Hide file tree
Showing 3 changed files with 185,926 additions and 186,037 deletions.
2 changes: 1 addition & 1 deletion coordinator/Z-Stack_3.x.0/COMPILE.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
- `znp_LP_CC2652RB_tirtos7_ticlang`
1. Press _Finish_.
1. In Code Composer Studio, expand the 5 projects and for each open `znp.syscfg`, expand `Power Management` and change `Minimal Poll Period (ms)` to `1000`, change it back to `100` immediately and save the file.
1. Copy `firmware.patch` to the SDK installation folder, open a Git Bash in this folder and apply the patch using `git apply firmware.patch --ignore-space-change`.
1. Copy `*.patch` to the SDK installation folder, open a Git Bash in this folder and apply the patch using `git apply *.patch --ignore-space-change`.
1. Build the 5 projects; right click -> _Build project_.
- **Important:** by default the **launchpad** variant of the CC1352P2_CC2652P (= `znp_CC1352P_2_LAUNCHXL_tirtos7_ticlang`) is build. To build the **other** variant comment `#define LAUNCHPAD_CONFIG 1` in `preinclude.h` (located under `Stack/Config/`), don't forget to save.
1. Once finished, the firmware can be found under `znp_*_tirtos7_ticlang/default/znp_*_tirtos7_ticlang.hex`
Expand Down
Loading

0 comments on commit 14cd338

Please sign in to comment.