summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2022-09-01 23:31:46 -0700
committerH. Peter Anvin <hpa@zytor.com>2022-09-01 23:31:46 -0700
commit1836d0830bc12787085b501a0cbc22cbf523e1f7 (patch)
tree74ed879d537b5bb2797b9df50ee47cb918f1ad46
parent2533d0ac15b6c42fda852c55e278e18bc1b3a005 (diff)
downloadblinktest-1836d0830bc12787085b501a0cbc22cbf523e1f7.tar.gz
blinktest-1836d0830bc12787085b501a0cbc22cbf523e1f7.tar.xz
blinktest-1836d0830bc12787085b501a0cbc22cbf523e1f7.zip
httpd: disable DEBUGsetverwww
-rw-r--r--esp32/max80/httpd.c1
-rw-r--r--esp32/output/max80.ino.binbin800880 -> 800816 bytes
-rw-r--r--esp32/www/lang/sv7
-rw-r--r--esp32/www/update.html8
-rw-r--r--fpga/output/max80.fwbin923545 -> 923795 bytes
-rw-r--r--fpga/output/v1.fwbin764383 -> 764456 bytes
-rw-r--r--fpga/output/v2.fwbin764896 -> 764999 bytes
7 files changed, 10 insertions, 6 deletions
diff --git a/esp32/max80/httpd.c b/esp32/max80/httpd.c
index 074c58e..a05f7b3 100644
--- a/esp32/max80/httpd.c
+++ b/esp32/max80/httpd.c
@@ -1,5 +1,4 @@
#define MODULE "httpd"
-#define DEBUG 1
#include "common.h"
#include "fw.h"
diff --git a/esp32/output/max80.ino.bin b/esp32/output/max80.ino.bin
index 8071d75..48ecf00 100644
--- a/esp32/output/max80.ino.bin
+++ b/esp32/output/max80.ino.bin
Binary files differ
diff --git a/esp32/www/lang/sv b/esp32/www/lang/sv
index ed4370f..3736b13 100644
--- a/esp32/www/lang/sv
+++ b/esp32/www/lang/sv
@@ -29,10 +29,15 @@ button .hide=Göm
.onerr .console=Se serieport för mer detaljerad status
.wifi-sta legend=Wifi-klient (normal)
.wifi-ap legend=Wifi-accesspunkt (backup)
-.hw .ver b=Hårdvaruversion
+.hw .ver b, .hw legend=Hårdvaruversion
+.hw .unlock b=Tillåt programmering
+.hw button=Programmera flash
+.hw .warnrev=Var försiktig: att programmera fel version kan hindra kortet från att starta, i vilket fall det måste programmeras om via USB eller serieport.
+.hw option.other=annan...
.fw .ver b=Mjukvaruversion
.fw .date b=Commitdatum
.fw .commit b=Commit-ID
+.fw .norev=HÅRDVARUVERSION EJ PROGRAMMERAD I FLASH. DU MÅSTE PROGRAMMERA IN KORTETS HÅRDVARUVERSION INNAN DU KAN UPPDATERA MJUKVARAN. SE TILL ATT DU ÄR ABSOLUT SÄKER PÅ VILKEN KORTVERSION DU HAR.
.fpgaok b=FPGA aktiv
.net-connected b=Ansluten
.net-connected-clients b=Anslutna klienter
diff --git a/esp32/www/update.html b/esp32/www/update.html
index af95fb7..b4cfa37 100644
--- a/esp32/www/update.html
+++ b/esp32/www/update.html
@@ -8,16 +8,16 @@
<body>
<x-inc src="head.html"></x-inc>
<h1 class="update">Update</h1>
- <form id="boardid" action="sys/setboardrev" method="post"
+ <form class="hw" id="boardid" action="sys/setboardrev" method="post"
onsubmit="uploadform()" data-ref="1" data-ref-url="update.html">
<fieldset>
- <legend>Board Revision</legend>
+ <legend>Hardware Version</legend>
<label class="unlock">
<b>Unlock Programming</b>
<input type="checkbox" name="unlock" id="unlock" onchange="bropen()">
</label>
- <label class="boardid">
- <b>Board Revision</b>
+ <label class="ver">
+ <b>Hardware Version</b>
<select name="boardrevs" id="boardrevs" onchange="brn()" disabled>
<option value="MAX80 v1">v1.0.0</option>
<option value="MAX80 v2">v2.0.0</option>
diff --git a/fpga/output/max80.fw b/fpga/output/max80.fw
index f3d7982..a092dd9 100644
--- a/fpga/output/max80.fw
+++ b/fpga/output/max80.fw
Binary files differ
diff --git a/fpga/output/v1.fw b/fpga/output/v1.fw
index 35a8ed7..112ccfd 100644
--- a/fpga/output/v1.fw
+++ b/fpga/output/v1.fw
Binary files differ
diff --git a/fpga/output/v2.fw b/fpga/output/v2.fw
index 7ac0fe3..02ec3e4 100644
--- a/fpga/output/v2.fw
+++ b/fpga/output/v2.fw
Binary files differ