@@ -41,25 +41,18 @@ Since the mounted source repository will have a different owner from the user ru
4141
4242* RE-RUN FROM HERE TO BUILD DIFFERENT CONFIGURATIONS
4343
44- 4. Copy the relevant config file
44+ 4. Generate the relevant config file
4545
46- Copy the relevant config file onto `./sdkconfig.defaults`. The production build configs are in the directory `production`, as follows:
46+ Generate the relevant config file to `./sdkconfig.defaults` using the script `tools/switch_to.sh`.
4747
48- | Jade Hardware Type | Configuration | sdkconfig.defaults source file |
49- | --------------------------- | ------------- | -------------------------------------------------------- |
50- | Jade 1.0 (true wheel) | BLE-enabled | ./production/sdkconfig_jade_prod.defaults |
51- | | no-radio | ./production/sdkconfig_jade_noradio_prod.defaults |
52- | Jade 1.1 (rocker/jog-wheel) | BLE-enabled | ./production/sdkconfig_jade_v1_1_prod.defaults |
53- | | no-radio | ./production/sdkconfig_jade_v1_1_noradio_prod.defaults |
54- | Jade 2.0 (Jade Plus) | BLE-enabled | ./production/sdkconfig_jade_v2_prod.defaults |
55- | | no-radio | ./production/sdkconfig_jade_v2_noradio_prod.defaults |
56-
57- eg:
58- ```
59- cp ./production/sdkconfig_jade_prod.defaults sdkconfig.defaults
60- rm -f sdkconfig
61- ```
62- NOTE: The `rm -f sdkconfig` step is not necessary on a fresh/clean repo, but always best to ensure this file does not exist and is recreated from the `sdkconfig.defaults` file. This is vital if the `sdkconfig.defaults` file is changed (eg. to build another configuration).
48+ | Jade Hardware Type | Configuration | Command |
49+ | --------------------------- | ------------- | ------------------------------------------|
50+ | Jade 1.0 (true wheel) | BLE-enabled | ./tools/switch_to.sh jade |
51+ | | no-radio | ./tools/switch_to.sh jade --noradio |
52+ | Jade 1.1 (rocker/jog-wheel) | BLE-enabled | ./tools/switch_to.sh jade_v1_1 |
53+ | | no-radio | ./tools/switch_to.sh jade_v1_1 --noradio |
54+ | Jade 2.0 (two buttons) | BLE-enabled | ./tools/switch_to.sh jade_v2 |
55+ | | no-radio | ./tools/switch_to.sh jade_v2 --noradio |
6356
64575. Build
6558```
@@ -79,13 +72,13 @@ A diff of `./build/jade_signed.bin` against `./build/jade.bin` should just show
7972
8073# Download Blockstream Jade Firmware
8174
82- 1. Download the official Blockstream Jade firmware, suppliying the relevant `hw-target` flag:
75+ 1. Download the official Blockstream Jade firmware, by supplying the relevant `hw-target` flag:
8376
84- | Jade Hardware Type | --hw-target flag |
85- | --------------------------- | ------------------- |
86- | Jade 1.0 (true wheel) | --hw-target jade |
87- | Jade 1.1 (rocker/jog-wheel) | --hw-target jade1.1 |
88- | Jade 2.0 (two buttons) | --hw-target jade2.0 |
77+ | Jade Hardware Type | flag |
78+ | ---------------------------------- | - ------------------- |
79+ | Jade 1.0 (true wheel) | --hw-target jade |
80+ | Jade 1.1 (rocker/jog-wheel) | --hw-target jade1.1 |
81+ | Jade 2.0 (two buttons) | --hw-target jade2.0 |
8982
9083eg:
9184```
0 commit comments