Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ <h1>BadgePirates</h1>
<option value="basicQACode25">2025 Basic QA Code</option>
<option value="cactuscon2025">CactusCon 2025</option>
<option value="bsideskc25">BSidesKC 25</option>
<option value="meshtastic">Meshtastic Heltek V3 - SecKC Edition</option>
</select>

<div id="badgePreview">
Expand Down
11 changes: 8 additions & 3 deletions app/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ const flashButton = document.getElementById('flashButton');
const badgeDescriptions = {
basicQACode25: "For QA of the base baord",
cactuscon2025: "Official badge for CactusCon 2025, featuring ESP32-s3",
bsideskc25: "BSidesKC 2025 badge: Available after the event"
bsideskc25: "BSidesKC 2025 badge: Available after the event",
meshtastic: "Meshtastic badge: Available after the event"
};
// Map of badge to manifest URLs (switch between S3 and localhost for local testing)
const useLocalhost = window.location.hostname === "localhost";
Expand All @@ -18,13 +19,17 @@ const manifestUrls = {
: "https://badgepirates-firmware.s3.amazonaws.com/cactuscon2025/manifest.json",
bsideskc25: useLocalhost
? `http://localhost:${localPort}/firmware/bsideskc25/manifest.json`
: "https://badgepirates-firmware.s3.amazonaws.com/bsideskc25/manifest.json"
: "https://badgepirates-firmware.s3.amazonaws.com/bsideskc25/manifest.json",
meshtastic: useLocalhost
? `http://localhost:${localPort}/firmware/meshtastic-HeltekV3-SecKC-Edition/manifest.json`
: "https://badgepirates-firmware.s3.amazonaws.com/meshtastic-Hv3-SKC/manifest.json"
};

const badgeImages = {
basicQACode25: "https://badgepirates-firmware.s3.amazonaws.com/basicQACode25/badge.jpg",
cactuscon2025: "https://badgepirates-firmware.s3.amazonaws.com/cactuscon2025/badge.jpg",
bsideskc25: "https://badgepirates-firmware.s3.amazonaws.com/bsideskc25/badge.jpg"
bsideskc25: "https://badgepirates-firmware.s3.amazonaws.com/bsideskc25/badge.jpg",
meshtastic: "https://heltec.org/wp-content/uploads/2022/10/LORA320-V3.png"
};

badgeSelect.addEventListener('change', () => {
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
15 changes: 15 additions & 0 deletions firmware/meshtastic-HeltekV3-SecKC-Edition/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "Meshtastic Heltek V3 - SecKC Edition",
"version": "1.0.0",
"builds": [
{
"chipFamily": "ESP32-S3",
"parts": [
{ "path": "http://localhost:8080/firmware/meshtastic-HeltekV3-SecKC-Edition/bootloader.bin", "offset": "0x0" },
{ "path": "http://localhost:8080/firmware/meshtastic-HeltekV3-SecKC-Edition/partitions.bin", "offset": "0x8000" },
{ "path": "http://localhost:8080/firmware/meshtastic-HeltekV3-SecKC-Edition/boot_app0.bin", "offset": "0xe000" },
{ "path": "http://localhost:8080/firmware/meshtastic-HeltekV3-SecKC-Edition/firmware.bin", "offset": "0x10000" }
]
}
]
}
Binary file not shown.