wifinina: add generated strings, improved debugging system and messages

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
deadprogram
2023-04-30 23:42:29 +02:00
committed by Ron Evans
parent aac959eb7b
commit bc9177726d
13 changed files with 506 additions and 209 deletions
+16
View File
@@ -103,3 +103,19 @@ Verify correct version of nina-fw installed by flasing `CheckFirmwareVersion.ino
Adafruit provides very good instructions for updating their boards that provide a ESP32 WiFi-BLE co-processor. For more information, please see:
https://learn.adafruit.com/upgrading-esp32-firmware
## Updating the driver
If you modify the WiFiNINA status or command codes, you will also need to regenerate the display strings.
```
go generate ./wifinina/status.go ./wifinina/commands.go
```
## Debugging
You can output debug information to the serial console by using the `wifidebug` tag.
```
tinygo flash -target pyportal -ldflags="-X main.ssid=something -X main.pass=somethingelse" -tags=wifidebug -monitor ./examples/wifinina/webclient/
```