From 1632aaee04d7e26c6515f975da1e2a858d84e760 Mon Sep 17 00:00:00 2001 From: Serge Bazanski Date: Tue, 23 Mar 2021 15:54:17 +0000 Subject: [PATCH] dc/hbj11: link to public WebI2C instance Change-Id: I0d7092314dcc9aed488e1ffdf3d51566848e3fff --- dc/hbj11/flasher/README.md | 2 +- dc/hbj11/flasher/web/README.md | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dc/hbj11/flasher/README.md b/dc/hbj11/flasher/README.md index b6a69e7e..ae9f8b51 100644 --- a/dc/hbj11/flasher/README.md +++ b/dc/hbj11/flasher/README.md @@ -15,6 +15,6 @@ An USB/I2C adapter based on an STM32 Bluepill devboard. See [bluepill](bluepill/ The Web Interface (WebI2C) --------------------------- -A WebUSB-based flashing tool that will run under any Chromium-based browser (eg. Chrome, Edge. See [web](web/) for more information and a link to a publicly available instance. +A WebUSB-based flashing tool that will run under any Chromium-based browser (eg. Chrome, Edge. See [web](web/) for more information or [start WebI2C now](web/index.html). ![](../doc/webi2c.png) diff --git a/dc/hbj11/flasher/web/README.md b/dc/hbj11/flasher/web/README.md index 73012558..e9f34be6 100644 --- a/dc/hbj11/flasher/web/README.md +++ b/dc/hbj11/flasher/web/README.md @@ -6,13 +6,13 @@ A WebUSB interface for flashing I2C EEPROMs, notably the HJB11 FRU EEPROM. Usage ----- -TODO(q3k): host public instance +[Start WebI2C](index.html). This should work on any browser with WebUSB (eg. Chrome, Chromium, Edge). Development ----------- -Plain javascript, bring a static file server, eg. Python's builtin one: +Plain javascript, bring a static file server, or use hackdoc: - $ cd hscloud/dc/hjb11/flasher/web/ - $ python3 -m http.server + bazel run //devtools/hackdoc -- -hspki_disable -docroot ~/hscloud +And visit http://127.0.0.1:8080/dc/hbj11/flasher/web/index.html in your web browser.