Skip to content

Commit

Permalink
Increment version to v1.6.7 and firmware v8 so we can launch the bug …
Browse files Browse the repository at this point in the history
…fix to beta.
  • Loading branch information
VanceVagell committed Jan 12, 2025
1 parent 586caed commit ffc3375
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 10 deletions.
4 changes: 2 additions & 2 deletions android-src/KV4PHT/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ android {
applicationId "com.vagell.kv4pht"
minSdk 26
targetSdk 34
versionCode 30
versionName "1.6.6"
versionCode 31
versionName "1.6.7"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ public class FirmwareUtils {
private static int progressPercent = 0;

// Whenever there is new firmware, put the files in res/raw, and update these constants.
public static final int PACKAGED_FIRMWARE_VER = 7;
private static final int FIRMWARE_FILE_1_ID = R.raw.v7_kv4p_ht_esp32_wroom_32_ino_bootloader;
private static final int FIRMWARE_FILE_2_ID = R.raw.v7_kv4p_ht_esp32_wroom_32_ino_partitions;
public static final int PACKAGED_FIRMWARE_VER = 8;
private static final int FIRMWARE_FILE_1_ID = R.raw.v8_kv4p_ht_esp32_wroom_32_ino_bootloader;
private static final int FIRMWARE_FILE_2_ID = R.raw.v8_kv4p_ht_esp32_wroom_32_ino_partitions;
private static final int FIRMWARE_FILE_3_ID = R.raw.boot_app0; // This one never changes, it's the Arduino ESP32 bootloader
private static final int FIRMWARE_FILE_4_ID = R.raw.v7_kv4p_ht_esp32_wroom_32_ino;
private static final int FIRMWARE_FILE_4_ID = R.raw.v8_kv4p_ht_esp32_wroom_32_ino;

public FirmwareUtils() {
}
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <driver/dac.h>
#include <esp_task_wdt.h>

const byte FIRMWARE_VER[8] = {'0', '0', '0', '0', '0', '0', '0', '7'}; // Should be 8 characters representing a zero-padded version, like 00000001.
const byte FIRMWARE_VER[8] = {'0', '0', '0', '0', '0', '0', '0', '8'}; // Should be 8 characters representing a zero-padded version, like 00000001.
const byte VERSION_PREFIX[7] = {'V', 'E', 'R', 'S', 'I', 'O', 'N'}; // Must match RadioAudioService.VERSION_PREFIX in Android app.

// Commands defined here must match the Android app
Expand Down
13 changes: 13 additions & 0 deletions website-src/esp-web-tools/manifest-v8.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"name": "kv4p HT firmware",
"version": "v8",
"new_install_prompt_erase": false,
"builds": [
{
"chipFamily": "ESP32",
"parts": [
{ "path": "../firmware/kv4p-ht-firmware-v8.bin", "offset": 0 }
]
}
]
}
Binary file added website-src/firmware/kv4p-ht-firmware-v8.bin
Binary file not shown.
2 changes: 1 addition & 1 deletion website-src/quick_start.html
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ <h1>Optional: Web-based firmware flasher</h1>
<li><b>If you don't see a red button below, your browser doesn't support flashing.</b></li>
</ul>
<li><b>Select the device "CP2102 USB to UART Bridge Controller"</b>: <esp-web-install-button manifest="https://kv4p.com/esp-web-tools/manifest-v5.json"><button slot="activate">Flash firmware v5</button></esp-web-install-button>
<esp-web-install-button manifest="https://kv4p.com/esp-web-tools/manifest-v7.json"><button slot="activate">Flash firmware v7 (beta users only)</button></esp-web-install-button></li></li>
<esp-web-install-button manifest="https://kv4p.com/esp-web-tools/manifest-v8.json"><button slot="activate">Flash firmware v8 (beta users only)</button></esp-web-install-button></li></li>
<li>If the button doesn't seem to work, make sure you visited <a href="https://kv4p.com/quick_start.html">kv4p.com</a> (without "www").</li>
<li>Device not showing up? You might need to install the <a href="https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads" target="_new">CP210x device driver</a>.</li>
</ul>
Expand Down
5 changes: 3 additions & 2 deletions website-src/updates.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,12 @@
</nav>
<main>
<div class="main-content-area">
<h1>Jan 12, 2025: Android app update v1.6.6, ESP32 firmware v7</h1>
<h1>Jan 12, 2025: Android app update v1.6.7, ESP32 firmware v8</h1>
<ul>
<li>Fixes tx audio sometimes not starting</li>
<li>Fixes static at the beginning of tx audio</li>
<li>Includes firmware v7</li>
<li>Fixes bug where squelch and filters would not be applied until app restart</li>
<li>Includes firmware v8</li>
</ul>
<h1>Jan 9, 2025: Android app update v1.6.2 & v1.6.3, ESP32 firmware v6</h1>
<ul>
Expand Down

0 comments on commit ffc3375

Please sign in to comment.