mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-23 16:09:01 +00:00
wifinina: add generated strings, improved debugging system and messages
Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
@@ -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/
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user