boyscout: QoL improvements (#515)

* 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 <oliver@schinagl.nl>

* 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 <oliver@schinagl.nl>

---------

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
This commit is contained in:
Olliver Schinagl 2024-09-28 15:05:44 +02:00 committed by GitHub
parent ab4d8deb8a
commit 14cd338d26
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 185926 additions and 186037 deletions

View File

@ -18,7 +18,7 @@
- `znp_LP_CC2652RB_tirtos7_ticlang` - `znp_LP_CC2652RB_tirtos7_ticlang`
1. Press _Finish_. 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. 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_. 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. - **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` 1. Once finished, the firmware can be found under `znp_*_tirtos7_ticlang/default/znp_*_tirtos7_ticlang.hex`

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff