aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorDan Kegel <[email protected]>2024-08-13 11:39:41 -0700
committerRon Evans <[email protected]>2024-08-14 12:00:55 +0200
commita47ff02c82b14af7bb97965274edbe6d60fa6b6a (patch)
tree63ed4bb4b7e54f9fd7d815799f55825c0873ef3a /src
parente27b2c4ad67f1cc3e7914ab1a1e82de95038dcd4 (diff)
downloadtinygo-a47ff02c82b14af7bb97965274edbe6d60fa6b6a.tar.gz
tinygo-a47ff02c82b14af7bb97965274edbe6d60fa6b6a.zip
make spell: add a few missing misspellings, fix format of .csv file, also fix *.md
Diffstat (limited to 'src')
-rw-r--r--src/machine/machine_rp2040_i2c.go2
-rw-r--r--src/runtime/interrupt/interrupt_esp32c3.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/machine/machine_rp2040_i2c.go b/src/machine/machine_rp2040_i2c.go
index c808a07ca..b7dc63d2b 100644
--- a/src/machine/machine_rp2040_i2c.go
+++ b/src/machine/machine_rp2040_i2c.go
@@ -36,7 +36,7 @@ var (
// GPIO config
// Each controller must connect its clock SCL and data SDA to one pair of GPIOs.
// The I2C standard requires that drivers drivea signal low, or when not driven the signal will be pulled high.
-// This applies to SCL and SDA. The GPIO pads should beconfigured for:
+// This applies to SCL and SDA. The GPIO pads should be configured for:
// Pull-up enabled
// Slew rate limited
// Schmitt trigger enabled
diff --git a/src/runtime/interrupt/interrupt_esp32c3.go b/src/runtime/interrupt/interrupt_esp32c3.go
index b1a5bb1b3..4e3e3dccf 100644
--- a/src/runtime/interrupt/interrupt_esp32c3.go
+++ b/src/runtime/interrupt/interrupt_esp32c3.go
@@ -222,7 +222,7 @@ func handleException(mcause uintptr) {
println("*** Exception: mcause:", mcause)
switch uint32(mcause & 0x1f) {
case 1:
- println("*** virtual addess:", riscv.MTVAL.Get())
+ println("*** virtual address:", riscv.MTVAL.Get())
case 2:
println("*** opcode:", riscv.MTVAL.Get())
case 5: