Skip to content

Commit d50796f

Browse files
committed
replace mergehex with python-intelhex
1 parent c41dd59 commit d50796f

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

.github/workflows/githubci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323

2424
- name: Install Toolchains
2525
run: |
26-
pip3 install adafruit-nrfutil uritemplate requests
27-
wget https://www.nordicsemi.com/api/sitecore/Products/DownloadPlatform --post-data=fileid=8F19D314130548209E75EFFADD9348DB -O cli-tools.tar
28-
tar -xv -f cli-tools.tar
29-
echo "::add-path::$GITHUB_WORKSPACE/mergehex"
26+
pip3 install adafruit-nrfutil uritemplate requests intelhex
27+
#wget https://www.nordicsemi.com/api/sitecore/Products/DownloadPlatform --post-data=fileid=8F19D314130548209E75EFFADD9348DB -O cli-tools.tar
28+
#tar -xv -f cli-tools.tar
29+
#echo "::add-path::$GITHUB_WORKSPACE/mergehex"
3030
npm install --global xpm
3131
xpm install --global @xpack-dev-tools/arm-none-eabi-gcc@latest
3232
echo "::add-path::`echo $HOME/opt/xPacks/@xpack-dev-tools/arm-none-eabi-gcc/*/.content/bin`"

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,17 @@ the variable `CROSS_COMPILE` as below:
152152
$ make CROSS_COMPILE=/opt/gcc-arm-none-eabi-9-2019-q4-major/bin/arm-none-eabi- BOARD=feather_nrf52832 all
153153
```
154154

155-
#### 2. `mergehex: No such file or directory`
155+
#### 2. `ModuleNotFoundError: No module named 'intelhex'`
156+
157+
Install python-intelhex with
158+
159+
```
160+
pip install intelhex
161+
```
162+
163+
164+
156165

157-
Make sure that `mergehex` is available from the command-line. This binary is
158-
part of Nordic's nRF5x Command Line Tools.
159166

160167
#### 3. `make: nrfjprog: No such file or directory`
161168

0 commit comments

Comments
 (0)